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 programming languages
  1. web.xml

  2. *.tld

  3. faces-config.xml

  4. applicationcontext.xml

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

To register a custom JSF tag component class, you must make an entry in faces-config.xml. This is the JSF configuration file where components, validators, converters, and other JSF artifacts are declared. The web.xml file is for general web app configuration, while .tld files are for JSP tag libraries.

Multiple choice technology architecture
  1. The MVC pattern introduces extra classes due to the separation of the model,view and the controller components

  2. The view component accesses the enterprise data through the model component

  3. The model-view separation principle states that the application logic should not be put in the UI object method

  4. The Model-View separation principle helps minimize the impact of requirement change in the interface on the controller layer

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

This question tests understanding of MVC relationships. Options A, B, and C all describe genuine MVC concepts: A acknowledges the pattern introduces more classes due to separation, B correctly states views access data through models, and C accurately states application logic should not reside in UI methods. Option D claims Model-View separation minimizes interface changes' impact on the controller layer, which is misleading. Model-View separation primarily isolates business logic from presentation. The controller layer sits between them and handles input, but the principle specifically addresses decoupling Model from View, not interface-to-controller relationships.

Multiple choice technology programming languages
  1. Flow Layout

  2. GridLayout

  3. Card Layout

  4. BorderLayout

  5. GridBagLayout

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

In Java's AWT and Swing, the default layout manager for Frame and JFrame is BorderLayout. Other options like FlowLayout (default for Panel/Applet), GridLayout, and CardLayout must be explicitly set using the setLayout method.

Multiple choice technology programming languages
  1. A True and B False

  2. A False and B True

  3. A False and B False

  4. A True and B True

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

TStaticText descends from TWinControl and has its own window handle, which allows it to have more control over its appearance and behavior. TLabel descends from TGraphicControl, NOT TWinControl, and does NOT have its own window handle - it's drawn directly on its parent's surface for better performance. The statement claims B says 'TLabel descends from TWinControl but does not have window handle' which is FALSE because TLabel doesn't descend from TWinControl at all. Therefore 'A True and B False' is correct.

Multiple choice technology programming languages
  1. RequiredFieldValidator

  2. CustomValidator

  3. RangeValidator

  4. ValidationSummary

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

ValidationSummary does not validate a specific input control itself, but instead displays a summary of errors from all page validators; hence, it lacks the ControlToValidate property. Other options validate individual inputs and require it.

Multiple choice technology platforms and products
  1. NewDefaults

  2. Model.

  3. FlowRule

  4. Harness

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

In Pega PRPC, the NewDefaults rule type is where you specify the default harness for new work objects of a class. The harness defines the user interface structure and layout for work object forms. This setting determines which UI template is used when creating new instances.

Multiple choice technology databases
  1. bookmark.nsf

  2. notes.ini

  3. desktop8.ndk

  4. cache.ndk

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

The desktop8.ndk file stores workspace settings including icons, bookmarks, and other desktop customization in Lotus Notes. The bookmark.nsf file is a different database for storing bookmarks, while notes.ini contains configuration parameters. Cache.ndk holds temporary cached data, not workspace elements.

Multiple choice technology databases
  1. welcome Page

  2. bookmark pane

  3. workspace

  4. none of the above

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

desktop8.ndk is the Lotus Notes file responsible for storing the workspace dashboard structure, icons, and configuration. The welcome page and bookmark pane are stored in bookmark.nsf rather than desktop8.ndk.

Multiple choice technology web technology
  1. 3 -> 2 -> 1

  2. 3 -> 1 -> 2

  3. 1 - 2 - > 3

  4. None of Above

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

In ASP.NET, configuration hierarchy applies settings from most specific to most general: root Web.config (3) → application-specific Web.config (1) → Machine.config (2). The root Web.config overrides application Web.config, which overrides Machine.config. This allows specific settings to take precedence over broader system-wide defaults.

Multiple choice technology web 2.0
  1. repeat-x

  2. repeat-y

  3. no-repeat

  4. repeat on both axes

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

The default value for background-repeat is 'repeat', which means the background image repeats both horizontally and vertically. Option D correctly describes this behavior. Options A (repeat-x) and B (repeat-y) repeat only in one direction, while option C (no-repeat) prevents repetition entirely.

Multiple choice technology web technology
  1. HTML Server control

  2. Web Server Control

  3. HTML Control

  4. None of the above

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

An HTML Server control maps directly to standard HTML tags while remaining accessible on the server. However, Web Server controls can also render pure HTML based layouts (e.g., Literal, Repeater). Additionally, HTML Server controls require the 'runat=server' attribute, making the question somewhat subjective. But since HTML Server controls preserve HTML structure directly, the stored answer is acceptable.

Multiple choice technology
  1. workspace

  2. Navigator item

  3. managed system

  4. the hub monitoring server

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

A situation must be associated with a Navigator item to display its event icon in the Tivoli Enterprise Portal. The Navigator provides the hierarchical view where situation status indicators appear. Workspaces display data but don't control icon visibility.

Multiple choice technology
  1. It allows the attributes used within the situation formula to be highlighted in the Situation Event Console.

  2. It allows the situation to look at other rows in the sampling and open more events if other rows qualify.

  3. It creates a workspace link to a Situation Event Details view for that situation when the situation evaluates true.

  4. It causes the situation to send OPEN and CLOSED status messages to the Universal Message Console view based on the evaluation of predefined attributes within the Advanced options menu.

Reveal answer Fill a bubble to check yourself
B Correct answer
Multiple choice technology enterprise content management
  1. True

  2. False

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

When modifying nested elements (grandchildren) in the framework's layer system, you must copy the entire parent child element that contains the grandchild to your custom application layer. This maintains the structural integrity and allows proper override of the nested configuration.