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 web technology
  1. model

  2. view

  3. controller

  4. action

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

JPF (Java Page Flow) files serve as the controller component in MVC (Model-View-Controller) architecture used by portal frameworks. They contain the logic that coordinates between the model (data/business logic) and view (presentation), handling request processing, navigation, and workflow. Models represent data, views are the presentation layer (JSPs), and actions are specific controller methods.

Multiple choice technology packaged enterprise solutions
  1. farm,web application,site collection,web site

  2. farm,web application,site collection

  3. farm,list,sub site

  4. website,site collection,sub site,list

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

SharePoint features can be activated at four hierarchical levels: Farm (entire farm), Web Application (all sites in a web app), Site Collection (all sites in a site collection), and Web Site (individual site).

Multiple choice technology web 2.0
  1. System.localization

  2. System.Globalization

  3. System.Resource

  4. System.Exception

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

Creating localized applications in .NET requires System.Globalization for culture-specific formatting (dates, numbers, currency) and System.Resources for managing resource files containing localized strings and content. System.Globalization provides CultureInfo and related classes, while System.Resources contains ResourceManager for accessing .resx files. System.localization does not exist in .NET, and System.Exception is for error handling, not localization.

Multiple choice technology architecture
  1. A thin user interface that is browser based and utilizes JSP's and CSS with user preferences saved locally in a cookie.

  2. A thick client user interface utilizing AWT and user preferences saved locally in a cookie.

  3. A thick client user interface utilizing Swing and user preferences saved locally in a cookie.

  4. A thin browser based client utilizing JSF and CSS with user preferences persisted to database.

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

JSF (JavaServer Faces) with CSS and database-persisted preferences provides a browser-based thin client that centralizes user settings (accessible from any machine without local storage), supports easy server-side debugging, and meets the chain-wide deployment requirement. Local cookies fail the 'no local save' requirement, while thick clients (AWT/Swing) require individual installation and support per hotel, violating the chain-wide support constraint.

Multiple choice technology architecture
  1. Client Tier

  2. Web Tier

  3. MVC Tier

  4. Business Tier

  5. EIS Integration Tier

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

In N-tier architecture, the Web Tier is responsible for handling HTTP requests and managing presentation logic. The MVC view and controller components fit naturally here - the view handles presentation rendering, while the controller manages request processing and routing.

Multiple choice technology architecture
  1. (a) The Utility is not initialized

  2. (b) The Utility is in the wrong class

  3. (c) Your Activity is in the wrong class

  4. (d) Your Activity is not set up as a Utility

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

If an activity isn't listed in the Utility shape's SmartPrompt, it's likely because the Activity isn't properly configured as a Utility activity. Utility shapes only show activities marked with the 'Utility' type in their class.

Multiple choice technology architecture
  1. True

  2. False

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

This statement is false, so the claimed answer is correct. Neither MVC1 nor MVC2 is inherently limited to small or large-scale applications. The choice between them depends on architectural requirements, maintainability needs, and team preferences - not application scale. MVC2 is generally preferred for complex applications due to better separation of concerns, but both can scale appropriately.

Multiple choice technology architecture
  1. MVC1

  2. MVC2

  3. MVC

  4. MVC1 & MVC2

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

MVC1 is page-centric because JSP pages handle both presentation and control logic. In MVC1, the JSP directly processes requests, contains business logic or makes calls to helper objects, and generates the HTML response. This combines view and controller responsibilities in a single component, making it page-centric by design.

Multiple choice technology architecture
  1. Design pattern

  2. Framework

  3. Architecture

  4. All The Above

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

MVC (Model-View-Controller) is a software design pattern that separates an application into three main components: the Model (data), the View (UI), and the Controller (logic). It's not a complete framework itself, though many frameworks implement it. Architecture is a broader concept, and MVC is one specific pattern within software architecture.

Multiple choice technology web technology
  1. Components, pages, sections

  2. Components, pages, sections, records, fields

  3. Pages, tabs, records

  4. Components, pages, tabs, field, sections

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

Display templates in PeopleSoft are comprehensive UI definition tools that control multiple elements: components (collections of pages), pages (individual screens), tabs (page organization), fields (data entry points), and sections (grouped content areas). This allows flexible customization of the user interface layout and behavior.

Multiple choice technology web technology
  1. Assign criteria, components, records

  2. Criteria, Assign Group, Components

  3. Assign Group, Component Records, Criteria

  4. None

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

The Configure Assignment Groups component has three pages: Assign Group (for group configuration), Component Records (for record mapping), and Criteria (for assignment rules). These work together to define assignment logic.

Multiple choice technology security
  1. Broken links

  2. Cookies

  3. Javascripts

  4. Visited URLs

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

Broken Links, JavaScripts, and Visited URLs collectively reveal comprehensive application coverage. Broken links indicate unreachable pages, JavaScripts show client-side functionality that might have been missed, and Visited URLs confirm which pages were successfully tested during the scan.