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
-
ShowSuccess.php
-
showsuccess.php
-
showSuccess.php
-
None
C
Correct answer
Explanation
Symfony 1.x uses camelCase for action templates. The executeShow action maps to showSuccess.php (lowercase first letter, then camelCase).
-
$request
-
$sf_params
-
$response
-
$sf_context
B
Correct answer
Explanation
In Symfony 1.x, $sf_params is a core template variable automatically available without explicit definition. $request, $response, and $sf_context require action setup.
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.
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.
B
Correct answer
Explanation
The updateActionListener is designed for command components like h:commandButton and h:commandLink. SelectBooleanCheckbox is an input component for boolean selection, not an action trigger - it doesn't support action listeners. Use valueChangeListeners or converters instead.
-
globalOnly
-
id
-
forceId
-
rendered
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.
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.
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.
B
Correct answer
Explanation
Menu attachment in Oracle Forms is done at the FORM level using the Menu Module property, not at the block level. Blocks cannot have their own menu attachments. The statement incorrectly claims the menu can be attached at block level.
-
Confine mode allows locking of frames.
-
If Flex mode is on then you cannot move the objects outside the frame.
-
IF Confine mode is on then you can move the objects outside the frame.
-
None of the above.
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.
-
Business object
-
View
-
Screen
-
Business component
B
Correct answer
Explanation
A View in Siebel CRM is the container that displays a set of related applets together. Screens contain multiple views, Business Objects define relationships, and Business Components handle data.
-
the procedure code algorithms
-
the custom transformation API functions used in the procedure code
-
Custom transformations are always active
-
A property the user can set
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.
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.
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.
-
UIInput or component that extends UIInput
-
UIOutput or component that extends UIOutput
-
UICommand or component that extends UICommand
-
UIOutputLink or component that extends UIOutputLink
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.