Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Visual C#
Quiz 7: Arrays and Lists
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 41
Multiple Choice
A List object has a(n) ____________ that holds the number of items stored in the List.
Question 42
Multiple Choice
If you want to take out all items from a List object, call the ____________ method.
Question 43
Multiple Choice
You can use the ____________ to take out an item at a specific index in a List.
Question 44
Multiple Choice
You can call the ____________ method to insert an item at a specific index position in a List object.
Question 45
True/False
Memory allocated for a reference type variable is the actual location that will hold any value assigned to the variable.
Question 46
Multiple Choice
Look at the following code sample: int[,] values = { { 1, 2, 3, 4 }, { 5, 6, 7, 8 } }; What is the value stored in values[1, 2]?
Question 47
True/False
Reference variables can only reference objects.
Question 48
Multiple Choice
Which one of the following statements correctly creates a List object named friendsList that holds strings?
Question 49
Multiple Choice
A(n) ____________ is similar to an array, but it can expand at runtime.
Question 50
Multiple Choice
If you know the value of the item you want to take out from a List object, but you do not know the item's index, you can use the ____________.
Question 51
Multiple Choice
A(n) ____________ is similar to a two-dimensional array, but the rows can have a different number of columns.
Question 52
True/False
Data types in C# − and the underlying .NET Framework − fall into two categories: value types and reference types.
Question 53
Multiple Choice
List objects, like arrays, are always passed to methods ____________.
Question 54
Multiple Choice
Look at the following code sample: const int ROWS = 2; Const int COLS = 2; Int[,] grid = new int[ROWS, COLS]; What is the total number of elements in the grid array?
Question 55
True/False
You can store a variety of data types in an array.
Question 56
True/False
Creating a reference type object typically requires the following two steps, which can optionally be coded in a single program statement: 1. Declare a reference variable. 2. Create an object and associate it with the reference variable.