Exam 8: Advanced Collections

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

BinarySearch( ) is ____.

(Multiple Choice)
4.8/5
(32)

Which method in the string class might be useful to create a table with values number aligned?

(Multiple Choice)
4.9/5
(38)

Which of the following segments of code will display the first row of a two dimensional array?

(Multiple Choice)
4.8/5
(33)

With C#, you are limited to 10 dimensions for multi-dimensional arrays.

(True/False)
4.8/5
(36)

The string method that retrieves part of a string from a string argument is ____.

(Multiple Choice)
4.8/5
(37)

C# is a row major language, which means you specify the column index ____________ when you reference elements in a two-dimensional array.

(Short Answer)
4.9/5
(38)

The major requirement when working with arrays is the fact that all data values placed in an array must be of the ____________.

(Short Answer)
4.7/5
(38)

For a two-dimensional array, values are stored ____________ using a row major format.

(Short Answer)
4.7/5
(42)

Like traditional arrays, indexes of ArrayList objects are ____________.

(Short Answer)
4.9/5
(44)

One of the properties of the ArrayList class is ____.  It Gets or sets the number of elements that the ArrayList can contain.

(Multiple Choice)
5.0/5
(45)

C# uses a row major format for accessing arrays, which means that the elements are printed in rows. Every entry in the first column is printed before moving to the second column.

(True/False)
4.8/5
(35)

With a two dimensional array, when the number of columns in the rows differs, a jagged array can be created.

(True/False)
4.8/5
(48)

Normally you will want to use two integral values to reference individual elements in a two-dimensional array. If you use just one integral value, you get all of the values for that row.

(True/False)
4.9/5
(31)

A two dimensional array is accessed much like you access cells in a spreadsheet.

(True/False)
4.7/5
(45)

Collection classes are classes that enable you to store and retrieve various groups of objects.

(True/False)
4.7/5
(32)

string [ , ] name = new string [2, 3] {{"Alex", "Ben", "Cay"}, {"Jose", "Tyne", "Yin" }}; Looking above, what does name[0, 1] reference?

(Multiple Choice)
4.8/5
(43)

string sValue = "Life is about choices"; String [ ] sn = sValue.Split(' '); After the above segment of code is executed, where is "choices" stored?

(Multiple Choice)
4.8/5
(44)

The property ____________ returns the number of dimensions of the array.

(Short Answer)
4.8/5
(36)

____________ class represents a simple last-in-first-out (LIFO) collection of objects.

(Short Answer)
4.8/5
(40)

In C#, the string type allows individual characters to be accessed using a(n) ____________ with the [ ].

(Short Answer)
4.8/5
(40)
Showing 41 - 60 of 74
close modal

Filters

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