Exam 8: More About Processing Data

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

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

Free
(True/False)
4.9/5
(43)
Correct Answer:
Verified

True

The ____________ method returns true if the string object starts with the substring or false otherwise.

Free
(Multiple Choice)
4.8/5
(32)
Correct Answer:
Verified

C

In programming terms, an instance and an object are the same thing.

Free
(True/False)
4.9/5
(37)
Correct Answer:
Verified

True

Because char variables can hold only one character, they are not compatible with strings.

(True/False)
4.9/5
(41)

If the argument is already uppercase, the char.ToLower method returns it unchanged.

(True/False)
4.9/5
(44)

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.7/5
(48)

Objects of the string data type have several methods that allow you to search for substrings.

(True/False)
4.9/5
(36)

In order to compare two structure objects, you must compare the individual ____________ of each structure object.

(Multiple Choice)
4.8/5
(32)

You can assign an enumerator directly to an int variable.

(True/False)
4.8/5
(39)

Enumerators and enum variables can be compared using relational operators.

(True/False)
4.9/5
(44)

C# allows you to access the individual characters in a string using ____________.

(Multiple Choice)
4.9/5
(36)

Which one of the character testing methods would you use to determine that a string contains only letters and numbers?

(Multiple Choice)
4.9/5
(37)

The methods for modifying strings do not actually modify the calling string object, but they return a modified copy of the calling string object.

(True/False)
4.7/5
(36)

The ____________ is a container that can hold multiple images.

(Multiple Choice)
4.9/5
(35)

If you find yourself using a structure for more than simply encapsulating a set of variables into a single item, you should probably use a class.

(True/False)
4.7/5
(40)

You will find the ImageList control in the Components section of the Toolbox.

(True/False)
4.7/5
(41)

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

(Multiple Choice)
4.7/5
(37)

Structure objects are normally passed ____________ to a method.

(Multiple Choice)
4.9/5
(29)

When you need to convert a char variable to a string, you can call its ____________ method.

(Multiple Choice)
4.9/5
(41)

Look at the following code sample: struct Pet { Public string name; Public int age; Public string type; } Which one of the following statements declares an instance of a Pet structure named hound and initializes the object's fields with their default values?

(Multiple Choice)
4.9/5
(36)
Showing 1 - 20 of 87
close modal

Filters

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