Exam 4: Variables and Arithmetic Operations

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

A variable that can be used in multiple regions of code is called a universal variable.

(True/False)
4.9/5
(37)

In an assignment statement, the value to the right of the equal sign will be ____________________ to the variable on the left.

(Short Answer)
4.8/5
(39)

When the user interacts with an object in the graphical user interface, the ____ shifts to that object.

(Multiple Choice)
4.9/5
(31)

____ is an arithmetic operation.

(Multiple Choice)
5.0/5
(30)

A variable that will be used to contain only nondecimal whole numbers should be declared as a(n) ____ data type.

(Multiple Choice)
4.9/5
(40)

A prefix of ____ is used for variables defined as a String data type.

(Multiple Choice)
4.8/5
(33)

A(n) green squiggly underline beneath a variable name in a declaration statement indicates that the variable is not references within the program.

(True/False)
4.9/5
(33)

To force a literal value to be treated as a specific data type, you must use a literal-type character designator.

(True/False)
4.9/5
(35)

Case 4-1 Brian is trying his best to understand the concept of variable scope, so he calls his friend Molly for guidance. Brian has defined a variable named strNumberOfSongs within the click event handle for a Submit button, and he has been frustrated in his efforts to refer to this variable in the click event handler for a Clear button. What does Molly tell him is going on?

(Multiple Choice)
4.9/5
(41)

A variable that will be used to hold only True or False values should be declared as a(n) ____ data type.

(Multiple Choice)
4.9/5
(34)

The event handler of a button designated as the Cancel button will be processed when the user presses the ____ key on the keyboard.

(Multiple Choice)
4.7/5
(40)

A(n) ____________________ text box allows the user to enter multiple lines in a text box.

(Short Answer)
4.7/5
(35)
Showing 101 - 112 of 112
close modal

Filters

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