1- A programmer wants to create an array that will hold 10 strings. Which of the following lines is the correct way of doing so?
A. String a = new string[9][];
B. String[] a = new string[10];
C. String[] a = new string[9];
D. String a = new string[10][];
2- Arrays may have __________ dimensions.
A. one
B. two
C. more than two
D. All of the above
3- To receive arguments of varying length for a method, the programmer can use the __________ keyword in the method declaration.
A. params
B. args
C. string
D. array
4- An array stores a number of items. Each individual variable in the group is referred to as a(n):
A. element.
B. index.
C. length.
D. initial value.
5- Using LINQ against data stored in arrays such as a list is called:
A. LINQ to SQL.
B. LINQ to XML.
C. LINQ to Objects.
D. LINQ to Lists.
6- When writing a LINQ query, the compiler can infer the query’s data type by using the __________ keyword to declare a variable.
A. var
B. from
C. select
D. orderby





