Exam 9: Introduction to Linq and Generic Collections

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

The ________ extension method is typically used to determine whether a LINQ query's results are non-empty.

Free
(Multiple Choice)
4.9/5
(36)
Correct Answer:
Verified

A

Visual C# requires you to write SQL to query data sources.

Free
(True/False)
4.9/5
(33)
Correct Answer:
Verified

False

What method returns the number of items in LINQ query result q

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

D

Unlike arrays,lists do not resize automatically.

(True/False)
4.7/5
(39)

A let clause is used to create _______.

(Multiple Choice)
4.9/5
(34)

Elements can be added at any location within an array after it's created.

(True/False)
5.0/5
(27)

You can sort a LINQ query's results only by one property.

(True/False)
4.9/5
(39)

You can sort a LINQ query's results only by one property.

(True/False)
4.8/5
(37)

A List< T > can automatically resize itself to accommodate additional elements.

(True/False)
4.7/5
(30)

The international standard for querying relational databases is called:

(Multiple Choice)
4.7/5
(27)

Which of the following statements about LINQ is false

(Multiple Choice)
4.9/5
(29)

In a LINQ query,the where clause specifies          .

(Multiple Choice)
4.8/5
(32)

The Capacity property indicates the number of elements stored in the List< T >.

(True/False)
4.9/5
(38)

The ________ extension method indicates that only unique values should be included in a LINQ query's results.

(Multiple Choice)
4.8/5
(37)

You can sort a LINQ query's results only by one property.

(True/False)
5.0/5
(37)

LINQ is used to query collections in the same way it's used to query arrays.

(True/False)
4.8/5
(34)

If multiple properties are listed in the select clause,the results will be of type SelectedList.

(True/False)
5.0/5
(26)

A List< T > is similar to an array,but can also _________.

(Multiple Choice)
4.8/5
(41)

The ________ extension method is returns the number of results in a LINQ query.

(Multiple Choice)
4.9/5
(33)

The results of a LINQ query can have only the same type as the data being queried-for example,a LINQ query on a collection of Employee objects will always have Employee objects in the results.

(True/False)
4.8/5
(30)
Showing 1 - 20 of 27
close modal

Filters

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