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

Multiple choice technology
  1. Custom Dll's in GAC or Bin

  2. Changes in the Web.config file

  3. Features

  4. Resource files such as imagesx

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

Solution packages in WSS/MOSS can deploy custom DLLs to GAC or Bin, apply web.config changes, install Features, and include resource files like images. These are the core deployment artifacts managed by the solution framework.

Multiple choice technology
  1. Application Pages are available within any site in any web application in the Farm

  2. Application pages runs under safe mode processing

  3. Application pages needs to be placed under \$Local Directory$\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS
  4. Application Pages only accessible within the scope of the site they are created

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

Application pages in SharePoint 2007 are stored in the LAYOUTS directory and are available farm-wide across all sites. They do not run in safe mode - that applies to site pages. Their accessibility spans the entire farm, not limited to a specific site scope.

Multiple choice technology
  1. Activate the "Office SharePoint Server Publishing Infrastructure" under Site Collection Feature

  2. Activate the "Office SharePoint Server Publishing" under site feature

  3. Activate the "Office SharePoint Server Enterprise Site Collection features" under Site Collection Feature

  4. We can not have these option in the Team Site

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

To enable Create Page and Create Site options in a Team Site, you must activate the Office SharePoint Server Publishing Infrastructure at the site collection level and the Office SharePoint Server Publishing feature at the site level. These publishing features add the necessary content creation capabilities.

Multiple choice technology
  1. SPWebConfig

  2. There are no class for this purpose and we need to do manually

  3. SPWebConfigModify

  4. SPWebConfigModification

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

SPWebConfigModification is the correct SharePoint API class for programmatically modifying web.config files through the SharePoint object model. It provides safe, tracked modifications without manual file editing.

Multiple choice technology
  1. From STSADM Command Line

  2. From Central Admin UI

  3. From Site Collection Settings for each Individual

  4. This setting cannot be changed

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

The number of days to show the 'New!' icon for list items can be changed using the STSADM command line tool with the 'setproperty' operation. This setting is not available through Central Administration UI or individual site collection settings.

Multiple choice technology
  1. Multiple Document Libraries

  2. Single Document Library

  3. Multiple Lists

  4. None of the above

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

SharePoint Designer workflows in SharePoint 2007 could only be associated with a single list or document library, not multiple lists or libraries simultaneously. Each workflow created in SharePoint Designer is bound to one specific list or library.

Multiple choice technology
  1. Onet.xml

  2. Feature.xml

  3. Schema.xml

  4. Fldtypes.xml

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

In SharePoint list definitions, Schema.xml contains the complete list schema including views, fields, forms, and other list elements. To add a new view to a list definition, you modify the Schema.xml file. Onet.xml defines site definitions and contains references to list templates, Feature.xml defines features, and Fldtypes.xml defines custom field types - none of these directly control list views.

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.