Exam 4: Variables and Arithmetic Operations

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

The ____ operator is used for exponentiation.

(Multiple Choice)
4.9/5
(36)
Identify the letter of the choice that best matches the phrase or definition.
A procedure is a prewritten set of code that can be called by a statement in this
function
Function in which all values are rounded based on the digit after the last digit to be displayed
constant
Another name for a procedure
local
Correct Answer:
Verified
Premises:
Responses:
A procedure is a prewritten set of code that can be called by a statement in this
function
Function in which all values are rounded based on the digit after the last digit to be displayed
constant
Another name for a procedure
local
The code between the Sub statement and the End Sub statement
method
The general rule of this is that a variable can be referenced only from within the region in which it was defined
literal
When you include a value in an assignment statement, the value is called this
program
A procedure that returns a value
procedure
A special variable whose value cannot be changed by any statement within the program
ToString
A variable that must be used by more than one procedure should be defined at this level
class
Indicates how many digits to the right of a decimal place are to be returned
precision specifier
(Matching)
4.9/5
(51)

When using ____ division (\), any remainder amount is dropped or truncated.

(Multiple Choice)
4.8/5
(29)

The ____________________ property of a TextBox object controls the alignment of the text content.

(Short Answer)
4.9/5
(42)

A(n) ____________________ object allows you to specify the data format of the value typed into the text box.

(Short Answer)
4.8/5
(40)

The CancelButton property of the Windows Form object allows you to specify which button is activated when the CTRL key on the keyboard is pressed.

(True/False)
4.9/5
(45)

The character C is the literal-type character for the ____ data type.

(Multiple Choice)
4.9/5
(52)

A prefix of ____ is used to denote a variable defined as a Decimal data type.

(Multiple Choice)
4.8/5
(32)

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

(Short Answer)
4.9/5
(41)

A ____ beneath a variable name in a declaration statement indicates that the variable is not referenced within the program.

(Multiple Choice)
4.9/5
(41)

Discuss five rules that apply to constant variables.

(Essay)
4.7/5
(40)

A TextBox object allows a user to enter programming code into the program during program execution.

(True/False)
4.9/5
(43)

The ____________________ data type holds a nondecimal whole number value.

(Short Answer)
4.9/5
(29)

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
(36)

A ____ Exception occurs when code attempts to divide a number by zero.

(Multiple Choice)
5.0/5
(36)

The memory allocation for the Char data type is ____ bytes.

(Multiple Choice)
4.9/5
(28)

The ____ of a variable indicates how long the variable remains alive.

(Multiple Choice)
4.8/5
(39)

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
(35)

The ToString function requires a format specifier argument.

(True/False)
4.9/5
(35)

The ____ indicates that a statement is an assignment statement.

(Multiple Choice)
4.7/5
(35)
Showing 81 - 100 of 103
close modal

Filters

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