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

Multiple choice
  1. init

  2. PreLoad

  3. PreRender

  4. InitComplete

  5. LoadComplete

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The PreLoad event is raised after the page loads view state for itself and all controls, and after it processes PostBack data that is included with the Request instance. We can process any kind of operation that we want before the page load.

Multiple choice
  1. Panel

  2. Table

  3. Image

  4. PlaceHolder

  5. ListBox

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The PlaceHolder Web server control allows us to place an empty container control within the page and then dynamically add, remove or loop through child elements at run time. The control renders only its child elements, it renders no markup of its own. In other words, the PlaceHolder control does not produce any visible output.

Multiple choice
  1. They have a .ascx extension.

  2. They are compiled into a dynamic link library (DLL).

  3. They are derived from the System.Web.UI.UserControl class.

  4. The user control cannot have html or body tags.

  5. They have a Control directive instead of a Page directive.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

A user control is compiled at run time. When the compiler finds the register directive in a .aspx page that points to a user control, it compiles the control before it inserts its content into the .aspx page. The customer controls are compiled as DLL files.

Multiple choice
  1. DetailsView

  2. GridView

  3. Repeater

  4. DataList

  5. ListBox

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The DetailsView control gives you the ability to display, edit, insert or delete a single record at a time from its associated data source. The DetailsView control displays only a single data record at a time.

Multiple choice
  1. It separates the modelling of the domain into three separate classes.

  2. It is a design pattern for the separation of user interface logic from business logic.

  3. It increases the complexity of the solution.

  4. The controller part is responsible for displaying all or a portion of the data to the user.

  5. The MVC separation also simplifies group development.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Model View Controller or MVC as it is popularly called, is a software design pattern for developing web applications. A Model View Controller pattern is made up of the following three parts: Model - The lowest level of the pattern which is responsible for maintaining the data. View - This is responsible for displaying all or a portion of the data to the user. Controller - Software Code that controls the interactions between the Model and View.

Multiple choice
  1. ASCX file

  2. ASPX file

  3. Global.asax file

  4. The archive file

  5. The parameter file

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This file is a text file that houses application level event handlers declarations that pertain to all parts of the application and other global application elements.