Filters
Question type

Study Flashcards

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

A) True
B) False

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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


A) Divide by Zero
B) Zero denominator
C) Zero error
D) Division Error

E) A) and C)
F) A) and D)

Correct Answer

verifed

verified

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


A) blue squiggly underline
B) green squiggly underline
C) red squiggly underline
D) yellow squiggly underline

E) All of the above
F) B) and C)

Correct Answer

verifed

verified

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.

A) True
B) False

Correct Answer

verifed

verified

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


A) dec
B) dml
C) num
D) int

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

The ____________________ data type holds a nondecimal whole number value.

Correct Answer

verifed

verified

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


A) modular
B) integer
C) linear
D) decimal

E) A) and C)
F) B) and C)

Correct Answer

verifed

verified

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


A) 2
B) 4
C) 8
D) 16

E) All of the above
F) A) and C)

Correct Answer

verifed

verified

The ____ indicates that a statement is an assignment statement.


A) keyword Set
B) ampersand (&)
C) equal sign (=)
D) keyword Assign

E) A) and D)
F) All of the above

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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


A) lifetime
B) scope
C) range
D) duration

E) B) and C)
F) A) and C)

Correct Answer

verifed

verified

Discuss five rules that apply to constant variables.

Correct Answer

verifed

verified

1. The declaration of a constant variabl...

View Answer

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

Correct Answer

verifed

verified

The ToString function requires a format specifier argument.

A) True
B) False

Correct Answer

verifed

verified

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


A) ESC
B) ENTER
C) CTRL
D) ALT

E) A) and B)
F) A) and D)

Correct Answer

verifed

verified

Identify the letter of the choice that best matches the phrase or definition.

Premises
A procedure is a prewritten set of code that can be called by a statement in this
Function in which all values are rounded based on the digit after the last digit to be displayed
Another name for a procedure
The code between the Sub statement and the End Sub statement
The general rule of this is that a variable can be referenced only from within the region in which it was defined
When you include a value in an assignment statement, the value is called this
A procedure that returns a value
A special variable whose value cannot be changed by any statement within the program
A variable that must be used by more than one procedure should be defined at this level
Indicates how many digits to the right of a decimal place are to be returned
Responses
function
constant
local
method
literal
program
procedure
ToString
class
precision specifier

Correct Answer

A procedure is a prewritten set of code that can be called by a statement in this
Function in which all values are rounded based on the digit after the last digit to be displayed
Another name for a procedure
The code between the Sub statement and the End Sub statement
The general rule of this is that a variable can be referenced only from within the region in which it was defined
When you include a value in an assignment statement, the value is called this
A procedure that returns a value
A special variable whose value cannot be changed by any statement within the program
A variable that must be used by more than one procedure should be defined at this level
Indicates how many digits to the right of a decimal place are to be returned

The ____ operator is used for exponentiation.


A) *
B) ^
C) ˜
D) \

E) All of the above
F) A) and D)

Correct Answer

verifed

verified

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


A) Char
B) Short
C) Integer
D) Decimal

E) None of the above
F) B) and C)

Correct Answer

verifed

verified

Showing 81 - 100 of 103

Related Exams

Show Answer