Exam 4: Variables and Arithmetic Operations

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

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

(Multiple Choice)
4.8/5
(27)

The ____ of a variable specifies where a variable can be referenced within a program.

(Multiple Choice)
4.9/5
(35)

The ____________________ data type holds a nondecimal whole number value.

(Short Answer)
4.7/5
(30)

When defining a variable, the keyword ____ is required at the beginning of the statement.

(Multiple Choice)
4.9/5
(32)

A procedure that does not return a value is called a function.

(True/False)
4.8/5
(39)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
The general rule of this is that a variable can be referenced only from within the region in which it was defined
Responses:
class
literal
local
Correct Answer:
Verified
Premises:
Responses:
The general rule of this is that a variable can be referenced only from within the region in which it was defined
class
(Matching)
4.9/5
(36)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
A variable that must be used by more than one procedure should be defined at this level
Responses:
program
method
precision specifier
Correct Answer:
Verified
Premises:
Responses:
A variable that must be used by more than one procedure should be defined at this level
program
(Matching)
4.8/5
(26)

The style of the text displayed in a TextBox object can be set using the Font property.

(True/False)
4.9/5
(37)

The ^ operator is the ____________________ arithmetic operator.

(Short Answer)
4.8/5
(38)

A variable is ____.

(Multiple Choice)
4.9/5
(31)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
Indicates how many digits to the right of a decimal place are to be returned
Responses:
procedure
method
program
Correct Answer:
Verified
Premises:
Responses:
Indicates how many digits to the right of a decimal place are to be returned
procedure
(Matching)
5.0/5
(40)

A(n) ____________________ is a named location in RAM that can store a value that may change during program execution.

(Short Answer)
4.8/5
(44)

The ____________________ procedure clears any data currently placed in the Text property of a TextBox object.

(Short Answer)
4.7/5
(36)

The Decimal data type can represent ____.

(Multiple Choice)
4.9/5
(32)

The prefix ____ should be used for naming a TextBox object.

(Multiple Choice)
4.7/5
(48)

Used with the ToString function, the ____ format specifier will display the value 8976.43561 as 8976.43561.

(Multiple Choice)
4.8/5
(39)

By default, a text box will display as many lines of text as the user enters.

(True/False)
4.9/5
(36)

A String data type allows for the storing of the standard English letters only.

(True/False)
4.8/5
(43)

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

(Multiple Choice)
4.8/5
(39)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
The code between the Sub statement and the End Sub statement
Responses:
literal
method
ToString
Correct Answer:
Verified
Premises:
Responses:
The code between the Sub statement and the End Sub statement
literal
(Matching)
4.9/5
(34)
Showing 41 - 60 of 112
close modal

Filters

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