Review Questions
SharePoint is a web-based, collaborative platform that integrates with Microsoft Office.
1. What is the highest-level object in the SharePoint hierarchy?
 The SPFarm object is the highest object within the Windows SharePoint Services
object model hierarchy.
2. Which object corresponds to an IIS Web site?

3. What is the difference between an SPSite object and an SPWeb object?
The SPSite
 object represents a collection of sites, i.e. Site Collection, a top-level site and all its
sub sites.
 It is used to get a sub site of a Site Collection.
 It is represented within an SPSiteCollection object that consists of the collection of
all site collections in the Web application.
 It contains the various subsites and the information regarding them.
Spweb
 The SPWeb object represents an instance of a SharePoint Web, and the SPWeb
object contains things like the actual content.
 It represents a SharePoint Foundation website.
 SPWeb object automatically adds the new SPWeb object to an internal list.
 It contains things like the actual content.
4. Which objects support the IDispose interface?
 .NET Framework that support the IDispose interface.
5. In which general scenarios should you dispose of SPSite objects and SPWeb objects?
 should you dispose of SPSite objects and SPWeb objects by "using"-construct
6. When should you not dispose of SPSite objects and SPWeb objects?
 It is about the object that created SPSite or SPWeb, is the owner of the object, or even
better is the Information Expert. As your user code did not create the Site or Web
object, is not the owner and hasn't the right information when to dispose it, it is not
responsible for disposing that object.
7. Describe some of the operations you can perform by using SharePoint Designer.
 View the list of workflows that are available for a document or item.
 Start a workflow on a document or item.
 View, edit, or reassign a workflow task.
 Complete a workflow task.
8. List and describe some of the SharePoint project types supported by Visual Studio 2010.
Visual Studio 2010 provides tight integration with SharePoint 2010 and includes templates for
different
types of SharePoint projects. When you create a new project in Visual Studio 2010, you can select
one of
the following project types:
• Empty SharePoint Project. Although this type of project does not contain any items, it enables you
to add any type of SharePoint project item to it. As such, you can set up the project with your
selected options (see the section titled “Creating SharePoint Projects” later in this topic), and then
decide which items you require.
• Visual Web Part. This project type includes a default user control (.ascx file) that you can use to
design a graphical user interface and a Web Part that is preconfigured to load the user control at
run
time.
• Sequential Workflow. A sequential workflow represents a business process with a well-defined
start
and end.
• State Machine Workflow. A state machine workflow represents a business process where an item
can move between two or more different states in no predefined order.
• Business Data Connectivity Model. With this project type, you can develop more sophisticated,
powerful, and complex solutions for connecting to line-of-business data than you could achieve with
2-10 Microsoft® SharePoint® 2010, Application Development
SharePoint Designer 2010.
• Event Receiver. In this type of project, you can add your code such that it can be run automatically
by the SharePoint event subsystem when a specific event (or type of event) occurs.
• List Definition. With this project type, you can create templates from which information workers
and
site administrators can create lists and libraries. You can also choose to add a list instance at the
same
time as creating a list definition project. You learn about list definitions and list instances later in this
lesson.
• Content Type. In this project type, you can create content types and their associated schemas and
behaviors. You work with content types throughout this course.
• Site Definition. With this project type, you can create templates from which information workers
and
site administrators can create entire sites. Site definitions can include multiple list definitions,
multiple
list instances, list data, event receivers, content types, Web Parts, and other SharePoint artifacts.
9. List and describe some of the SharePoint project item types supported by Visual Studio 2010.

10. What are the differences between deploying solutions from Visual Studio 2010 and deploying
them by using Windows Power Shell?
 Deploying solutions from Visual Studio 2010
 A solution package is a distribution package that delivers your custom
SharePoint Server 2010 development work to the Web servers or the
application servers in your server farm.
 Deploying them by using Windows Power Shell
 perform many of the tasks that can be performed by using the Deployment
Manager user interface. easily run deployment commands to change the
configuration of your deployment,
11. A standard Web Part consists of what?
 Create the web part's code files in your web project.
 Register the web part in the system.
12. What types of Web Parts expose data in connected Web Part scenarios?
 The Provider web part
13. What types of Web Parts retrieve data from other Web Parts in connected Web Part scenarios?
 Consumer web part
14. Why do you need to create interfaces for connected Web Parts?
 because that allow Web Parts to exchange information with each other at run
time.
15. A Visual Web Part consists of what?
 consists of Web Part Pages
16. What are different perceptions of users, administrators, and developers about a Visual Web
Part?

Fill in the blank:
1) SPFarm objects are the highest-level object in the hierarchy and, as their name implies, they
represent the SharePoint farm.
2) SPService objects represent farmwide services, such as Forms Services, Access Services,
PerformancePoint Services, SharePoint Server Search Service, Excel Calculation Services, User
Profile Service, Business Data Connectivity Service, Managed Metadata Services, and many
more.
3) SPSite objects represent site collections, which are generally the largest-scoped object with
which information workers typically interact.
4) SPList objects are the primary container for SharePoint data, such as SPListItem objects.
SPListItem objects may contain native SharePoint data, documents, site pages, images and other
media, and lookups to other list data.
5) Empty SharePoint Project does not contain any items, it enables you to add any type of
SharePoint project item to it. As such, you can set up the project with your selected options and
then decide which items you require.
6) Visual Web Part Project type includes a default user control (.ascx file) that you can use to
design a graphical user interface and a Web Part that is preconfigured to load the user control at
run time.
7) Sequential Workflow represents a business process with a well-defined start and end.
8) State Machine Workflow represents a business process where an item can move between two
or more different states in no predefined order.
9) Business Data Connectivity Model. With this project type, you can develop more sophisticated,
powerful, and complex solutions for connecting to line-of-business data than you could achieve
with SharePoint Designer 2010.

Share point review qustions

  • 1.
    Review Questions SharePoint isa web-based, collaborative platform that integrates with Microsoft Office. 1. What is the highest-level object in the SharePoint hierarchy?  The SPFarm object is the highest object within the Windows SharePoint Services object model hierarchy. 2. Which object corresponds to an IIS Web site?  3. What is the difference between an SPSite object and an SPWeb object? The SPSite  object represents a collection of sites, i.e. Site Collection, a top-level site and all its sub sites.  It is used to get a sub site of a Site Collection.  It is represented within an SPSiteCollection object that consists of the collection of all site collections in the Web application.  It contains the various subsites and the information regarding them. Spweb  The SPWeb object represents an instance of a SharePoint Web, and the SPWeb object contains things like the actual content.  It represents a SharePoint Foundation website.  SPWeb object automatically adds the new SPWeb object to an internal list.  It contains things like the actual content. 4. Which objects support the IDispose interface?  .NET Framework that support the IDispose interface. 5. In which general scenarios should you dispose of SPSite objects and SPWeb objects?  should you dispose of SPSite objects and SPWeb objects by "using"-construct 6. When should you not dispose of SPSite objects and SPWeb objects?  It is about the object that created SPSite or SPWeb, is the owner of the object, or even better is the Information Expert. As your user code did not create the Site or Web object, is not the owner and hasn't the right information when to dispose it, it is not responsible for disposing that object. 7. Describe some of the operations you can perform by using SharePoint Designer.  View the list of workflows that are available for a document or item.  Start a workflow on a document or item.  View, edit, or reassign a workflow task.  Complete a workflow task. 8. List and describe some of the SharePoint project types supported by Visual Studio 2010. Visual Studio 2010 provides tight integration with SharePoint 2010 and includes templates for different types of SharePoint projects. When you create a new project in Visual Studio 2010, you can select one of the following project types: • Empty SharePoint Project. Although this type of project does not contain any items, it enables you to add any type of SharePoint project item to it. As such, you can set up the project with your
  • 2.
    selected options (seethe section titled “Creating SharePoint Projects” later in this topic), and then decide which items you require. • Visual Web Part. This project type includes a default user control (.ascx file) that you can use to design a graphical user interface and a Web Part that is preconfigured to load the user control at run time. • Sequential Workflow. A sequential workflow represents a business process with a well-defined start and end. • State Machine Workflow. A state machine workflow represents a business process where an item can move between two or more different states in no predefined order. • Business Data Connectivity Model. With this project type, you can develop more sophisticated, powerful, and complex solutions for connecting to line-of-business data than you could achieve with 2-10 Microsoft® SharePoint® 2010, Application Development SharePoint Designer 2010. • Event Receiver. In this type of project, you can add your code such that it can be run automatically by the SharePoint event subsystem when a specific event (or type of event) occurs. • List Definition. With this project type, you can create templates from which information workers and site administrators can create lists and libraries. You can also choose to add a list instance at the same time as creating a list definition project. You learn about list definitions and list instances later in this lesson. • Content Type. In this project type, you can create content types and their associated schemas and behaviors. You work with content types throughout this course. • Site Definition. With this project type, you can create templates from which information workers and site administrators can create entire sites. Site definitions can include multiple list definitions, multiple list instances, list data, event receivers, content types, Web Parts, and other SharePoint artifacts. 9. List and describe some of the SharePoint project item types supported by Visual Studio 2010.  10. What are the differences between deploying solutions from Visual Studio 2010 and deploying them by using Windows Power Shell?  Deploying solutions from Visual Studio 2010  A solution package is a distribution package that delivers your custom SharePoint Server 2010 development work to the Web servers or the application servers in your server farm.  Deploying them by using Windows Power Shell  perform many of the tasks that can be performed by using the Deployment Manager user interface. easily run deployment commands to change the configuration of your deployment, 11. A standard Web Part consists of what?  Create the web part's code files in your web project.  Register the web part in the system. 12. What types of Web Parts expose data in connected Web Part scenarios?
  • 3.
     The Providerweb part 13. What types of Web Parts retrieve data from other Web Parts in connected Web Part scenarios?  Consumer web part 14. Why do you need to create interfaces for connected Web Parts?  because that allow Web Parts to exchange information with each other at run time. 15. A Visual Web Part consists of what?  consists of Web Part Pages 16. What are different perceptions of users, administrators, and developers about a Visual Web Part?  Fill in the blank: 1) SPFarm objects are the highest-level object in the hierarchy and, as their name implies, they represent the SharePoint farm. 2) SPService objects represent farmwide services, such as Forms Services, Access Services, PerformancePoint Services, SharePoint Server Search Service, Excel Calculation Services, User Profile Service, Business Data Connectivity Service, Managed Metadata Services, and many more. 3) SPSite objects represent site collections, which are generally the largest-scoped object with which information workers typically interact. 4) SPList objects are the primary container for SharePoint data, such as SPListItem objects. SPListItem objects may contain native SharePoint data, documents, site pages, images and other media, and lookups to other list data. 5) Empty SharePoint Project does not contain any items, it enables you to add any type of SharePoint project item to it. As such, you can set up the project with your selected options and then decide which items you require. 6) Visual Web Part Project type includes a default user control (.ascx file) that you can use to design a graphical user interface and a Web Part that is preconfigured to load the user control at run time. 7) Sequential Workflow represents a business process with a well-defined start and end. 8) State Machine Workflow represents a business process where an item can move between two or more different states in no predefined order. 9) Business Data Connectivity Model. With this project type, you can develop more sophisticated, powerful, and complex solutions for connecting to line-of-business data than you could achieve with SharePoint Designer 2010.