Exam 8: More About Processing Data

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

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

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

(Multiple Choice)
4.9/5
(29)

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

(Multiple Choice)
4.9/5
(41)

When the data in a spreadsheet is exported using the ____________ file format, each row is written to a line, and the values of the cells are separated by commas.

(Multiple Choice)
4.9/5
(39)

Which one of the character testing methods would you use to determine if a sentence contains capital letters?

(Multiple Choice)
4.9/5
(46)

If you know the ____________ value for a particular image, you can retrieve that image from the ImageList control and display it in a PictureBox.

(Multiple Choice)
4.7/5
(41)

The string data type has several methods that allow you to search for substrings.

(True/False)
4.9/5
(47)

To convert a char variable to a string, call its ____________ method.

(Multiple Choice)
4.9/5
(39)

Like strings, enumerators must be enclosed in quotation marks.

(True/False)
4.9/5
(40)

1111111 -In C#, you can only provide one delimiter per string that you wish to tokenize when calling the Split method.

(Short Answer)
4.8/5
(39)

A string object's ToUpper method converts the first character in the string to uppercase.

(True/False)
4.8/5
(30)

The programming terms instance and an object have the same meaning.

(True/False)
4.8/5
(42)

A(n) ____________ is an object you can create that contains one or more variables known as fields.

(Multiple Choice)
4.7/5
(35)

Structures are value types, so a structure object contains all of its data at the variable's memory location.

(True/False)
4.9/5
(31)

You can convert an enumerator to its underlying integer type by using a(n) ____________.

(Multiple Choice)
5.0/5
(37)

When you create a structure array, each element of the array is structure instance and the fields of each instance are initialized to either zero or null (for fields that are reference variables).

(True/False)
4.8/5
(42)

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

(True/False)
4.9/5
(34)

Which one of the following is not a valid enumerated type declaration?

(Multiple Choice)
4.9/5
(36)

Look at the following code sample: enum Flavor { Vanilla, Strawberry, Chocolate } Which of the following statements assigns the Flavor enumerated type value to The integer variable?

(Multiple Choice)
5.0/5
(34)

The ____________ method removes specified characters from a string.

(Multiple Choice)
4.8/5
(38)
Showing 21 - 40 of 90
close modal

Filters

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