Exam 3: Using Variables and Constants

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

A blank space must precede and follow the concatenation operator (&).

Free
(True/False)
4.9/5
(37)
Correct Answer:
Verified

True

A variable that was not assigned a specific data type is assigned which data type?

Free
(Multiple Choice)
4.8/5
(30)
Correct Answer:
Verified

D

It is a good practice to use the data type with the largest storage requirements to maintain program efficiency.

Free
(True/False)
4.8/5
(49)
Correct Answer:
Verified

False

The Visual Basic .NET verb to create a variable is ____.

(Multiple Choice)
4.7/5
(40)

The Visual Basic .NET operator that concatenates two or more strings together is ____.

(Multiple Choice)
5.0/5
(39)

A static variable is a procedure-level variable that retains its value even when the procedure in which it is declared ends.

(True/False)
4.9/5
(33)

Which of the following can store a floating-point number?

(Multiple Choice)
4.9/5
(39)

When the Cancel button or the Close button is clicked on a dialog box created by the InputBox function, default value of the dialog box is used.

(True/False)
4.8/5
(36)

The distance to the sun is 93,000,000 miles, which can be written using exponential notation as 93.0E5.

(True/False)
4.9/5
(38)

All numeric variables are initialized to zero lacking code to the contrary.

(True/False)
4.9/5
(42)

Boolean variables, when created, are always true unless otherwise stated.

(True/False)
4.9/5
(43)

Integer, Long, and Short memory variables can store floating-point numbers.

(True/False)
4.7/5
(44)

A literal constant is an item of data whose value does not change while the application is running.

(True/False)
4.9/5
(34)

A named constant in a program can never be changed during program execution.

(True/False)
4.9/5
(41)

A variable's lifetime indicates how long the variable remains in the computer's internal memory.

(True/False)
4.7/5
(35)

To produce output of the number 125 as $125.00 you would use which of the following functions?

(Multiple Choice)
4.7/5
(37)

When using the Visual Basic .NET InputBox function which of the following is the recommended standard?

(Multiple Choice)
4.7/5
(37)

A control's ____ event occurs when the contents of a control's Text property are altered.

(Multiple Choice)
4.8/5
(40)

Date variables are automatically set to which value when created?

(Multiple Choice)
4.7/5
(36)

The least efficient data type, because the computer must determine the contents of the memory location first, is the ____ data type.

(Multiple Choice)
4.9/5
(37)
Showing 1 - 20 of 50
close modal

Filters

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