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 platforms and products
  1. CustomPlugin

  2. ValidatorPlugIn

  3. FormValidationPlugin

  4. DefaultValidationPlugin

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

The ValidatorPlugIn is the Struts plugin that integrates the Apache Commons Validator framework into a Struts application. It must be configured in struts-config.xml to enable declarative form validation rules, which the framework then processes automatically when forms are submitted.

Multiple choice technology platforms and products
  1. StoreErrorDataBean

  2. ResourceBundle

  3. TypedProperty exception data

  4. error view name

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

StoreErrorDataBean is the recommended IBM WebSphere Commerce mechanism for passing error information from controller commands to views. It provides a structured way to access error messages and associated properties in JSP pages, following the framework's MVC pattern better than direct ResourceBundle or exception access.

Multiple choice technology web technology
  1. True

  2. False

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

Setting EnableViewState="false" at the page level disables ViewState for all controls on that page, meaning TextBox values will not be retained between postbacks. Without ViewState, controls revert to their default values on each postback unless values are manually restored.

Multiple choice technology security
  1. A building block is a package of functionality defined to meet the business needs

  2. A building block has published interfaces to access the functionality

  3. A building block may be assembled from other building block

  4. A building block may have multiple implementations

  5. All of the above

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

Building blocks are modular packages of functionality that serve business needs, have defined published interfaces, can be composed from other blocks, and may have multiple implementations. All these characteristics are fundamental to the building block concept in enterprise architecture.

Multiple choice technology databases
  1. Cursor

  2. Trigger

  3. Sequence

  4. View

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

PL/SQL packages can group related program units including procedures, functions, cursors, and variables. Option A (Cursor) is correct - cursors CAN be declared in a package specification. Triggers (B), Sequences (C), and Views (D) are standalone schema objects that CANNOT be part of packages.

Multiple choice technology
  1. Only One

  2. Only Two

  3. As many we needed

  4. Zero

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

Struts applications can have multiple configuration files to organize different modules or functional areas. The framework allows developers to create as many struts-config.xml files as needed for better modularity and maintainability. You are not limited to a single configuration file.

Multiple choice technology architecture
  1. An abstraction in which common code providing generic functionality can be selectively overridden or specialized by user code, thus providing specific functionality

  2. A special case of software libraries in that they are reusable abstractions of code wrapped in a well-defined Application Programming Interface

  3. A collection of resources to generate the code to achieve a generic functionality

  4. A template to show how things should be done consistently

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

Options A, B, and D describe valid framework characteristics: abstractions with selective override, wrapped in APIs, and template-like consistency. Option C is incorrect - frameworks are code themselves, not resource collections that generate code. Frameworks provide executable code, not code generators.

Multiple choice technology architecture
  1. Whether framewoks has been deveoped using the coding standard that your organization follows

  2. What level of modularity will the framework provide and support?

  3. What development rules will the framework enforce?

  4. What will the learning curve be for application developers to learn the framework?

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

When choosing a framework, factors like modularity (B), development rules enforced (C), and learning curve (D) are critical considerations. However, whether the framework was built using your organization's specific coding standards (A) is largely irrelevant - frameworks are built by vendors/communities with their own standards. You adapt to the framework's conventions, not the other way around.

Multiple choice technology testing
  1. Launch Pad Toolbox

  2. Global alerts Toolbox

  3. Customer Profile Toolbox

  4. My folders Toolbox

  5. Open Windows Toolbox

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

The Link/Delink button is located in the Customer Profile Toolbox within the CIM application. This placement is logical because the function deals with changing customer account responsibility and ownership, which are core customer profile management activities. CSRs access it when modifying account ownership structures.

Multiple choice technology programming languages
  1. javax.faces.renderer.Renderer

  2. javax.faces.render.Renderer

  3. javax.faces.render.Render

  4. javax.faces.renderer.Render

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

To implement a custom UI component in JSF, the renderer class must extend javax.faces.render.Renderer. This base class provides the framework for encoding and decoding component markup. Note the package structure is javax.faces.render, not javax.faces.renderer, making option B correct and A incorrect.

Multiple choice technology programming languages
  1. javax.faces.renderer.Renderer

  2. javax.faces.render.Renderer

  3. javax.faces.render.Render

  4. javax.faces.renderer.Render

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

To implement a custom UI component in JSF, the renderer class must extend javax.faces.render.Renderer. This base class provides the framework for encoding and decoding component markup. The correct package is javax.faces.render.Renderer, not javax.faces.renderer.Renderer.

Multiple choice technology programming languages
  1. 1.0

  2. 1.1

  3. 1.2

  4. 1.3

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

This question appears to reference JSF 1.2 as the latest version in the context when this question was written. However, in current knowledge, JSF has evolved to 2.x and later versions. The question is time-bound.