Exam 4: Variables and Arithmetic Operations

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

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

(Multiple Choice)
4.9/5
(35)

Case 4-2 The arithmetic operators in your program are not behaving the way you think they should be, so you decide to brush up on your operators and the hierarchy of operations. You perform the operation 12\5 and you do not get the same number as your program does. What is the correct answer?

(Multiple Choice)
4.8/5
(35)

The \ operator is the arithmetic operator for ____ division.

(Multiple Choice)
4.8/5
(35)

Calculations are preformed from right to left, working toward the equal sign.

(True/False)
4.9/5
(43)

A(n) ____ variable should be used for values that will consist of a single character only.

(Multiple Choice)
4.9/5
(26)

A variable that has been defined as a Single data type is denoted with the ____ prefix.

(Multiple Choice)
4.8/5
(42)

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

(True/False)
4.9/5
(36)

A(n) ____ Exception occurs when the user enters a value larger than the maximum value that can be processed by the statement.

(Multiple Choice)
4.8/5
(35)

The * operator is the ____________________ arithmetic operator.

(Short Answer)
4.8/5
(45)

The process of joining two different values into a single string is called ____________________.

(Short Answer)
4.9/5
(47)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
Function in which all values are rounded based on the digit after the last digit to be displayed
Responses:
ToString
class
method
Correct Answer:
Verified
Premises:
Responses:
Function in which all values are rounded based on the digit after the last digit to be displayed
ToString
(Matching)
4.8/5
(52)

The Option Strict On statement enables automatic data type conversions.

(True/False)
4.7/5
(31)

A prefix of ____ is used to denote a variable defined as an Integer data type

(Multiple Choice)
4.8/5
(29)

You must enclose a value in parentheses to assign it to a variable declared as Char data type.

(True/False)
4.8/5
(44)

The prefix ____ should be used for a Double variable.

(Multiple Choice)
4.9/5
(29)

A ____ Exception occurs when the user enters data that a statement cannot process properly.

(Multiple Choice)
4.9/5
(36)

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

(Multiple Choice)
4.9/5
(43)

Char variables can be used in arithmetic operations.

(True/False)
4.7/5
(36)

The AcceptButton property of the form specifies which button will be activated when the ____ key on the keyboard is pressed.

(Multiple Choice)
4.8/5
(40)

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

(Short Answer)
4.9/5
(38)
Showing 81 - 100 of 112
close modal

Filters

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