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
-
System.Threading;
-
System.Windows.Forms;
-
System.Windows;
-
System.Forms;
B
Correct answer
Explanation
System.Windows.Forms; namespace contains the types involved in creating the standard Windows application. The classes that represent the forms and controls reside here as well.
-
It provides data binding.
-
It is used to route events to its child controls.
-
INamingContainer interface is used to create controls in the specified condition.
-
It provides the data management.
-
It provides the data control in a specific format.
D
Correct answer
Explanation
Naming interface does not provide any data management.
-
This interface is used to transfer the events that are generated from the client side to the server.
-
It is used to update its state or raise events on the server after examining the postback data.
-
IPostBackEventHandler interface can transfer the postback events.
-
This interface can control the postback event.
-
This interface controls the procedures.
E
Correct answer
Explanation
It does not control the procedures.
-
The control properties are set using the view state and control state values.
-
The request is postback and the related event handler is called.
-
The view state for the page and all the controls are saved.
-
The view state for the page and all the controls are deleted.
-
This is the stage, in which all the page events are synchronised.
C
Correct answer
Explanation
This is page rendering and the page calls the Render method for each control and the output of rendering is written to the OutputStream class of the Page's Response property.
-
At this stage, the control properties are set using the view state and control state values.
-
The controls are set by assigning a unique ID.
-
The rendered page is send to the client.
-
At this stage, the view controls and pages are saved.
-
It controls the execution state.
B
Correct answer
Explanation
During page initialization stage, the controls are set with a unique identifier.
-
CLR, .NET framework class library and windows forms are the components of .NET framework 3.5.
-
Windows Presentation Foundation and Windows Communication Foundation (WCF) are not included in the components of .NET framework.
-
The CLS (Common Language Specification) component provides the language integration.
-
CTS provides data types based on the specification.
-
These components include base class libraries too.
B
Correct answer
Explanation
These are also included in the .NET 3.5.
-
This component provides safety of accessing resources and sharing personal information on the internet.
-
It is used for data querying capabilities to .Net languages using a syntax which is similar to the tradition query language SQL.
-
It determines the separation between the user interface and the business logic.
-
This component is responsible for the storage of data.
-
It is responsible for the data retrieval.
A
Correct answer
Explanation
Windows CardSpace provides the resource utilization and sharing of the information.
-
Data source controls provide data binding to different data sources.
-
ASP.NET provides graphical user controls.
-
Master pages come under the category of server controls.
-
There are no custom controls present in ASP.NET server controls.
-
These controls have user interface modules.
D
Correct answer
Explanation
This is false as the custom controls are there in the ASP.NET server controls.
-
CLR includes the CTS (Common Type System).
-
CLR is responsible for memory management.
-
CLR is the base layer in .NET framework.
-
CLR provides the monitoring of the complete life cycle of the object.
-
CLR executes the .dll file.
E
Correct answer
Explanation
CLR does not execute this file.
-
These provide reusability to the business logic in the application components.
-
The model has information about the data in the application.
-
The controller or presenter links the model and the view.
-
These patterns have a series of providers to connect to the source data.
-
The user interaction with the view raises events in the controller, which updates the model.
D
Correct answer
Explanation
MVC patterns have only single providers to connect the data.
-
DesignMode
-
PropertyChangeListener
-
PropertyEditor
-
Visibility
-
BeanInfo
C
Correct answer
Explanation
This interface in java.beans package allows designers to change and display property value.
-
Customizer
-
AppletInitializer
-
BeanInfo
-
DesignMode
-
PropertyEditor
A
Correct answer
Explanation
This interface allows a designer to provide a graphical user interface through which bean may be configured.
-
bgcolor
-
billboards
-
delay
-
none of these
C
Correct answer
Explanation
This parameter in the applet specifies the number of milliseconds between each billboard.
-
BLOCK_DECREMENT
-
BLOCK_INCREMENT
-
TRACK
-
UNIT_DECREMENT
-
UNIT_INCREMENT
C
Correct answer
Explanation
This adjustment event of scroll bar is used to generate an absolute event.
-
Billboards
-
Delay
-
Bgcolor
-
None of these
B
Correct answer
Explanation
This parameter in applet tag specifies the number of milliseconds between each billboard.