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

  2. Grid

  3. Border

  4. All of the above

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

Flow, Grid, and Border are all standard base layout types used in portal systems for positioning portlets within a page. Flow layouts arrange components sequentially, Grid layouts use row/column positioning, and Border layouts place components in regions like north/south/east/west/center.

Multiple choice technology web technology
  1. a page

  2. a portlet

  3. a book

  4. a desktop

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

In portal architecture, 'books' control the navigation menus. Books contain pages and portlets, and their hierarchical structure defines the menu/navigation tree. Options A, B, and D are incorrect - pages display content, portlets are service components, and desktops are top-level containers, not menu controllers.

Multiple choice technology web technology
  1. a book

  2. a portal

  3. a page

  4. desktop

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

In Pega Portal architecture, pages are the containers that display portlets. A book contains pages, and a portal contains books. The desktop is the top-level container for the entire portal structure.

Multiple choice technology
  1. (a) Property set

  2. (b) Dynamic select

  3. (c) Dependency list

  4. (d) Obj-List

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

Pega's Dynamic Select feature enables cascading dropdowns where one field's choices depend on another field's value. When a Make is selected, the system dynamically filters and updates the available Model options based on that selection.

Multiple choice technology
  1. (a) Presenting user interface in different languages

  2. b) Handling currency

  3. c) Defining an alternate business calendar

  4. d) a & c

  5. (e) None of the above

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

Localization requires adapting an application for different regions and languages. Presenting UI in different languages (A), handling different currencies (B), and defining alternate business calendars (C) are all standard localization steps. Since all listed steps ARE involved in localization, there is no step among A-C that is NOT involved - making 'None of the above' correct.

Multiple choice technology web technology
  1. javascript

  2. jsp

  3. css

  4. xml

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

Customizing the skeleton or structure of a portal requires JSP (JavaServer Pages) resources. JSP files define the HTML markup, layout, and structural elements that form the portal's framework. JavaScript handles client-side behavior, CSS manages styling, and XML is for configuration. The skeleton is the structural markup layer, which JSP provides.

Multiple choice technology web technology
  1. javascript

  2. jsp

  3. xml

  4. css

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

Customizing the skin or visual appearance of a portal requires CSS (Cascading Style Sheets) resources. CSS controls colors, fonts, spacing, and all visual styling aspects. JavaScript handles interactivity, JSP manages structure, and XML handles configuration. Skin refers specifically to the visual presentation layer.

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.