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 web technology
  1. True

  2. False

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

This is a valid JSF navigation rule declaration. It correctly defines a from-view-id of /main.jsp, contains two properly structured navigation-case elements with from-action, from-outcome, and to-view-id, and follows the required XML nesting structure for faces-config.xml.

Multiple choice technology web technology
  1. short

  2. medium

  3. long

  4. full

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

The convertDateTime converter's dateStyle property accepts four predefined values: short, medium, long, and full. These correspond to java.text.DateFormat style constants and determine the verbosity of the date display format. All four options shown are valid.

Multiple choice technology web technology
  1. globalOnly

  2. id

  3. forceId

  4. rendered

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

The globalOnly property on h:messages filters messages to display only global messages (those not associated with a specific component via for attribute). When set to true, component-specific messages are hidden and only application-wide messages appear.

Multiple choice technology platforms and products
  1. True

  2. False

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

Anchors in Oracle Forms control positioning relative to a parent object in both vertical AND horizontal directions. The statement incorrectly claims anchors only determine vertical positioning, when in fact anchors can be set for horizontal positioning as well.

Multiple choice technology platforms and products
  1. True

  2. False

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

A form in Oracle Forms does not require a main canvas. Forms can exist without canvases, or use only stacked canvases, tab canvases, or canvases of different types. While most forms have a content canvas for layout, it is not a technical requirement that a form must have at least one main canvas.

Multiple choice technology platforms and products
  1. Confine mode allows locking of frames.

  2. If Flex mode is on then you cannot move the objects outside the frame.

  3. IF Confine mode is on then you can move the objects outside the frame.

  4. None of the above.

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

In Oracle Forms Layout Editor, Confine mode restricts object movement so they stay within their frame boundaries. When Confine is ON, you cannot move objects outside the frame - this is the 'confining' or 'locking' behavior. Flex mode is different - it controls whether objects snap to grid.

Multiple choice technology
  1. the procedure code algorithms

  2. the custom transformation API functions used in the procedure code

  3. Custom transformations are always active

  4. A property the user can set

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

Custom transformations can be either active or passive based on a user-configurable property. Active transformations change the number of rows passing through them, while passive transformations do not. The transformation type is not determined by algorithms, API functions, nor are they always active.

Multiple choice technology web technology
  1. True

  2. False

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

Action classes in Struts 2 do NOT have to extend ActionSupport. They only need to implement the Action interface (which has one method: execute()). ActionSupport is a convenient base class that provides default implementations and utility methods, but it's optional. You can even use plain POJOs as actions.

Multiple choice technology web technology
  1. True

  2. False

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

Declarative validation in Struts 2 works through XML validation files that are named based on the Action class, not whether the class extends ActionSupport. Any class can have declarative validation as long as the validation XML follows the naming convention (ClassName-validation.xml). The ActionSupport extension is not required.

Multiple choice technology web technology
  1. UIInput or component that extends UIInput

  2. UIOutput or component that extends UIOutput

  3. UICommand or component that extends UICommand

  4. UIOutputLink or component that extends UIOutputLink

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

In JSF, only components that extend UIInput can have their submitted values validated during the Process Validations phase. UIOutput components are for display only and don't receive user input, UICommand is for action events like button clicks, and UIOutputLink renders navigation links without accepting user input.