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
-
area where the assembly code is compiled
-
area in which Debug information is a stored
-
area in which Assembly metadata is stored
-
area where variables are initialized
C
Correct answer
Explanation
In .NET assembly structure, the manifest is the metadata that describes the assembly's identity, version, dependencies, and security requirements. It is NOT for code compilation, debug information, or variable initialization - those are handled by other parts of the assembly structure.
-
.Net Compact Framework
-
Support for IP6
-
Windows Card Space
-
Generics
D
Correct answer
Explanation
Generics were introduced in .NET Framework 2.0 as a major feature allowing type-safe reusable code. The .NET Compact Framework existed before 2.0. IPv6 support was added in 2.0 but is less distinctive. Windows CardSpace arrived later with .NET 3.0.
-
.NET Framework 1.1
-
.NET Framework 2.0
-
.NET Framework 3.0
-
.NET Framework 3.5
C
Correct answer
Explanation
Windows Presentation Foundation (WPF) was a new UI subsystem introduced with .NET Framework 3.0 in 2006. It replaced older Windows Forms and introduced XAML for declarative UI design. .NET 3.5 came later with additional features like Entity Framework.
-
Extensible Application Markup Language - XAML can be used to define workflow declaratively
-
Sequential Workflow and State Machine Workflow are two basic workflow type
-
Workflow can be persisted into SQL server using built in persistence provider
-
Workflow Runtime can not be hosted in Windows application
D
Correct answer
Explanation
Workflow runtime CAN be hosted in Windows applications - it's designed to be hostable in any application type. XAML can declaratively define workflows. Sequential and State Machine are the two basic workflow types. Built-in SQL persistence is available.
A
Correct answer
Explanation
C# programs can be written in any text editor and compiled using the csc command-line compiler. Visual Studio is an optional IDE that provides convenience features, but it's not required. The .NET SDK includes all necessary compilers and tools for building applications.
-
.NET Remoting Services
-
XML
-
Reflections
-
Web Services
C
Correct answer
Explanation
Intellisense works by using Reflection to examine metadata in compiled assemblies and referenced libraries. As you type, it analyzes the context and queries type information to suggest valid completions for members, methods, and properties. XML is used for documentation comments, but not for the autocompletion mechanism itself.
-
By registering it in Windows Registry
-
By signing the assembly using a strong-named key and adding it to GAC
-
By putting it in C:\Windows Folder
-
By setting the Environment Variables
B
Correct answer
Explanation
Assemblies are made universally visible by signing them with a strong-named key (snk file) and installing them into the Global Assembly Cache (GAC). The GAC is a machine-wide cache for assemblies, and strong naming provides uniqueness and versioning. Windows Registry, System folders, and environment variables are not the correct mechanism.
-
<ps:getValue>
-
<ps:displayvalue>
-
<ps:showValue>
-
<ps:write>
A
Correct answer
Explanation
The tag retrieves data from the UI Model Object (MO) and renders it on the screen. This is the standard PS tag for displaying values from the UI layer, unlike other tags which serve different purposes like navigation or output operations.
A
Correct answer
Explanation
For , the action attribute is required as it specifies what happens when clicked. ID, events, and label are optional attributes that can be added for additional functionality or styling, but action is mandatory for button behavior.
-
BTM.ActionType
-
BTM.ActionTarget
-
BTM.PSActionTarget
-
BTM.ActionContext
C
Correct answer
Explanation
BTM.ActionType, BTM.ActionTarget, and BTM.ActionContext are standard BTM (Business Task Management) variables for reporting to applications. BTM.PSActionTarget is not a standard BTM variable - the 'PS' prefix suggests it belongs to a different subsystem (Presentation Server) and is not part of the core BTM reporting interface.
-
Define Actions
-
Use Visibility properties
-
Include Sub Report
-
Use Matrix
A,B
Correct answer
Explanation
SSRS provides interactivity through Actions (hyperlinks, bookmark links, drillthrough) that users can click, and Visibility properties (can toggle visibility based on parameters or click). Sub-reports (C) and Matrix (D) are layout features, not interactivity mechanisms themselves.
-
Border Layout
-
Flow Layout
-
Box Layout
-
None of these
A
Correct answer
Explanation
A Frame uses BorderLayout as its default layout manager. BorderLayout arranges components in five regions: NORTH, SOUTH, EAST, WEST, and CENTER. In contrast, a Panel defaults to FlowLayout.
-
Flow Layout
-
Box Layout
-
Border Layout
-
None of these
B
Correct answer
Explanation
BoxLayout allows components to be arranged vertically (along the Y-axis), forcing each component to start on a new line. FlowLayout arranges components horizontally in a line, wrapping only if space is insufficient, while BorderLayout places components in five specific regions rather than sequential lines.
-
Frame
-
Panel
-
Layout Manager
-
Applet
C
Correct answer
Explanation
Layout Managers are responsible for determining the size and position of components within a container. They provide a flexible way to manage component layout dynamically as the window resizes or components change.
-
javax.swing.*
-
java.util.*
-
java.io.*
-
java.awt.*
D
Correct answer
Explanation
BorderLayout is part of the java.awt package, which contains the core Abstract Window Toolkit classes. It is not in javax.swing, java.util, or java.io packages.