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
A
Correct answer
Explanation
The ActiveViewIndex property of the MultiView control determines which View control is currently displayed to the user. This is a zero-based index that directly corresponds to the View being shown, making the statement True.
-
Image Server control
-
ImageMap server control
-
CheckBox server control
-
CheckBoxList server control
B
Correct answer
Explanation
The ImageMap server control was newly introduced in ASP.NET 2.0, allowing developers to create clickable regions (hotspots) on an image. Image control, CheckBox, and CheckBoxList all existed in ASP.NET 1.x and are not newly added controls.
-
Database
-
Web Technology
-
Programming Language
-
None of the above
B
Correct answer
Explanation
Microsoft Silverlight is a deprecated application framework designed for writing and running rich Internet applications, making it a web technology. It is not a database, nor is it a programming language itself (it uses languages like C# or VB.NET).
-
Extended Application Markup Language
-
Extensible Application Markup Language
-
Extensible Application Manipulation Language
-
None of the above
B
Correct answer
Explanation
XAML (Extensible Application Markup Language) is Microsoft's markup language for defining user interfaces in .NET applications, particularly WPF and Silverlight. Option A incorrectly says 'Extended' while C suggests 'Manipulation' which is not correct.
-
Extended Application Language
-
Silverlight Application Package
-
Extended Application Program
-
None
B
Correct answer
Explanation
XAP (Silverlight Application Package) is the file format used for distributing Silverlight applications. It's a compressed archive containing the application's manifest, assemblies, and resources needed to run the Silverlight app.
-
WPF\E
-
Silverlight
-
WPF
-
WPE
A
Correct answer
Explanation
Silverlight was originally codenamed 'WPF/E' (Windows Presentation Foundation Everywhere) during its early development before being officially named Silverlight. The name reflected its goal of bringing WPF-style graphics to the web platform.
B
Correct answer
Explanation
Silverlight projects run in a restricted CLR sandbox and target a specific subset of the .NET framework, meaning they cannot directly reference normal desktop or standard class library projects built for the full CLR.
A
Correct answer
Explanation
In the Listener Control (LSNRCTL) utility environment, the SET modifier is used to dynamically modify listener parameters, such as passwords, log files, or trace levels. ALTER, CHANGE, and UPDATE are not valid LSNRCTL commands.
A
Correct answer
Explanation
In the Listener Control (LSNRCTL) utility, the SET modifier is used to dynamically change parameter values (such as LOG_STATUS, PASSWORD, or TRACE_LEVEL) during runtime. ALTER, CHANGE, and UPDATE are not valid LSNRCTL commands for setting parameters.
A
Correct answer
Explanation
The View Macro command (or Macros > View Macros) displays the list of available macros in the application, allowing users to see, run, edit, or organize them. This is standard functionality across Office applications.
B
Correct answer
Explanation
The 'Create Analytical Workspace From Template' option is not available in object view - you must be in a different view to use this feature, making the statement false. Object view has different menu options.
-
JAVAC
-
AWT
-
API
-
Applet Viewer
C
Correct answer
Explanation
API is not a component of the JDK bin directory. The bin directory contains executable tools like javac (compiler), java (runtime launcher), and appletviewer, while API refers to application programming interfaces - libraries and specifications, not executables.
-
Server
-
Client
-
Container
-
Both b & c
C
Correct answer
Explanation
Containers provide the runtime environment for components, managing their lifecycle and providing platform-specific services like security, transactions, and resource management. They act as the abstraction layer between application code and low-level platform functionality.
-
FlowLayout
-
BorderLayout
-
CardLayout
-
All the above
D
Correct answer
Explanation
Java AWT provides multiple layout managers: FlowLayout (left-to-right wrapping), BorderLayout (5 regions), CardLayout (stack of panels), GridLayout (grid), GridBagLayout (flexible grid). All listed options are valid AWT layout managers.
-
Window
-
Frame
-
Dialog
-
All the above
D
Correct answer
Explanation
In Java's AWT, the Window class and its subclasses (Frame and Dialog) all use BorderLayout as their default layout manager. Since Frame and Dialog inherit from Window, all options share this default layout.