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. .xap file is a Silverlight-based application package (.xap) that is generated when the Silverlight project is built

  2. .xap file is encrypted for security and we can not view its contents

  3. .xap file includes AppManifest.xaml, compiled output assembly of the Silverlight project (.dll) and any other resource files referred by the Silverlight application

  4. Web pages like .aspx files and .html files use the Silverlight components by loading the .xap files using the <object> tag in the HTML or by using <asp:Silverlight> tag in the ASP.NET pages

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

The .xap file is a Silverlight application package generated at build time, containing AppManifest.xaml, compiled assemblies (.dll), and resources. Web pages load .xap files using object or asp:Silverlight tags. Statement B incorrectly claims .xap files are encrypted - they are actually just ZIP archives that can be opened and viewed with any ZIP utility.

Multiple choice technology
  1. Value Group

  2. Page Group

  3. Value List

  4. Page List

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

This question appears to be about a form/workflow system (possibly Pega). When users need to select multiple automobiles, this requires a property type that can store multiple pages of data. Page List is the correct type for storing multiple instances (multiple automobile records), while Value Group/List store single values and Page Group is for organizing related pages, not multiple selections.

Multiple choice technology
  1. Property-Set

  2. Dynamic Select

  3. Dependency List

  4. Obj-List

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

Dynamic Select enables cascading dropdowns where one selection filters subsequent choices. This is standard Pega terminology for parent-child data relationships. Property-Set sets values, Dependency List defines dependencies, Obj-List retrieves data - none implement selection-based filtering.

Multiple choice technology platforms and products
  1. Silverlight applications operate within a security boundary that is called a sandbox

  2. The Silverlight application runs in the same security context that of the HTML page that hosts the Silverlight plug-in

  3. Silverlight applications cannot access the file system and other system resources

  4. Silverlight code has three security levels: Transparent, SafeCritical and Critical

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

Silverlight applications run in a SANDOXED security context, NOT the same context as the hosting HTML page. This isolation is fundamental to Silverlight's security model. Options A, C, and D correctly describe sandbox boundaries, resource restrictions, and the three-tier security model.

Multiple choice technology web technology
  1. Code-inline model

  2. Code-behind model

  3. Either 1 or 2

  4. None of the above

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

The code-behind model separates presentation (HTML/markup) from business logic by placing code in a separate class file. This separation makes the application more maintainable and allows developers to focus on business logic independently of the UI layer, following better software engineering practices.

Multiple choice technology web technology
  1. CodeFile

  2. CodePage

  3. ClassName

  4. Description

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

The CodeFile attribute in the @Page directive specifies the path to the code-behind file associated with the page. CodePage sets character encoding, ClassName defines the class name, and Description provides documentation. Despite the typo 'folowing,' the question correctly identifies CodeFile as the code-behind reference.

Multiple choice technology web technology
  1. Load, Init, Render, Unload

  2. Init, Pre-Render, Load, Unload

  3. Init, Load, Pre-Render, Unload

  4. Load, Init, Pre-Render, Unload

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

The ASP.NET page lifecycle begins with Init (control initialization), followed by Load (controls populated with data), then PreRender (final state adjustments before rendering), and ends with Unload (cleanup). This sequence ensures controls exist before Load runs, and gives developers a final opportunity in PreRender to modify the page before it renders to HTML.

Multiple choice technology web technology
  1. ViewState

  2. Pre-Render

  3. PostBack

  4. Cross-Page Posting

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

Cross-Page Posting is an ASP.NET 2.0 feature that allows a form to post to a different page than the one that rendered it, controlled by the PostBackUrl property. Unlike PostBack (posts to same page), ViewState (maintains state), and PreRender (a lifecycle event), Cross-Page Posting specifically enables multi-page form submissions for scenarios like data collection across multiple pages.

Multiple choice technology web technology
  1. \App_Code

  2. \App_Data

  3. \App_Theme

  4. \App_Browsers

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

The App_Code folder in ASP.NET 2.0 is a special application folder for storing class files, WSDL files, and typed datasets that are automatically compiled at runtime. App_Data stores database files, App_Theme contains theme files, and App_Browsers holds browser capability definitions - each serving different purposes in the application structure.

Multiple choice technology programming languages
  1. A Workspace can contain multiple applications and projects ….

  2. Module can have projects ,library and application

  3. Library can have modules and projects

  4. Application can have one or more projects, library and module

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

In WebLogic development hierarchy, an Application is the top-level container that can hold multiple Projects, Libraries, and Modules. This hierarchical structure allows for organized development and deployment of enterprise applications. The other options reverse this relationship incorrectly.

Multiple choice technology web technology
  1. True

  2. False

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

JSF has built-in support for internationalization (i18n) through resource bundles and locale handling. It provides accessibility features compliant with standards, and the framework is designed to be extensible - developers can create custom components, validators, converters, and renderers.

Multiple choice technology web technology
  1. Restore view, Apply request values, Process validations, Update model values, Invoke application, Render response

  2. Init, service, destroy

  3. Restore view, Process validations, Invoke application, Render response

  4. None of the above

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

JSF lifecycle has six phases executed sequentially: Restore View (rebuild component tree), Apply Request Values (decode submitted data), Process Validations (validate inputs), Update Model Values (update bean properties), Invoke Application (call action methods), Render Response (generate output).