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
-
It holds all other UI elements in a .xaml file.
-
It is used as a layout panel.
-
All UI elements in a .xaml control must be placed within a layout panel in User control.
-
All of the above
-
Both (1) and (3)
A
Correct answer
Explanation
UserControl is a high level control and holds all other UI elements in a xaml file.
-
WinForms does not provide better binding capabilities.
-
WPF provides better UI customization and graphics.
-
WPF provides clear separation between the UI and logic.
-
All of the above
-
Both (1) and (3)
D
Correct answer
Explanation
These are the correct statements.
-
In this navigation, it changes the content and location URL of a browser itself.
-
In this navigation, it can be identified with a pack URI.
-
Safe navigation is based on browser and application level.
-
Safe navigation is not possible in WPF security.
-
(1), (2) and (3) are correct
E
Correct answer
Explanation
These are the correct statements.
-
The default xaml file page.xaml is created on creating the new Silverlight project.
-
The default content of page.xaml file does not have User control.
-
The compiled assembly file of Silverlight application has the .xap extension.
-
The compiled assembly file of Silverlight application does not have any .xap extension.
-
Both (2) and (4)
E
Correct answer
Explanation
These are the false statements.
-
It describes the Windows Workflow Foundation content.
-
WPF XAML is used for Silverlight applications.
-
WPF XAML also have XPS XAML which defines an XML representation of electronic documents.
-
All of the above
-
Both (1) and (3)
E
Correct answer
Explanation
These are the correct statements about WWF XAML.
-
Silverlight applications are delivered to browsers in a text-based mark-up language.
-
XAML is a compiled application.
-
Silverlight supports video, audio and animations.
-
Silverlight allows web developers to handle events from web pages.
-
None of the above
B
Correct answer
Explanation
This is false as, XAML is a text based application while Flash is a compiled application.
-
It is a compressed output file.
-
In .xap file, the AppManifest.xaml is responsible for compilation of output assembly of the Silverlight project.
-
The .xap file is used to declaratively specify the user interface for Silverlight or WPF applications.
-
All of the above
-
Both (1) and (2)
E
Correct answer
Explanation
These statements are correct.
-
Action event
-
Adjustment event
-
Container event
-
Focus event
D
Correct answer
Explanation
This object is generated when a component receives focus for input.
-
FocusEvent
-
ContainerEvent
-
ItemEvent
-
None of these
C
Correct answer
Explanation
This class is generated when a check box or a list item is clicked or when a checktable menu item is selected or deselected.
-
Process affinity
-
NNTP service
-
Stack walk
-
The execution support
-
Web forms
C
Correct answer
Explanation
By using this component of CLR, you can program your profiler to walk managed stacks in the common language runtime.
-
Gridlayout
-
Flowlayout
-
Cardlayout
-
Both (1) and (2)
-
All of these
E
Correct answer
Explanation
This is correct answer because all of the given layout managers are present in java awt.
D
Correct answer
Explanation
This is correct answer because there are two constructors of borderlayout are present in java. These are:- BorderLayout():- creates a default borderlayout. BorderLayout(int hgap, int vgap):- create a borderlayout with specified horizontal and vertical gap between the components. So, this answer is correct.
C
Correct answer
Explanation
This is correct answer because there are only three constructors are there for FlowLayout. These are:- lowLayout():- create a default flowLayoutFlowLayout(int Alignment):- creates a flowlayout with specified alignment, where alignment can take value, FlowLayout.LEFT, FlowLayout.LEFT ,FlowLayout.LEFTFlowLayout(int alignment , int hgap, int vgap):- same as second constructor with specified horizontal and vertical gap between the components. So, this answer is correct.
-
onBlur()
-
onLoad()
-
onUnload()
-
onFocus()
-
status
D
Correct answer
Explanation
This window event executes when a window is activated or put at the front.
-
It is used to declare that the current page is the error page.
-
It is used to define the error page.
-
It is used to redirect to the error page if the in case of exception occurs.
-
All of the above
-
Both (1) and (2)
A
Correct answer
Explanation
This is true about isErrorPage attribute .