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

Multiple choice technology programming languages
  1. HandleEvent

  2. EventHandler

  3. Pick

  4. Park

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The Pick activity in WF 4.0 is specifically designed for event-driven scenarios. Each branch in a Pick contains a Trigger activity (like ReceiveEvent) that waits for a specific event, and an Action activity that executes when that event occurs. This makes Pick the primary event-handling construct in WF 4.0.

Multiple choice technology platforms and products
  1. Class Structure, Properties, User Interface, Activities

  2. Class Structure, Properties, Activities,User Interface

  3. Properties, Class Structure, User Interface, Activities

  4. Class Structure, Activities,Properties, User Interface

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

SmartBuild in Pega follows a logical sequence: first establish the Class Structure (data model foundation), then define Properties (attributes), then create the User Interface (forms/screens), and finally implement Activities (business logic and processing). This sequence ensures data structure exists before UI is built, and UI exists before process flows are defined.

Multiple choice technology
  1. execute the business method

  2. format the working document

  3. display the user screen

  4. all the above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The service event in Genesys is primarily used to execute the business method or logic associated with a service. It triggers the actual processing or computation that the service provides. The other options (formatting documents, displaying screens) are handled by different components in the framework.

Multiple choice technology
  1. provides input to the service

  2. format the working document

  3. display the user screen

  4. lookup for the service name

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The In parameter in a service event provides input data to the service. This parameter allows data to flow into the service method for processing. It is not used for formatting documents, displaying screens, or looking up service names - those are separate concerns handled by other components.

Multiple choice technology
  1. provides input to the service

  2. format the working document

  3. display the user screen

  4. lookup for the service name

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In client events, the In parameter is used to display the user screen - it specifies which screen or UI elements to present to the user. Option A refers to service events. Option B is not the primary purpose of In parameters. Option D refers to service lookup operations.

Multiple choice technology web technology
  1. Dispatched when a component has been created in a rough state, and no children have been created.

  2. Dispatched when the component has been laid out and the component is visible (if appropriate).

  3. Dispatched when a component and all its children have been created, but before the component size has been determined

  4. Dispatched when a component has been updated

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In the Flex component lifecycle, the initialize event is dispatched after the component and all its children have been created but before the component's size has been determined. Option C accurately describes this stage - creation is complete, but layout calculation has not occurred yet. The preinitialize event fires earlier, and creationComplete fires after layout.

Multiple choice technology web technology
  1. DataGrid

  2. AdvancedDataGrid

  3. SummaryRow

  4. GroupedTable

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

AdvancedDataGrid extends DataGrid to provide built-in support for grouped and hierarchical data display. While regular DataGrid shows flat data, AdvancedDataGrid can group data by fields and display it in an expandable tree format within the tabular structure. SummaryRow is used within AdvancedDataGrid but is not a standalone grouping control.

Multiple choice technology web technology
  1. scaleContent

  2. states

  3. httpStatus

  4. imageLoaded

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The httpStatus event is dispatched when the mx:Image control encounters an HTTP error while loading an image, such as a 404 Not Found or 403 Forbidden response. By monitoring this event and checking its status code, you can determine whether the image failed to load correctly. The other options (scaleContent, states, imageLoaded) are not standard mx:Image events for detecting load status - scaleContent is a property, states refers to view states, and imageLoaded is not a built-in event name.

Multiple choice technology web technology
  1. defer the creation of any component, container, or child of a container

  2. delete the creation of any component, container, or child of a container

  3. create parent container

  4. Attach child container to Parent container

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The creationPolicy property in Flex controls when components are instantiated - setting it to 'deferred' or 'none' delays the creation of components, containers, or their children until they are actually needed. This improves startup performance and reduces initial memory usage. Option B incorrectly suggests 'delete' instead of 'defer', while options C and D describe unrelated container attachment operations.

Multiple choice technology web technology
  1. To change height and width of a object

  2. To make relative changes to the size of a display object

  3. To change height more than width

  4. To change width more than height

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

scaleX and scaleY properties are best used for making relative proportional changes to a display object's size (like scaling to 50% or 200%), rather than for setting absolute dimensions. When you need to change specific height or width values, use the height and width properties directly. Options A, C, and D incorrectly suggest using scale properties for absolute dimension changes.