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
-
The Library Panel
-
The Edit Panel
-
The Property Panel
-
The Variable Panel
C
Correct answer
Explanation
The Property Panel in Dialogue Design Manager is specifically designed for viewing and modifying properties of any created object. When you select an object, its configurable attributes appear in the Property Panel where you can edit them. Other panels serve different purposes - the Library Panel is for reusable components and the Edit Panel is for structural changes.
-
Select Page ->Drag to property panel ->Deselect the option Simplex
-
Select Page ->Drag to edit panel ->Select the option Duplex
-
Select Page ->Drag to property panel ->Select the option Duplex
-
Select Page ->Drag to property panel ->Select the paper type as A4
C
Correct answer
Explanation
To create a duplex page in Dialogue, you select the page object and drag it to the Property Panel, then select the Duplex option. The Property Panel is where you configure page properties including simplex/duplex settings. The other options incorrectly reference the Edit Panel or irrelevant settings like paper type.
-
a. BAIXXX_Client
-
b. BAIXXX_Interfaces
-
c.BAIXXX_mplementation
-
d. BSIXXX_Client
-
e. BSIXXX_Interfaces
-
f. BSIXXX_Implementation
A,B
Correct answer
Explanation
To resolve compile-time errors in the BAIXXX_WEB project, you need to add BAIXXX_Client and BAIXXX_Interfaces as dependencies. The Client component provides necessary client-side functionality, while Interfaces defines the contracts and APIs. The Implementation component is not typically required at compile-time for the web layer. BSIXXX components are unrelated and would introduce incorrect dependencies.
-
Content View
-
Stacked View
-
Both
-
None
C
Correct answer
Explanation
Oracle Forms supports multiple canvas views, including Content canvases and Stacked canvases. Both types allow developers to design different parts of the user interface, with Content view acting as the base layer and Stacked view displayed on top of it. Thus, both options are valid canvas-views.
-
acts as an interface between view and model
-
does not interact with view
-
does not interact with controller
-
nothing but view
A
Correct answer
Explanation
In the Model-View-Controller (MVC) architectural pattern, the Controller acts as an interface that mediates between the View (presentation layer) and the Model (data/business logic). It processes user input, coordinates interactions between the View and Model, and manages the application's response flow.
-
Model
-
View
-
Controller
-
ALL of the above
-
None of the above
D
Correct answer
Explanation
Struts framework is based on MVC2 architecture (Model 2), where a single controller servlet handles requests and dispatches to views. MVC2 improves on MVC1 by separating controller logic from views.
-
acts as an interface between view and model
-
does not interact with view
-
does not interact with controller
-
nothing but view
A
Correct answer
Explanation
In MVC architecture, the controller acts as the intermediary between the view (presentation layer) and model (business logic/data). It processes user input, interacts with the model, and selects the appropriate view for rendering. The controller is the glue that coordinates view and model interactions.
-
Model
-
View
-
Controller
-
ALL of the above
-
None of the above
D
Correct answer
Explanation
Struts 1.3 follows the MVC (Model-View-Controller) architecture pattern. The Model represents business logic and data, the View handles presentation (JSP pages), and the Controller manages application flow (ActionServlet). All three components are essential parts of the Struts framework.
-
DAO Class
-
HTML
-
VO Class
-
JSP
-
Action Class
B,D
Correct answer
Explanation
In Struts MVC architecture, the View layer consists of presentation components. HTML provides the structure and JSP (JavaServer Pages) enables dynamic content generation. DAO and VO classes belong to the Model layer (data access and transfer objects), while Action classes are part of the Controller layer.
-
Testing toolbar
-
None of the above
-
Action toolbar
-
Test Pane
C
Correct answer
Explanation
In HP/Micro Focus UFT, the Action toolbar provides options to view the details of a single action or navigate through the entire test flow. Other panels like the Test Pane show the hierarchy, but the Action toolbar specifically controls these view actions.
-
exist
-
wait
-
waitproperty
-
sync
D
Correct answer
Explanation
The Sync method in QTP waits for the browser to complete the current navigation before proceeding with test execution. Wait is a generic delay, WaitProperty waits for a specific property value, and Exist checks if an object is present - none specifically handle browser navigation.
-
Database Abstraction
-
Layout
-
Action
-
None of above.
A
Correct answer
Explanation
In Symfony's MVC architecture, the Model layer handles data access and business logic. Database Abstraction (via Propel or Doctrine ORM) is part of the Model layer. Layout belongs to View, Action belongs to Controller, and 'None of above' is incorrect.
-
public should not be there in codes
-
Error in action.
-
Displays showSuccess.php
-
None of above
B
Correct answer
Explanation
In Symfony 1.x, action methods must return a value (typically a view name or response). An empty executeshow method with no return statement will cause an error because Symfony expects the action to return something. Option C is wrong because there's no return to render the template.