Exam 25: The Missing Linq Querying a Database

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

The LINQ ____ operator returns a single value from a group of values.

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

D

The basic syntax to use the LINQ to select and arrange records in a data set is ____.

Free
(Multiple Choice)
4.7/5
(33)
Correct Answer:
Verified

B

If you are sorting records in ascending order, you need to include the keyword Ascending in the Order By clause.

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

False

The basic syntax for assigning a LINQ variable's contents to a BindingSource object is ____.

(Multiple Choice)
4.8/5
(36)

A dataset is stored in the computer's internal memory while the application is running.

(True/False)
4.8/5
(36)

You can create a query in Visual Basic 2010 using a language feature called ____.

(Multiple Choice)
4.8/5
(47)

The syntax for LINQ requires you to specify the variable's data type.

(True/False)
5.0/5
(32)

The ____ operator returns the smallest value in the group.

(Multiple Choice)
4.7/5
(42)

In addition to using LINQ to sort and select the records in a dataset, you also can use it to perform arithmetic calculations on the fields in the records.

(True/False)
4.7/5
(36)

In a query, the ____ clause is used to limit the records you want to view.

(Multiple Choice)
4.8/5
(44)

A dataset is a copy of the fields and records the application can access from a database.

(True/False)
4.9/5
(30)

You use a(n) ____ to specify both the records to select in a dataset and the order in which to arrange the records.

(Multiple Choice)
4.8/5
(43)

The LINQ statement merely selects the records but does not assign them to the records variable.

(True/False)
4.9/5
(39)

The following syntax selects all of the records in the dataset: Dim records = From employee In EmployeesDataSet.tblEmploy Select employee

(True/False)
4.8/5
(27)

In a query, the Where and Order By clauses are optional parts of the syntax.

(True/False)
4.7/5
(43)

Similar to the condition in If…Then…Else and Do…Loop statements, the ____ clause specifies a requirement that must be met for a record to be selected.

(Multiple Choice)
4.9/5
(42)

The only calculations that are performed using the LINQ aggregate methods are Average and Count.

(True/False)
4.8/5
(37)

The Total operator returns the sum of the values in the group.

(True/False)
4.9/5
(45)

In a query, the ____ clause is used to sort the records in either ascending (the default) or descending order by one or more fields.

(Multiple Choice)
4.9/5
(39)
close modal

Filters

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