Exam 8: More About Processing Data
Exam 1: Introduction to Computers and Programming161 Questions
Exam 2: Introduction to Visual C#131 Questions
Exam 3: Processing Data176 Questions
Exam 4: Making Decisions78 Questions
Exam 5: Loops, Files, and Random Numbers112 Questions
Exam 6: Modularizing Your Code with Methods69 Questions
Exam 7: Arrays and Lists99 Questions
Exam 8: More About Processing Data90 Questions
Exam 9: Classes and Multiform Projects89 Questions
Exam 10: Inheritance and Polymorphism37 Questions
Exam 11: Databases69 Questions
Select questions type
In code, you can determine the number of images stored in an ImageList control by getting the value of the control's ____________ property.
(Multiple Choice)
4.8/5
(35)
Look at the following code sample that creates an array of Pet structure objects: struct Pet
{
Public string name;
Public int age;
Public string type;
}
Const int SIZE = 4;
Pet[] cats = new Pet[SIZE];
Which one of the following statements assigns the string "Pickles" to the name member of cats[2]?
(Multiple Choice)
4.7/5
(36)
Because char variables can hold only one character, they are not assignment-compatible with string variables.
(True/False)
4.9/5
(37)
The ____________ method returns the lowercase equivalent of a character.
(Multiple Choice)
4.9/5
(46)
The process of dividing a string into tokens is known as ____________.
(Multiple Choice)
4.9/5
(37)
When you declare an enumerated type, the enumerators are automatically assigned integer values, starting with 0, unless you provide other specific values.
(True/False)
4.8/5
(34)
Assume the following declarations:
enum Days { Mon, Tue, Wed, Thur, Fri, Sat };
Days day1 = Days.Tue;
int n = 3;
The following Boolean expression is valid:
day1 < n
(True/False)
4.9/5
(42)
Structure objects are normally passed ____________ to a method.
(Multiple Choice)
4.8/5
(43)
When you call a string object's Split method, the method extracts tokens from the string and returns them as an array of integers.
(True/False)
4.8/5
(36)
Look at the following code sample: enum Flavor { Vanilla, Strawberry, Chocolate }
Flavor iceCreamFlavor = Flavor.Strawberry;
MessageBox.Show(iceCreamFlavor + " is my favorite!");
Which one of the following strings will be displayed in the message box?
(Multiple Choice)
4.8/5
(25)
The ____________ methods return an integer value indicating the starting position of a substring within a string object.
(Multiple Choice)
4.9/5
(36)
A(n) ____________ is a data type you can create by specifying a set of symbolic names that belong to that data type.
(Multiple Choice)
4.9/5
(40)
Assume the following declarations:
enum Days { Mon, Tue, Wed, Thur, Fri, Sat };
Days day1 = Days.Tue;
Days day2 = Days.Thur;
The following Boolean expression is valid:
day1 < day2
(True/False)
4.9/5
(34)
You can use the assignment operator (=) to assign one structure object to another.
(True/False)
4.8/5
(39)
A string object's ____________ method returns true if the substring being searched for is contained within the string; otherwise it returns false.
(Multiple Choice)
4.8/5
(37)
The ____________ is a container that can hold multiple images.
(Multiple Choice)
4.8/5
(41)
In programming terms, ____________ are a series of words or other items of data contained in a string that are separated by spaces, commas, or other characters.
(Multiple Choice)
4.7/5
(39)
In C#, ____________ are enclosed in single quotation marks.
(Multiple Choice)
4.8/5
(41)
Look at the following code sample: enum Flavor { Vanilla, Strawberry, Chocolate }
Flavor iceCreamFlavor;
Which one of the following statements assigns the value Flavor.Vanilla to the iceCreamFlavor variable?
(Multiple Choice)
4.8/5
(35)
Showing 41 - 60 of 90
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)