Computer Knowledge

GUI and Web Frameworks

1,711 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
  1. Size

  2. Height & Width

  3. Size & Overflow

  4. Pixel

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

In Cognos Report Studio, the Size property determines the dimensions of an object, while Overflow controls how content behaves when it exceeds the specified size. Together, these properties allow precise control over object layout and content display.

Multiple choice technology web 2.0
  1. Script to be run when an element has been dragged

  2. Script to be run at the end of a drag operation

  3. Script to be run when an element is being dragged over a valid drop target

  4. Script to be run when an element has been dragged to a valid drop target

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology web technology
  1. Controller

  2. View

  3. Pattern

  4. Model

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology web technology
  1. Sortable Columns

  2. Rearrange columns at runtime

  3. Represent hierarchical data

  4. Customize a cell in datagrid

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology web technology
  1. DropIn ItemRenderer

  2. Inline ItemRenderer

  3. Custom Component ItemRender

  4. No way to do that in Flex.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology web technology
  1. Access via parent

  2. Have a variable outside of the datagrid to hod the data

  3. Using implicit object called “data”

  4. Using implicit object called “object”

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology web technology
  1. preinitialize of the Container

  2. initialize of the container

  3. creationComplete of the child Components of the container

  4. creationComplete of the Container

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

The creationComplete event of the container is the correct place to trigger logic that repositions children because it fires after all children have been created and laid out. Using preinitialize or initialize would be too early; the children may not exist yet. Using creationComplete on individual children would require attaching logic to each child separately rather than handling it centrally at the container level.

Multiple choice technology enterprise content management
  1. A browser-based client

  2. Primarily used for task processing

  3. Has a hierarchal folder-based user interface

  4. Is a part of the EMC Documentum Transactional Content Management offering

Reveal answer Fill a bubble to check yourself
A,B,D Correct answer
Explanation

TaskSpace is a browser-based client within the EMC Documentum Transactional Content Management suite designed primarily for task and process handling. Unlike folder-centric interfaces like Webtop, TaskSpace focuses on structured process execution, rendering folder-based hierarchy options incorrect as its primary interface description.

Multiple choice technology programming languages
  1. dispatch function

  2. event handler

  3. control structure

  4. exception handler

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

An event handler is a subroutine or function that executes in response to a specific event, such as a user clicking a GUI button or typing text. Dispatch functions route messages, control structures guide execution flow, and exception handlers catch runtime errors rather than GUI interactions.