Exam 8: More About Processing Data

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

Look at the following code sample: struct Pet { Public string name; Public int age; Public string type; } Pet hound = new Pet(); Which one of the following statements assigns the string "Beagle" to the hound object's type field?

(Multiple Choice)
4.8/5
(31)

Which one of the following character testing methods would you use to verify whether or not a password contains spaces?

(Multiple Choice)
4.8/5
(40)

The images stored in an ImageList control do not have to be in the same format.

(True/False)
4.9/5
(28)

Because enumerators represent integer values, they can be used in a loop to step through the element of an array.

(True/False)
4.7/5
(35)

When you tokenize a string entered by the user and the string contains characters other than white spaces as delimiters, you do not need to trim the string before tokenizing it.

(True/False)
4.9/5
(41)

You cannot perform comparison operations directly on structure objects.

(True/False)
4.8/5
(37)

Character testing methods, such as char.IsLetter, return a Boolean value of

(True/False)
4.9/5
(41)

When you pass null as an argument to the Split method, the method tokenizes the string using the comma character as the delimiter.

(True/False)
4.8/5
(42)

Before tokenizing a string, you should use the ____________ method to remove leading and/or trailing white-space characters and prevent them from being included in the first and last tokens.

(Multiple Choice)
4.9/5
(46)

____________ are spaces that appear at the beginning of a string.

(Multiple Choice)
4.9/5
(43)

When you double-click the ImageList tool in the Toolbox, an ImageList control is placed directly on the surface of the current form.

(True/False)
4.9/5
(37)

The ____________ method returns true if a string object ends with a specific substring value, or false otherwise.

(Multiple Choice)
4.9/5
(26)

You can specify specific values to be assigned to the enumerators in an enumerated data type.

(True/False)
4.8/5
(43)

____________ are spaces that appear at the end of a string.

(Multiple Choice)
4.8/5
(34)

When the items in two data structures are related by their indexes, it is said that a(n) ____________ exists between the data structures.

(Multiple Choice)
4.9/5
(34)

Look at the following code sample: string tree = "Pear"; Char letter = tree[3]; Which one of the following values is stored in the letter variable?

(Multiple Choice)
4.9/5
(44)

You can set the ImageSize property of an ImageList control to any value from 0,0 through 256,256.

(True/False)
4.9/5
(39)

Look at the following code sample: enum Flavor { Vanilla, Strawberry, Chocolate } The identifiers Vanilla, Strawberry, and Chocolate, which appear inside the braces, are known as ____________.

(Multiple Choice)
4.8/5
(31)

The ____________ method removes all leading and trailing spaces from a string.

(Multiple Choice)
4.8/5
(31)

The ____________ method places a string inside another string.

(Multiple Choice)
4.8/5
(34)
Showing 61 - 80 of 90
close modal

Filters

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