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. True

  2. False

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

Regular DLLs in Windows can be used by any application, regardless of whether they use MFC or are written in Visual C++. This is because regular DLLs export standard C-style functions that adhere to the Windows calling convention, making them language-agnostic and framework-independent.

Multiple choice technology programming languages
  1. Standard window toolkit

  2. Standard widget toolkit

  3. Standard window tool

  4. Standard widget tool

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

SWT stands for Standard Widget Toolkit, which is a graphical user interface toolkit for Java. It was developed by IBM as an alternative to Swing, using native operating system widgets for better performance and native look-and-feel.

Multiple choice technology programming languages
  1. Panel and Applet

  2. Panel and Frame

  3. Frame and Applet

  4. Panel and Jframe

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

Panel and Applet containers use FlowLayout as their default layout manager in AWT. FlowLayout arranges components in a left-to-right flow, similar to text in a paragraph. Frame and Window use BorderLayout by default, while JFrame uses BorderLayout by default in Swing.

Multiple choice technology programming languages
  1. SetLayout

  2. SetBoundries

  3. SetBorder

  4. SetLayouts

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

The setLayout() method is used to specify or change a container's layout manager in Java AWT/Swing. This method takes a LayoutManager object as a parameter and determines how components are arranged within the container. Options B, C, and D are not valid methods in the Java API.

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
  1. Frameset Properties

  2. Database properties

  3. Document Properties

  4. Navigator Properties

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

In Lotus Notes, the database launch option (including opening in a frameset) is specified in Database Properties under the 'Launch' tab. Frameset Properties controls display within the frameset, not what opens when the database launches. Document and Navigator Properties are unrelated.

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.