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. It holds all other UI elements in a .xaml file.

  2. It is used as a layout panel.

  3. All UI elements in a .xaml control must be placed within a layout panel in User control.

  4. All of the above

  5. Both (1) and (3)

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

UserControl is a high level control and holds all other UI elements in a xaml file.

Multiple choice
  1. In this navigation, it changes the content and location URL of a browser itself.

  2. In this navigation, it can be identified with a pack URI.

  3. Safe navigation is based on browser and application level.

  4. Safe navigation is not possible in WPF security.

  5. (1), (2) and (3) are correct

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

These are the correct statements.

Multiple choice
  1. The default xaml file page.xaml is created on creating the new Silverlight project.

  2. The default content of page.xaml file does not have User control.

  3. The compiled assembly file of Silverlight application has the .xap extension.

  4. The compiled assembly file of Silverlight application does not have any .xap extension.

  5. Both (2) and (4)

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

These are the false statements.

Multiple choice
  1. Silverlight applications are delivered to browsers in a text-based mark-up language.

  2. XAML is a compiled application.

  3. Silverlight supports video, audio and animations.

  4. Silverlight allows web developers to handle events from web pages.

  5. None of the above

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

This is false  as, XAML is a text based application while Flash is a compiled application.

Multiple choice
  1. It is a compressed output file.

  2. In .xap file, the AppManifest.xaml is responsible for compilation of output assembly of the Silverlight project.

  3. The .xap file is used to declaratively specify the user interface for Silverlight or WPF applications.

  4. All of the above

  5. Both (1) and (2)

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

These statements are correct.

Multiple choice
  1. 5

  2. 4

  3. 3

  4. 2

  5. 1

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. 5

  2. 4

  3. 3

  4. 2

  5. 1

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. It is used to declare that the current page is the error page.

  2. It is used to define the error page.

  3. It is used to redirect to the error page if the in case of exception occurs.

  4. All of the above

  5. Both (1) and (2)

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

This is true about isErrorPage attribute .