Exam 11: Introduction to Linq

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

LINQ enables you to write queries,similar to SQL,that retrieve information from a wide variety of data sources,but LINQ's syntax is built into Visual Basic.

Free
(True/False)
4.8/5
(25)
Correct Answer:
Verified

True

In a LINQ query,the Where clause specifies .

Free
(Multiple Choice)
4.8/5
(35)
Correct Answer:
Verified

C

The Order By clause sorts the query results in descending order by default.

Free
(True/False)
4.8/5
(32)
Correct Answer:
Verified

False

LINQ to Objects works with objects that implement the __________ interface,which enables a program to iterate over a collection of data.

(Multiple Choice)
4.8/5
(51)

In a LINQ query,the From clause specifies a range variable and the data source to query.The range variable represents each item in the data source.

(True/False)
4.9/5
(31)

LINQ infers the type of a range variable based on the query's data source.

(True/False)
5.0/5
(30)

The range variable is implicitly defined in the _____ clause and used to produce results in the ______ clause

(Multiple Choice)
4.9/5
(27)

Most LINQ capabilities are defined as constructor methods for the IEnumerable interface.You can call these on any IEnumerable object.

(True/False)
5.0/5
(29)

A LINQ query returns an IEnumerable object.

(True/False)
4.9/5
(40)

LINQ's Order By clause can __________ objects in the result according to multiple properties specified in a comma-separated list.

(Multiple Choice)
5.0/5
(24)

If the condition in the Where clause evaluates to True,the element is selected (included in the query results).

(True/False)
4.7/5
(36)

With LINQ,the IDE provides full IntelliSense support for the anonymous types generated by the compiler.

(True/False)
4.8/5
(37)

String method __________determines whether a String starts with the String in the method's argument.

(Multiple Choice)
4.8/5
(39)

The __________ clause prevents duplicate values from appearing in the query results.

(Multiple Choice)
4.9/5
(23)

With LINQ any Integer expression can be used in a Where clause.

(True/False)
4.8/5
(33)

LINQ works with arrays because they implement the IEnumerable interface.

(True/False)
4.8/5
(36)

LINQ uses a technique called __________-a query executes only when you iterate over the results,not when the query is defined.This allows you to create a query once and execute it many times.

(Multiple Choice)
4.8/5
(37)

The Select clause can be used to transform the values in a query result.

(True/False)
4.9/5
(29)

String method __________ returns a String with uppercase letters.

(Multiple Choice)
4.8/5
(35)

A database management system (DBMS)provides mechanisms for storing,organizing,retrieving and modifying data contained in the database.

(True/False)
4.9/5
(42)
Showing 1 - 20 of 29
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)