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. <init-property name="service" value="selectRecord"/>

  2. <set-property property="service" value="selectRecord"/>

  3. <put-field key="service" content="selectRecord"/>

  4. none

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

In Struts configuration, the tag is used to set bean properties on ActionMapping and other configured objects. The tag requires 'property' and 'value' attributes. is not a valid Struts tag, and serves a different purpose in Struts configuration.

Multiple choice technology web technology
  1. Gives an excpetion

  2. Blank Page comes up

  3. If no navigation rule matches a given action, then the current page is redisplayed

  4. Error code 404 appears

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

In JSF navigation, when no navigation rule matches the outcome from an action, the framework's default behavior is to redisplay the current page. This is a graceful fallback that prevents the application from throwing exceptions or showing error pages.

Multiple choice technology web technology
  1. Gives an excpetion

  2. Blank Page comes up

  3. If no navigation rule matches a given action, then the current page is redisplayed

  4. Error code 404 appears

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

JSF navigation rules are optional - if no rule matches an action outcome, the framework simply redisplays the current page. This is deliberate default behavior, not an error condition. Options A (exception) and D (404 error) are incorrect because JSF handles this gracefully. Option B (blank page) is also incorrect.

Multiple choice technology web technology
  1. They are all source code version-control systems for various platforms

  2. They are all popular frameworks for building graphical user interfaces

  3. They are all design patterns for object-oriented software development

  4. They all begin with the letter "f"

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

Bridge, Facade, Factory, and Flyweight are all classic design patterns from the Gang of Four book, used to solve common object-oriented design problems. They are not version control systems, GUI frameworks, or just words starting with 'f'.

Multiple choice technology testing
  1. Directory Structure

  2. Function Library

  3. Object Repository or App Map

  4. Application Scenario Files

  5. Driver Script

  6. Sequence File

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

A complete Test Automation Framework includes all these structural components: directory organization (A) for maintainability, function libraries (B) for reusable code, object repository/app map (C) for element abstraction, scenario files (D) for test cases, driver scripts (E) for execution flow, and sequence files (F) for test ordering. Each component addresses a specific framework need.

Multiple choice technology platforms and products
  1. Builder

  2. Java Build Path

  3. Java Doc Location

  4. None of these

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

In Eclipse, the Java Build Path section in project properties is where you configure libraries and JAR files for the project's classpath. The Builder option configures build order, and Java Doc Location is for API documentation paths.

Multiple choice technology platforms and products
  1. A directory to store Eclipse specific initializations

  2. A directory which contains all the projects the user is currently working on.

  3. A file containing Eclipse initialization settings.

  4. None of these

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

An Eclipse workspace is a directory that stores all projects, metadata, and Eclipse-specific initialization settings. While it does contain projects (option B), the workspace itself is the directory that stores these, not just a container for them. Option C is incorrect because workspaces are directories, not single files.