Computer Knowledge
GUI and Web Frameworks
1,915 Questions
Graphical user interface and web frameworks involve layout management, directives, and application design across platforms like Android and Angular. These concepts are tested in computer science and IT officer competitive exams. Review these questions to understand UI components and coding standards.
Android layout attributesAngular structural directivesVB.Net web methodsJava Swing componentsSiebel application framework
GUI and Web Frameworks Questions
-
Conditional Block
-
Block variable
-
Conditional Explorer
-
Properties pane
C
Correct answer
Explanation
In Cognos Report Studio, conditional variables are created and managed through the Conditional Explorer, which is a dedicated interface for defining conditional logic and variables. This is not the same as conditional blocks or the properties pane, which serve different purposes.
-
Model
-
Query Item
-
Namespace
-
Query Subject
C
Correct answer
Explanation
In Framework Manager, a Namespace serves as a container that groups related objects and provides a unique naming context to prevent naming conflicts. Models, Query Items, and Query Subjects are objects that reside within namespaces. The Namespace is the organizational structure that ensures object names remain unique within their scope.
-
A report specification
-
A development model from Framework Manager.
-
The runtime version of a Framework Manager model.
-
A file that contains query subjects externalized from Framework Manager.
C
Correct answer
Explanation
Report Studio authors access the runtime version (published package) of a Framework Manager model, which contains the query subjects and metadata ready for report creation. This published package is what Report Studio connects to, not the development model directly. The runtime package contains the finalized model structure optimized for querying.
-
Script to be run when an element has been dragged
-
Script to be run at the end of a drag operation
-
Script to be run when an element is being dragged over a valid drop target
-
Script to be run when an element has been dragged to a valid drop target
D
Correct answer
Explanation
The ondragenter event fires as soon as a dragged element enters the boundaries of a valid drop target. The ondragover event, by contrast, fires continuously while the element is being dragged over the target. Other options describe the start (ondragstart) or end (ondragend) of the drag operation.
-
Single
-
All
-
PerSession
-
PerCall
B
Correct answer
Explanation
InstanceContextMode enumeration in WCF includes three values: Single (one instance for all clients), PerSession (one instance per client session), and PerCall (new instance per method call). The All option correctly encompasses all these available modes.
-
Event Tracing File(.etl)
-
All
-
Crimson Tracing File
-
WCF Tracing File(.svcLog)
B
Correct answer
Explanation
Service Trace Viewer (SvcTraceViewer.exe) supports multiple trace formats including Windows Event Tracing (.etl) files, Crimson tracing files, and WCF's own .svcLog format. This flexibility allows developers to view traces from various sources in a single tool.
-
ViewStack
-
VBox
-
HBox
-
Canvas
B
Correct answer
Explanation
In Apache Flex/ActionScript container layouts, VBox automatically arranges its child components in a vertical column. HBox arranges them horizontally, Canvas uses absolute positioning, and ViewStack manages stacked views showing one at a time.
-
ViewStack
-
TitleWindow
-
Accordion
-
Application
-
TitleWindow
-
ControlBar
-
PopUpBBar
-
ButtonBar
A
Correct answer
Explanation
The TitleWindow component in Flex is specifically designed to present dialog-style windows with a title bar and optional close button. It extends Panel and is commonly used with the PopUpManager to display modal dialogs.
-
Controller
-
View
-
Pattern
-
Model
D
Correct answer
Explanation
In the MVC (Model-View-Controller) architecture pattern, the Model component encapsulates both the data and the business logic or behaviors related to that data. The Controller handles user input and coordinates between Model and View, while the View is responsible for displaying the data. Patterns are general design solutions, not specific components.
-
Sortable Columns
-
Rearrange columns at runtime
-
Represent hierarchical data
-
Customize a cell in datagrid
C
Correct answer
Explanation
The mx:DataGrid component in Flex is designed for flat, tabular data display. While it supports sortable columns, runtime column rearrangement, and custom cell renderers, it cannot represent hierarchical or tree-structured data. For hierarchical data, you would use mx:AdvancedDataGrid or mx:Tree instead.
-
DropIn ItemRenderer
-
Inline ItemRenderer
-
Custom Component ItemRender
-
No way to do that in Flex.
C
Correct answer
Explanation
When you need to reuse an ItemRenderer across multiple columns in a DataGrid, creating a Custom Component ItemRenderer is the best practice. This approach creates a reusable component that can be referenced by multiple columns. Drop-in and Inline ItemRenderers are typically single-use solutions embedded within the MXML tag of a specific column.
-
Access via parent
-
Have a variable outside of the datagrid to hod the data
-
Using implicit object called “data”
-
Using implicit object called “object”
C
Correct answer
Explanation
Inside an ItemRenderer, you can access the data object corresponding to the current DataGrid row through an implicit property called 'data'. This property is automatically set by the DataGrid and contains the data provider item for that specific row. Accessing via parent or using external variables is not the standard approach.
-
preinitialize of the Container
-
initialize of the container
-
creationComplete of the child Components of the container
-
creationComplete of the Container
-
Document View
-
Search
-
Process list
-
Initiate Process
C
Correct answer
Explanation
Forms Builder in Taskspace can configure Document Views (customizing how documents display), Search components (defining search layouts and filters), and Initiate Process interfaces (designing process launch forms). However, Process List displays are typically configured through Taskspace's task management configuration, not Forms Builder. The Process List shows running tasks and their status, which is a runtime UI component separate from form design.