Exam 8: More About Processing Data

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

A structure declaration does not create anything in memory.

(True/False)
4.8/5
(32)

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

(True/False)
4.8/5
(38)

A(n) ____________ is a data type you can create by specifying a set of symbolic values that belong to that data type.

(Multiple Choice)
4.8/5
(38)

You can use the assignment operator (=) to assign one structure object to another.

(True/False)
4.9/5
(43)

When you add a structure instance to a List, the List will contain a copy of the object.

(True/False)
4.9/5
(43)

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

Enumerators and enum variables can be compared directly with ____________ values.

(Multiple Choice)
4.8/5
(36)

In C#, you can only provide one delimiter per string that you wish to tokenize.

(True/False)
4.9/5
(31)

The character that separates tokens is known as a(n) ____________.

(Multiple Choice)
4.9/5
(35)

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

(Multiple Choice)
4.8/5
(47)

Subscript notation provides ____________ access to the individual characters in a string.

(Multiple Choice)
4.7/5
(28)

The ____________ method returns the lowercase equivalent of a character.

(Multiple Choice)
4.9/5
(47)

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

(Multiple Choice)
5.0/5
(39)

Look at the following code sample: 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.8/5
(37)

Before you can use a structure to store data, you must create a(n) ____________ of the structure in memory.

(Multiple Choice)
4.8/5
(47)

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

(True/False)
4.8/5
(35)

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

(True/False)
4.8/5
(38)

Which one of the character testing methods would you use to determine if a sentence uses proper capitalization?

(Multiple Choice)
4.7/5
(30)

Structures are value types, so creating an instance of a structure is as simple as declaring a variable.

(True/False)
4.9/5
(39)

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.8/5
(40)
Showing 21 - 40 of 87
close modal

Filters

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