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
-
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.
-
Site Collection = SPSite
-
Site Collection = SPWeb
-
Sub Site = SPWeb
-
Sub Site = SPSite
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.
-
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
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.
-
Introducing new methods.
-
Adding components to specific areas of a container.
-
Starting an applet.
-
Specifying font size and color.
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.
-
Site Collection = SPSite
-
Site Collection = SPWeb
-
Sub Site = SPWeb
-
Sub Site = SPSite
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.
-
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
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.
-
Introducing new methods.
-
Adding components to specific areas of a container.
-
Starting an applet.
-
Specifying font size and color.
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.
-
Click the Filter button
-
Click the funnel button
-
Click the view button
-
None of the above
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.
-
Project Properties Window
-
Tool Bar
-
Tool Box window
-
Project explorer
A
Correct answer
Explanation
The Project Properties Window is where you would see a Categorized view or an Alphabetical View. This is different from the Tool Bar, Tool Box window, and Project explorer which serve different purposes in the IDE.