View Count: 0
Duration: 22 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 29 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 17 mins
Accessed date:
Not Yet Viewed
Post your comment / feedback here
 
 

Be the first one to comment about this video

Sorry!For this module there is no Sample Code.
Question No: 1 of 15
Which of the following is true regarding CAML? 
Options:
  1. CAML(Collaborative Application Markup language) is an XML based language.
  2. It is used by SharePoint to define the fields and views that are used in sites and lists.
  3. It is supported by SharePoint webservices and by the SharePoint Object Model.
  4. All the above.
View Answer/Explanation:
d
Explanation:
It can be used to do the following activities in SharePoint:- Provide schema definition to the Web site provisioning system about how the site looks and acts. Define views and forms for data and page rendering or execution. Act as a rendering language that performs functions in the DLL like pulling a value from a particular field. Provide batch functionality for posting multiple commands to the server using protocol. A simple CAML query is as follows: Value

Question No: 2 of 15
Which types of rendering does CAML support in SharePoint? 
Options:
  1. Data Defining Elements
  2. HTML-Rendering elements
  3. All the above
View Answer/Explanation:
c
Explanation:
Collaborative Application Markup Language (CAML) has two major kinds of elements for page rendering and for field rendering. Page Rendering:- (to construct HTML that is displayed in the browser) Field Rendering:- (to define the type of data that is contained within a field)

Question No: 3 of 15
CAML queries are faster than SharePoint to LINQ queries? 
Options:
  1. Yes
  2. No
View Answer/Explanation:
a
Explanation:
When you use LINQ queries, they are internally converted to CAML queries at run time and so require an additional step and so CAML is faster than LINQ

Question No: 4 of 15
Which class do you use to frame a CAML query? 
Options:
  1. CAMLQuery
  2. SPQuery
  3. SiteQuery
  4. None of the above
View Answer/Explanation:
b
Explanation:
SPQuery query = newSPQuery(); query.ViewFields = @""; query.Query = @" 10 "; SPList list = web.Lists.TryGetList("Courses"); SPListItemCollection items = list.GetItems(query);

Question No: 5 of 15
What property of SPQuery class is used to limit the no of rows returned by the CAML Query? 
Options:
  1. PageRowLimit
  2. RowLimit
  3. PageSizeLimit
  4. PageRowLimit
View Answer/Explanation:
b
Explanation:
SPQuery.RowLimit property allows you to set how many rows you need in the result Ex:- SPQueryqry = newSPQuery(); qry.RowLimit = 10;

Question No: 6 of 15
What property of SPQuery is used to specify the fields required in the view? 
Options:
  1. GetFields
  2. ViewFields
  3. ProjectedFields
  4. Non of the above
View Answer/Explanation:
b
Explanation:
The ViewFields property has a string that refers to the inner XML of the ViewFields element in CAML. Ex:- query.ViewFields = string.Concat( "", "", "", "");

Question No: 7 of 15
The result of CAML queries are only known at runtime. 
Options:
  1. True
  2. False
View Answer/Explanation:
a
Explanation:
No Explanation

Question No: 8 of 15
Which of the following is true regarding SharePoint to LINQ provider? 
Options:
  1. LINQ queries are internally converted to CAML queries by SharePoint
  2. It provides strongly typed objects and so we have intellisense while coding
  3. The DataContext class has to be regenerated if new columns are added to the SharePoint list
  4. All the above
View Answer/Explanation:
d
Explanation:
No Explanation

Question No: 9 of 15
What is the command line tool used to generate the entity classes when using SharePoint to LINQ Provider? 
Options:
  1. Splinq.exe
  2. Spmetal.exe
  3. Sharepointlinq.exe
  4. None of the above
View Answer/Explanation:
b
Explanation:
SPMetal is a command-line tool that generates entity classes, which provide an object-oriented interface to the Microsoft SharePoint Foundation content databases. It is used to generate the DataContext class which is can be used to generate LINQ queries.

Question No: 10 of 15
The dll Microsoft.SharePoint.Linq is located under which path? 
Options:
  1. C:\Program Files\Common Files\Microsoft Shared\Web server Extensions\15\ISAPI
  2. C:\Program Files\Common Files\Microsoft Shared\Web server Extensions\15\Template\ClientBin
View Answer/Explanation:
a
Explanation:
The dll is located at the following path:- C:\Program Files\Common Files\Microsoft Shared\Web server Extensions\15\ISAPI

  1