Exam 3: Processing Data

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

A form's BackgroundImageLayout property is similar to the PictureBox control's SizeMode property.

(True/False)
5.0/5
(38)

Which one of the following statements initializes a variable with a decimal literal?

(Multiple Choice)
4.8/5
(40)

A form's field values remain in memory as long as the form itself.

(True/False)
4.9/5
(36)

A(n) ____________ variable belongs to the method in which it is declared, and only statements inside that method can access the variable.

(Multiple Choice)
4.8/5
(43)

If you need to store numbers and perform mathematical operations on them, you have to use a numeric data type.

(True/False)
4.8/5
(39)

The Math class provides two predefined named constants, Math.PI and Math.E, which are assigned mathematical values for pi and e.

(True/False)
4.9/5
(33)

GroupBox controls do not have their own TabIndex property.

(True/False)
4.8/5
(26)

Which one of the following statements declares the string variables city, state, and zip using a single declaration statement?

(Multiple Choice)
4.9/5
(38)

When a user types something into a TextBox control, the input is stored in the control's ____________ property.

(Multiple Choice)
4.7/5
(47)

A double variable is stored in a format that programmers call double precision floating-point notation.

(True/False)
4.7/5
(35)

An error occurs if a statement in one method tries to access a local variable declared inside another method.

(True/False)
4.7/5
(39)

The ____________ method can be used to convert a string to a double.

(Multiple Choice)
4.9/5
(43)

A variable declaration specifies three things about a variable: its data type, name, and location in memory.

(True/False)
4.8/5
(40)

A field is visible to all methods within the same class.

(True/False)
4.7/5
(38)

A ____________ is a variable that is declared inside a class but not inside of any method.

(Multiple Choice)
4.8/5
(35)

A math expression involving a double and a(n) ____________ is not allowed unless a cast operator is used to convert one of the operands.

(Multiple Choice)
4.9/5
(43)

Which one of the following statements clears the Text property of a TextBox control named addressTextBox?

(Multiple Choice)
4.9/5
(40)

Which one of the following statements changes the form's BackColor property to Blue?

(Multiple Choice)
4.9/5
(39)

When an operation is performed on two double values, the result will be a(n) ____________.

(Multiple Choice)
4.8/5
(40)

Please examine the following code sample: int distance; // Declare distance as an int Double half; // Declare half as a double Distance = 35; // Assign 35 to distance Half = distance / 2; // Calculate half the distance What value is assigned to the half variable?

(Multiple Choice)
4.7/5
(40)
Showing 121 - 140 of 176
close modal

Filters

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