Exam 3: Processing Data

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

When a math expression involves an int and a decimal, the int is temporarily converted to a(n) ____________, and the result is a decimal.

(Multiple Choice)
4.9/5
(64)

You can clear the contents of a TextBox control in the same way that you clear the contents of a Label control: you assign an empty string ("") to the control's Text property.

(True/False)
4.8/5
(74)

You can assign a value to a variable only if the value is compatible with the variable's ____________.

(Multiple Choice)
4.8/5
(68)

You cannot assign a numeric value to a control's Text property because only strings can be assigned to the Text property.

(True/False)
4.9/5
(92)

The ____________ property contains a numeric value, which indicates the control's position in the tab order.

(Multiple Choice)
4.8/5
(83)

A local variable cannot be accessed by code that is inside the method but before the variable's declaration.

(True/False)
4.8/5
(75)

A numeric literal that is treated as an int is called a(n) ____________.

(Multiple Choice)
4.8/5
(78)

Because decimal is the preferred data type for storing monetary amounts, remembering that "m" stands for "money" might help you to remember that decimal literals must end with the letter M or m.

(True/False)
4.7/5
(80)

The ____________ contains one or more statements that can potentially throw an exception.

(Multiple Choice)
4.8/5
(75)

A(n) ____________ is an unexpected error that occurs while a program is running, causing the program to halt if the error is not properly dealt with.

(Multiple Choice)
4.8/5
(70)

A variable of the ____________ data type can hold any string of characters, such as a person's name, address, password, and so on.

(Multiple Choice)
4.8/5
(92)

Rounding can occur when the number of digits you have specified after the decimal point in the format string is smaller than the precision of the numeric value.

(True/False)
4.7/5
(81)

When using the ____________ operator, if one operand is a number and the other operand is a string, the number will be implicitly converted to a string, and both operands will be concatenated.

(Multiple Choice)
4.7/5
(78)

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

(Multiple Choice)
4.8/5
(59)

The purpose of a variable declaration statement is to tell the compiler that you plan to use a variable of a specified name to store a particular type of data in the program.

(True/False)
4.9/5
(85)

TextBox controls are the only controls with TabIndex values.

(True/False)
4.9/5
(75)

The Parse methods work even if the string that is being converted contains an invalid numeric value.

(True/False)
5.0/5
(76)

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

(Multiple Choice)
4.8/5
(78)

Which one of the following statements declares a string variable named message?

(Multiple Choice)
4.8/5
(70)

Each numeric format string can optionally be followed by an integer that indicates how many digits to display after the decimal point.

(True/False)
4.8/5
(83)
Showing 21 - 40 of 174
close modal

Filters

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