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. Page Layout can contain Web Part Zones and Field Controls

  2. Page Layout can be created with SharePoint Designer

  3. Page Layout can be associated with Multiple Content Types

  4. Page Layout can be created with Features

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

Page layouts in SharePoint can contain Web Part Zones for dynamic content and Field Controls for metadata display. They can be created through SharePoint Designer or deployed via Features. However, each page layout is associated with a SINGLE content type, not multiple - this is a one-to-one relationship.

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

Content Types define the schema and must be associated with Page Layouts in publishing sites. A single Content Type can be used to create multiple Page Layouts, providing flexibility in design while maintaining consistent content structure. Option B is incorrect because Content Types are associated with Page Layouts, not the reverse. Option C is incorrect because Page Layouts require an associated Content Type to function properly.

Multiple choice technology
  1. SPListEventReceiver Class

  2. SPItemEventReceiver Class

  3. SPListEventProperties Class

  4. SPListEvent Class

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

Event receivers in SharePoint 2007 inherit from specific base classes depending on their scope. SPListEventReceiver handles list-level events, while SPItemEventReceiver handles item-level events. Options C and D are incorrect because they represent property/definition classes, not valid receiver base classes for inheritance.

Multiple choice technology
  1. 99

  2. 100

  3. 101

  4. 102

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

Generic lists in SharePoint use List Template ID 100. This ID allows event receivers to be scoped to all generic lists created in the site collection. Template ID 100 is the standard identifier for custom generic lists, while 101 is for document libraries and 99 for other list types.

Multiple choice technology
  1. Create a Folder in C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\TEMPLATE\FEATURES

  2. Create a Folder in C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\bin\FEATURES

  3. Create a Feature.xml file in the Feature Folder Created

  4. Use Central Administration to Install the Feature

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

To deploy a SharePoint feature, you must create a folder in the 12\TEMPLATE\FEATURES directory (option A), not in the bin directory. Within this folder, a Feature.xml manifest file (option C) is required to define the feature's properties and elements. The Central Administration interface is used to activate features after installation, not for the initial installation itself - that requires stsadm commands or PowerShell. The 12\bin\FEATURES path (option B) is incorrect as features are template definitions, not binary executables.

Multiple choice technology
  1. Pages stored in the Content DB

  2. Pages stored in the file share

  3. Master Pages

  4. Application Pages

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

SharePoint Designer can modify pages stored in the content database (option A), which includes site pages and web part pages. It can also modify master pages (option C), which are also stored in the content database. However, it cannot modify pages stored on file shares (option B) or application pages (option D), which are physical files in the SharePoint root directory and are not editable through SharePoint Designer. Application pages must be edited using tools that can access the server's file system directly.

Multiple choice technology
  1. Web Pages

  2. Assemblies/Features used in the Source Site Collection

  3. Web.Config of the source site collection

  4. Resources used by Web Pages such as images, style sheets, or layout pages

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

Content Deployment can copy web pages and their associated resources like images, style sheets, and layout pages between site collections. It does not copy assemblies, features, or web.config changes as these are deployment infrastructure elements specific to the source environment.

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.