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 Collections75 Questions
Exam 9: Introduction to Windows Programming75 Questions
Exam 10: Programming Based on Events74 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 Applications75 Questions
Select questions type
string [ , ] name = new string [2, 3] {{"Alex", "Ben", "Cay"}, {"Jose", "Tyne", "Yin" }};
-Looking above,what does name[0,1] reference?
(Multiple Choice)
4.7/5
(88)
string [ , ] name = new string [2, 3] {{"Alex", "Ben", "Cay"}, {"Jose", "Tyne", "Yin" }};
-Which of the following returns the number of columns in a two-dimensional array?
(Multiple Choice)
4.8/5
(77)
There are several ways to do a compile-time initialization of two-dimensional arrays.All of the following are valid ways EXCEPT ____.
(Multiple Choice)
4.8/5
(73)
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.8/5
(81)
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.9/5
(66)
As with the ArrayList class,in order to instantiate objects of many of the collection classes,you need to include a using ____________.
(Short Answer)
4.8/5
(87)
If you override the GetHashCode( )method,you must also override the ____________ method to guarantee that two objects considered equal have the same hash code.Both are inherited from the object class.
(Short Answer)
4.9/5
(72)
The ____________ are defined to compare the contents of strings instead of comparing their addresses.
(Short Answer)
4.9/5
(89)
In order to determine the position of one or more characters inside a string argument,use the ____ method of the string class.
(Multiple Choice)
4.9/5
(78)
The method that deletes a number of characters beginning at a specified position is ____.
(Multiple Choice)
4.9/5
(59)
double [ , ] price = new double [2 , 5] {{1.1, 1.2, 1.3, 1.5, 1.4}{2.1, 2.2, 2.3, 2.5, 2.4}};
-Looking above,the value of price.Length is 10.
(True/False)
5.0/5
(83)
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.9/5
(80)
The ArrayList class requires you to add and remove elements to/from the structure using Push( )and Pop( )methods.
(True/False)
4.9/5
(72)
Which of the following is an example of a collection class?
(Multiple Choice)
4.8/5
(79)
In C#,the string type allows individual characters to be accessed using a(n)____________ with the [ ].
(Short Answer)
4.9/5
(83)
Showing 61 - 75 of 75
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)