Exam 3: Processing Data

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

Which one of the following assignment statements, for variables of the double data type, will cause an error?

(Multiple Choice)
4.8/5
(36)

Forms and most controls have a ____________ property that allows you to change the object's background color.

(Multiple Choice)
4.7/5
(36)

You cannot declare two variables with the same ____________ in the same scope.

(Multiple Choice)
4.9/5
(45)

Assuming a string variable named movieTitle has already been declared, which one of the following statements combines the strings "The " and "Hobbit" and then assigns the resulting string to the variable?

(Multiple Choice)
4.8/5
(39)

When you write a catch clause, you can optionally assign a name to the exception object.

(True/False)
4.8/5
(41)

When typing most statements, you can simply press the ____________ key when you reach an appropriate point to continue the statement on the next line.

(Multiple Choice)
4.8/5
(34)

The order in which controls receive the focus is called the ____________.

(Multiple Choice)
4.8/5
(31)

You can assign int values to int, double, and decimal variables.

(True/False)
4.9/5
(37)

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

A(n) ____________ identifies a variable in the program code.

(Multiple Choice)
4.8/5
(37)

If you don't write an access modifier in a field declaration, an error will occur.

(True/False)
4.9/5
(48)

Fundamental types of data, such as strings, integers, and real numbers are known as ____________.

(Multiple Choice)
4.9/5
(36)

The C# language provides many data types for storing fundamental types of data, such as strings, integers, and real numbers.

(True/False)
4.9/5
(43)

Code that responds to exceptions when they are thrown and prevents the program from abruptly crashing is called a(n) _____________.

(Multiple Choice)
4.8/5
(37)

Any data that the user enters into a TextBox control is stored in the control's Text property as a string, even if it is a number.

(True/False)
4.9/5
(34)

A ____________ is a name that represents a value that cannot be changed during the program's execution.

(Multiple Choice)
4.9/5
(43)

When you perform a math operation on two operands of the same data type, the result will always be of that data type.

(True/False)
4.9/5
(35)

____________ ("F" or "f") displays numeric values with no thousands separator and a decimal point.

(Multiple Choice)
4.8/5
(38)

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

(Multiple Choice)
4.8/5
(35)

If a field is a variable of a numeric data type, it will be initialized to 0 by default if you do not explicitly initialize it with a value.

(True/False)
4.9/5
(38)
Showing 41 - 60 of 174
close modal

Filters

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