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
-
elements
-
properties
-
methods
-
events
D
Correct answer
Explanation
onBlur, onClick, and onFocus are JavaScript event handlers. The 'on' prefix is characteristic of events in JavaScript - they trigger functions when specific user actions occur like clicking, losing focus, or gaining focus.
-
Desktop
-
Browsers
-
Operating systems
-
All the above
D
Correct answer
Explanation
Apache Flex is a software development kit for building Rich Internet Applications. These applications can run in web browsers using Flash Player, on desktops using Adobe AIR, and on mobile devices, covering all deployment options.
-
ActionScript
-
MXML
-
HTML
-
None of the above
A,B
Correct answer
Explanation
Adobe Flex applications are developed using a combination of MXML (an XML-based markup language used for laying out user interface components) and ActionScript (an object-oriented programming language used to handle client-side logic and event handling). HTML is not used to program Flex applications.
-
Namespace>class>manifest>elements
-
Manifest>class>namespace>elements
-
Manifest>namespace>class>element
-
None of these
C
Correct answer
Explanation
In C# application structure, the Assembly Manifest contains metadata and acts as the root. Within the manifest, namespaces organize related types. Classes contain the actual implementation, and elements are class members like methods, properties, and fields. This hierarchy provides logical organization from coarse to fine granularity.
-
Page_Init
-
Page_Load
-
Control Events
-
None
B
Correct answer
Explanation
In ASP.NET page lifecycle, the Page_Load event fires when all server controls are fully loaded and initialized. Page_Init occurs earlier during initialization but before view state loading. Control Events fire after Page_Load in response to user actions.
-
DataList
-
Repeater
-
DropDownList
-
DataGrid
B
Correct answer
Explanation
The Repeater control is the only option with no visible UI - it's a template-driven container used purely for data rendering without predefined layout. DataList, DropDownList, and DataGrid all have visible interfaces when rendered.
-
Microsoft.Visualstudio.TestTools.UnitTestingFramework
-
Visualstudio.TestTools.UnitTesting
-
System.UnitTesting
-
None of the above
A
Correct answer
Explanation
window.open() is the correct JavaScript method to open a new browser window. Options B, C, and D use non-existent methods (window.new, window.create, window.add). The window.open() method can take a URL as parameter and returns a reference to the new window, which can be stored in a variable for later manipulation.
-
window.status("put your message here")
-
status("put your message here")
-
window.status = "put your message here"
-
statusbar = "put your message here"
C
Correct answer
Explanation
The browser's status bar is accessed through the window.status property and can be set by assigning a string value to it. Option A incorrectly calls status as a function, option B uses a non-existent global status function, and option D references a non-existent statusbar property. The status bar property is accessed as a property of the window object, not called as a method.
-
.Net Compact Framework
-
Support for IP6
-
Windows Card Space
-
Generics
D
Correct answer
Explanation
Generics were introduced in .NET Framework 2.0, allowing type-safe collections and methods without boxing/unboxing overhead. The .NET Compact Framework existed before 2.0. IPv6 support was also present earlier. Windows CardSpace (identity management) came with .NET 3.0. Generics were one of the major features of the 2.0 release.
-
.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 introduced with .NET Framework 3.0 as part of the WinFX technologies. WPF provides a unified programming model for building modern Windows applications with separation between UI and logic. .NET Framework 3.0 also included Windows Communication Foundation (WCF) and Windows Workflow Foundation (WF). .NET 3.5 added additional features but WPF was already there.
-
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
Options A, B, and C are true: WF supports XAML for declarative workflow definition, includes Sequential and State Machine workflow types, and provides built-in SQL Server persistence. Option D is false because Workflow Runtime CAN be hosted in Windows applications - it's designed to be hostable in various application types including Windows apps, services, and web applications.
-
AppGoTo
-
AppGroupCode
-
Applist
-
Standalone
C
Correct answer
Explanation
Applist table distinguishes between Application-Independent and Application-Dependent types. AppGoTo might handle navigation, AppGroupCode likely groups applications, and Standalone is a type flag rather than a categorization table.
-
OWB repository
-
OWB client
-
Code Editor
-
OWB runtime audit browser client
-
Design editor
-
The Message Assignment Shape
-
Expression Shape
-
Construct Message Shape
-
Decision Shape
A,B
Correct answer
Explanation
The Expression Shape allows inline C# expressions and statements. The Message Assignment Shape (within a Construct Message shape) allows C# code for message construction. Decision shapes are for conditional branching only, not code injection.