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
-
Clear
-
Move
-
Z-order
-
Refresh
D
Correct answer
Explanation
This method of a control in VB forces a complete repaint of objects.
-
ListIndex
-
Multiselect
-
ListCount
-
ItemData
B
Correct answer
Explanation
This property of Listbox returns or sets a value that determines whether a user can make multiple selections in a control.
-
Form Design Window
-
Code Editor Window
-
Solution Explorer
-
None of these
C
Correct answer
Explanation
Solution Explorer is used to manage and display the files and projects in a solution.
-
Form Design Window
-
Code Editor Window
-
Solution Explorer
-
None of these
B
Correct answer
Explanation
Code Editor Window lets us to create and edit visual basic source code.
-
Each form runs in its own application window.
-
A container form called Parent Form contains one or more Child Forms.
-
Each form can have its own menus and toolbars.
-
It has a main form called a Startup form.
B
Correct answer
Explanation
This statement is false with respect to SDI because there is no parent - child form present in SDI. This statement can be true in case of MDI (Multiple Document Interface).
-
Show
-
Hide
-
BringToFront
-
SendToBack
A
Correct answer
Explanation
Show method of the form object loads the form if it is not already loaded, and then displays the form by setting its visible property to true.
-
Sorted
-
SelectedIndex
-
DropDownStyle
-
Items
D
Correct answer
Explanation
Items provide access to the collection of items in a list box or combo box list.
-
CLR
-
CTS
-
MSIL
-
Assembly Manifest
B
Correct answer
Explanation
CTS ensures type compatibility between various .NET components as CTS stands for Common Type Safety. For e.g. int x = TextBox1.text; // considering the scenario that we have some value in the textbox1 which is of text type and we are receiving the value in int type. So, CTS would not allow you this type of conversion in .NET and this could be done by:
int x = Convert.ToInt32(TextBox1.Text); // As we have done the typecasting of text type to int type. So, CTS would allow us to get the text type value to the int type variable.
-
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.
-
Collections
-
Drawing
-
System
-
Math
C
Correct answer
Explanation
The root namespace of .NET framework is the system namespace, which contains the definitions of all the built in data types and sub namespaces.
-
Value Type and Reference Type
-
Value Type and Non Value Type
-
Reference Type and Non Value Type
-
None of the above
A
Correct answer
Explanation
The two types of .NET Framework are: Value types and Reference types. The primary difference between these two is with the way the variable data is accessed.
-
CLR and Class Library
-
CTS and CLR
-
MSIL and CLR
-
Class Library and CTS
A
Correct answer
Explanation
CLR is Common Language Runtime, which distinguishes .NET framework from other frameworks as this makes .NET framework language independent and Class Library provides the collection of useful and reusable types that are designed to integrate with CLR.
-
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.