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 enterprise content management
  1. model

  2. query item

  3. namespace

  4. query subject

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

To solve this question, the user needs to have knowledge of the Framework Manager environment in IBM Cognos Analytics. In this environment, different objects are used to organize and manage data and metadata.

The object that acts as a container and provides a unique name for objects in the Framework Manager environment is the Namespace.

A Namespace is a container that groups related objects, such as Query Subjects, Query Items, Filters, and Calculations. It provides a unique name for each object within its scope, ensuring that there are no naming conflicts between objects.

Option A, Model, is incorrect because it is a higher-level object that contains multiple namespaces and is used to organize and manage data sources and metadata in Framework Manager.

Option B, Query Item, is incorrect because it is a specific data item that is used in a query or report. It does not act as a container or provide a unique name for objects.

Option D, Query Subject, is incorrect because it is an object that defines a set of related data items that can be used in a query or report. It does not act as a container or provide a unique name for objects.

Therefore, the correct answer is:

The Answer is: C. Namespace

Multiple choice technology web technology
  1. 1.0 to 2.0

  2. 1.1 to 3.0

  3. 1.1 to 3.5

  4. 1.0 to 2.5

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

This is a factual question about a specific migration project at MIS. The correct answer (Option C) indicates the application was migrated from .NET Framework 1.1 to 3.5. This represents a significant version jump across multiple framework releases. The question tests knowledge of this particular project's technical specifications rather than general migration principles.

Multiple choice technology web technology
  1. 3.5

  2. 3.0

  3. 4.0

  4. 2.5

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

WPF (Windows Presentation Foundation) and WCF (Windows Communication Foundation) were both introduced in .NET Framework 3.0. Version 3.5 added features like LINQ and Entity Framework. Version 4.0 was a major release with CLR changes. Version 2.5 was the framework for Windows Vista/Server 2008 and didn't include WPF/WCF.

Multiple choice technology
  1. 3.0

  2. 3.5

  3. 4.0

  4. 3.1

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

Visual Studio 2008 was designed to target .NET Framework 3.5, which introduced LINQ, Entity Framework, and other features. VS 2005 used .NET 2.0/3.0, while VS 2010 introduced .NET 4.0. The 3.1 option doesn't exist as a released framework version.

Multiple choice technology
  1. Mekko Chart

  2. Container Object

  3. Whiskers

  4. Menu Caption Icon

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

QlikView 9 introduced statistical chart enhancements including box plots with whiskers - the lines extending from the box showing data spread beyond the quartiles. Whiskers represent the range of data excluding outliers. Container objects and Mekko charts came in different versions.

Multiple choice technology testing
  1. GetROProperty & SetROProperty

  2. GetTOProperty & SetTOProperty

  3. GetTOProperty & SetROProperty

  4. GetROProperty & SetTOProperty

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

GetTOProperty retrieves property values from the Test Object definition in the Object Repository, while SetTOProperty can modify these property values temporarily during runtime. This differs from RO (Runtime Object) properties which are read-only values from the actual application. The TO properties control how QTP identifies and interacts with objects.

Multiple choice technology platforms and products
  1. Rules Inspector

  2. Clipboard

  3. DB Trace

  4. Tracer

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

Rules Inspector is the Pega tool used to inspect HTML elements and view their embedded properties within the user interface. It provides detailed visibility into the structure and properties of UI controls for debugging and analysis. The Clipboard is for data storage, DB Trace is for database interaction tracing, and Tracer is for request debugging.

Multiple choice technology web technology
    1. Site column is a custom column which can be shared across all the sites under the site collection
    1. Site column is a custom column created under a list which can be shared a cross all the sites under the site collection
    1. Site column is a custom column created under a document library which can be shared a cross all the sites under the site collection
    1. Site column is a custom column which is created under a web application which can be shared across all the site collections
Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

A Site Column in SharePoint is a reusable column definition created at the site level, which can be shared across all child sites, lists, and document libraries within that site collection. It is not created under a specific list, library, or web application to be shared.

Multiple choice technology web technology
  1. Navigation rules

  2. Custom components

  3. Managed beans

  4. Application name

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

The JSF configuration file (faces-config.xml) is used to configure application-level JSF artifacts and behaviors. It allows you to define navigation rules (A) for page flow, custom components (B) for reusable UI elements, and managed beans (C) for backing your components with Java logic. However, the application name is a deployment/descriptor configuration (typically in web.xml or application server settings), not a JSF configuration concern.

Multiple choice technology web technology
  1. HtmlPanelGroup

  2. HtmlTable

  3. UITable

  4. HtmlPanelGrid

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

JSF's HtmlPanelGrid component renders as an HTML table element and is commonly used to create table-like layouts for forms and data display. Unlike HtmlTable (B) and UITable (C) which are not standard JSF components, HtmlPanelGrid (D) is a core JSF component that provides tabular layout functionality. HtmlPanelGroup (A) is used for grouping components without adding layout structure.

Multiple choice technology web technology
  1. Use the HtmlOutputLabel component

  2. Use the HtmlOutputLabel component with a child HtmlOutputText component

  3. Use the HtmlOutputText component

  4. Use the OutputLabel component

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

JSF requires wrapping label text inside a component when using standard output labels. The correct approach is using the HtmlOutputLabel component (h:outputLabel) and placing an HtmlOutputText (h:outputText) component inside it as a child to render the text. Simply using HtmlOutputText alone does not bind it as an HTML label element.

Multiple choice technology web technology
  1. Command events

  2. Submit events

  3. Action events

  4. Click events

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

In JSF, standard command components such as HtmlCommandButton (h:commandButton) generate action events (ActionEvent) when clicked, which are handled by action listeners. They do not generate generic click, submit, or command events in the JSF lifecycle framework.

Multiple choice technology web technology
  1. Write a new renderer

  2. hrough faces-config.xml

  3. With HTML pass-through attributes

  4. No specific integration is necessary

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

JSF supports integration with custom JavaScript through HTML pass-through attributes, which allow you to add standard HTML attributes (like onclick, onchange) directly to JSF components. These attributes are passed through to the rendered HTML, enabling JavaScript event handlers and custom behavior. You don't need to write a custom renderer (A), configure it in faces-config.xml (B), or assume no integration is needed (D) - pass-through attributes provide built-in support.

Multiple choice technology web technology
  1. With the JSF configuration file

  2. With the styleClass property

  3. With the cssClass property

  4. With the class property

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

JSF components use the styleClass attribute to specify CSS classes, which compiles down to the standard HTML class attribute. The cssClass and standard class attributes are not directly used on standard JSF component tags, and CSS integration is not configured via JSF configuration files.

Multiple choice technology web technology
  1. Create a resource bundle with specific keys and specify its name in faces-config.xml

  2. Create a resource bundle with specific keys

  3. Create a properties file with custom keys and specify its name in web.xml

  4. Specify the custom messages in faces-config.xml

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

JSF allows customization of validation messages through resource bundles (property files) containing message keys for specific validators. To use custom messages, you create a resource bundle with the required keys (like javax.faces.validator.LengthValidator.MINIMUM, etc.) and register the bundle in faces-config.xml using the configuration. Simply creating the bundle (B) or configuring in web.xml (C) are insufficient steps - registration in faces-config is required.