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 programming languages
  1. acts as an interface between view and model

  2. does not interact with view

  3. does not interact with controller

  4. nothing but view

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

Multiple choice technology web technology
  1. Model

  2. View

  3. Controller

  4. ALL of the above

  5. None of the above

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

Multiple choice technology web technology
  1. DAO Class

  2. HTML

  3. VO Class

  4. JSP

  5. Action Class

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

Multiple choice technology testing
  1. Testing toolbar

  2. None of the above

  3. Action toolbar

  4. Test Pane

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

Multiple choice technology web technology
  1. public should not be there in codes

  2. Error in action.

  3. Displays showSuccess.php

  4. None of above

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

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.