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 technology
  1. Site Collection = SPSite

  2. Site Collection = SPWeb

  3. Sub Site = SPWeb

  4. Sub Site = SPSite

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

In the SharePoint Object Model, SPSite represents a Site Collection and SPWeb represents a site (which can be the top-level site of a collection or a subsite). Therefore Site Collection = SPSite and Sub Site = SPWeb are the correct mappings. The inverse mappings are incorrect.

Multiple choice technology
  1. One Content Type must be associated with Page Layouts

  2. Multiple Content Types can be associated to a single Page Layout

  3. Page Layout can be created without associating Content Type

  4. Multiple Page Layouts can be created using single kind of Content Type

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

In SharePoint Publishing, Content Types and Page Layouts have a specific relationship: (A) Every Page Layout must be associated with a Content Type, and (D) Multiple Page Layouts can be created from the same Content Type. Option B is incorrect because a Page Layout can only be associated with one Content Type, and Option C is incorrect because Page Layouts cannot be created without an associated Content Type.

Multiple choice technology programming languages
  1. Introducing new methods.

  2. Adding components to specific areas of a container.

  3. Starting an applet.

  4. Specifying font size and color.

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

BorderLayout provides predefined constants (NORTH, SOUTH, EAST, WEST, CENTER) that specify where components should be placed within a container using a layout manager. Option A is incorrect because layout managers don't introduce new methods. Option C refers to applets, which are unrelated to layout management. Option D describes font and color attributes, not component positioning.

Multiple choice technology
  1. Site Collection = SPSite

  2. Site Collection = SPWeb

  3. Sub Site = SPWeb

  4. Sub Site = SPSite

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

In SharePoint Object Model, Site Collections are represented by SPSite objects, and Sub Sites (webs) are represented by SPWeb objects. This is the correct mapping. Options B and D reverse these mappings, which is incorrect.

Multiple choice technology
  1. One Content Type must be associated with Page Layouts

  2. Multiple Content Types can be associated to a single Page Layout

  3. Page Layout can be created without associating Content Type

  4. Multiple Page Layouts can be created using single kind of Content Type

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

The relationship between Content Types and Page Layouts is: (A) A Content Type must be associated with a Page Layout (you can't create a layout without one), and (D) Multiple Page Layouts can be created using a single Content Type (you can create different layouts for the same content type). Page Layouts cannot be created without a Content Type.

Multiple choice technology programming languages
  1. Introducing new methods.

  2. Adding components to specific areas of a container.

  3. Starting an applet.

  4. Specifying font size and color.

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

BorderLayout is a layout manager in Java AWT that divides a container into five regions: North, South, East, West, and Center. The static fields (NORTH, SOUTH, EAST, WEST, CENTER) are constants used to specify where components should be added. It simplifies GUI positioning by providing predefined areas.

Multiple choice technology
  1. Click the Filter button

  2. Click the funnel button

  3. Click the view button

  4. None of the above

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

OLA Watcher provides a Filter button in the interface that allows users to filter displayed tickets based on various criteria. This is the standard UI pattern for filtering in this tool, accessed directly through a labeled button.

Multiple choice technology web technology
  1. Object signing

  2. Style sheets

  3. Netcaster channels

  4. Image rollovers

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

JavaScript object signing uses JAR (Java Archive) files to contain digital signatures that verify the authenticity and origin of signed scripts or objects. This was part of Netscape's security model. Option A correctly identifies this. Options B (style sheets), C (Netcaster channels), and D (image rollovers) do not use JAR files.

Multiple choice technology programming languages
  1. The Class window

  2. The Project window

  3. The Properties window

  4. The Blank Form window

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

This question refers to the classic Visual Basic 6 IDE startup interface. On startup, the Project, Properties, and Blank Form windows are displayed by default, whereas the Class window (Class Browser) is not visible unless explicitly opened.

Multiple choice technology programming languages
  1. IsMdiChild on Forms A,B and C; and IsMdiParent on FormD.

  2. MdiParent on Forms A,B and C; and IsMdiContainer on FormD.

  3. IsMdiChild on Forms A,B and C; and IsMdiContainer on FormD.

  4. MdiParent on Forms A,B and C; and IsMdiParent on FormD.

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

In Windows Forms MDI (Multiple Document Interface) applications, child forms are assigned to the MdiParent property of the container form. The parent form (FormD) must have IsMdiContainer set to true. Option B correctly describes setting the MdiParent property on child forms and IsMdiContainer on the parent. Options A and C incorrectly use IsMdiChild which isn't a standard property, and option D incorrectly uses IsMdiParent instead of IsMdiContainer.

Multiple choice technology programming languages
  1. DebuggerBrowsable

  2. ComVisible

  3. Browsable

  4. DisplayBrowsable

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

The BrowsableAttribute controls whether a property appears in the Properties window at design time. Setting [Browsable(true)] makes it visible, while [Browsable(false)] hides it. DebuggerBrowsable is for debugger display, ComVisible relates to COM interoperability, and DisplayBrowsable is not a standard .NET attribute.

Multiple choice technology programming languages
  1. Registry Editor

  2. Launch Conditions Editor

  3. File System Editor

  4. Required Components Editor

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

The Launch Conditions Editor in Visual Studio setup projects lets you specify prerequisites that must be met before installation proceeds. You can add conditions to check for .NET Framework versions and display messages or redirect users to download the required framework. Registry Editor checks registry values, File System Editor manages file installation, and Required Components Editor isn't a standard deployment editor.