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
-
Page Layout can contain Web Part Zones and Field Controls
-
Page Layout can be created with SharePoint Designer
-
Page Layout can be associated with Multiple Content Types
-
Page Layout can be created with Features
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.
-
One Content Type must be associated with Page Layouts
-
Multiple Content Types can be associated to a single Page Layout
-
Page Layout can be created without associating Content Type
-
Multiple Page Layouts can be created using single kind of Content Type
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.
-
SPListEventReceiver Class
-
SPItemEventReceiver Class
-
SPListEventProperties Class
-
SPListEvent Class
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.
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.
-
Create a Folder in C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\TEMPLATE\FEATURES
-
Create a Folder in C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\bin\FEATURES
-
Create a Feature.xml file in the Feature Folder Created
-
Use Central Administration to Install the Feature
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.
-
Pages stored in the Content DB
-
Pages stored in the file share
-
Master Pages
-
Application Pages
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.
-
The "Did You Mean.…?"
-
Best Bet
-
Scopes based on managed properties
-
Create RSS from result set
-
Web Pages
-
Assemblies/Features used in the Source Site Collection
-
Web.Config of the source site collection
-
Resources used by Web Pages such as images, style sheets, or layout pages
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.
-
Custom Dll's in GAC or Bin
-
Changes in the Web.config file
-
Features
-
Resource files such as imagesx
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.
-
Application Pages are available within any site in any web application in the Farm
-
Application pages runs under safe mode processing
-
Application pages needs to be placed under \$Local Directory$\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS
-
Application Pages only accessible within the scope of the site they are created
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.
-
Activate the "Office SharePoint Server Publishing Infrastructure" under Site Collection Feature
-
Activate the "Office SharePoint Server Publishing" under site feature
-
Activate the "Office SharePoint Server Enterprise Site Collection features" under Site Collection Feature
-
We can not have these option in the Team Site
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.
-
SPWebConfig
-
There are no class for this purpose and we need to do manually
-
SPWebConfigModify
-
SPWebConfigModification
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.
-
From STSADM Command Line
-
From Central Admin UI
-
From Site Collection Settings for each Individual
-
This setting cannot be changed
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 Document Libraries
-
Single Document Library
-
Multiple Lists
-
None of the above
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.
-
Onet.xml
-
Feature.xml
-
Schema.xml
-
Fldtypes.xml
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.