Exam 8: Advanced Collections
Exam 1: Introduction to Computing and Programming75 Questions
Exam 2: Data Types and Expressions75 Questions
Exam 3: Methods and Behaviors75 Questions
Exam 4: Creating Your Own Classes75 Questions
Exam 5: Making Decisions75 Questions
Exam 6: Repeating Instructions75 Questions
Exam 7: Arrays75 Questions
Exam 8: Advanced Collections74 Questions
Exam 9: Introduction to Windows Programming75 Questions
Exam 10: Programming Based on Events75 Questions
Exam 11: Advanced Object-Oriented Programming Features75 Questions
Exam 12: Debugging and Handling Exceptions75 Questions
Exam 13: Working With Files75 Questions
Exam 14: Working With Databases75 Questions
Exam 15: Web-Based Applications73 Questions
Select questions type
Which of the following is an example of a collection class?
(Multiple Choice)
4.9/5
(36)
For a declaration such as, int [ , ] anArray = new int [6, 5], a total of 11 memory locations can be accessed using the identifier anArray.
(True/False)
4.9/5
(38)
The ____________ are defined to compare the contents of strings instead of comparing their addresses.
(Short Answer)
4.8/5
(33)
int [ , ] score = {{88, 66, 76, 92, 95} {67, 88, 45, 99, 80}}; int total = 0;
Foreach (int val in score)
Total += val;
Using the code shown above, what is added to total during the first iteration?
(Multiple Choice)
4.7/5
(37)
The ArrayList does not allow you to mix types. All elements must be of the same data type.
(True/False)
4.8/5
(38)
The ArrayList class can be used to create a listlike structure that can dynamically increase or decrease in length.
(True/False)
4.8/5
(39)
C# also includes a generic ____________ class that is very similar to the ArrayList class. The primary difference between the two classes is that objects do not have to be the same type when they are pushed on an ArrayList, unlike the other class, which requires all objects to be of the same type..
(Short Answer)
4.8/5
(36)
The method that deletes a number of characters beginning at a specified position is ____.
(Multiple Choice)
4.8/5
(38)
string sValue = "Life is about choices";
String [ ] sn = sValue.Split(' ');
Using the Substring( ) method with sValue, which of the following references the word choices?
(Multiple Choice)
4.9/5
(36)
Which class represents a First-In-First-Out (FIFO) collection, which is useful for storing objects in the order they were received for sequential processing?
(Multiple Choice)
4.8/5
(35)
The GetLength( ) method can be called to return the number of rows or columns.
(True/False)
4.8/5
(46)
The ____________ property can be used with multidimensional arrays to get the total number of elements in all dimensions.
(Short Answer)
4.8/5
(38)
Showing 61 - 74 of 74
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)