Exam 4: Variables and Arithmetic Operations

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

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

(True/False)
4.8/5
(51)

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

(Multiple Choice)
4.8/5
(34)

A(n) ____________________ will contain a permanent value throughout the execution of the program.

(Short Answer)
4.9/5
(41)

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

(Multiple Choice)
4.8/5
(30)

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.9/5
(36)

The prefix ____ should be used for a Double variable.

(Multiple Choice)
4.7/5
(28)

____ is an arithmetic operation.

(Multiple Choice)
4.9/5
(23)

A(n) ____________________ specifier is used to identify the number of positions to the right of the decimal point that should be returned when displaying numeric data.

(Short Answer)
4.8/5
(34)

The * operator is the ____________________ arithmetic operator.

(Short Answer)
4.9/5
(36)

A property identifies a value required by a procedure that must be passed into the procedure when it is called.

(True/False)
4.8/5
(41)

Whenever data is stored in RAM, it does not need to be stored as a particular data type.

(True/False)
4.8/5
(30)

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

(Multiple Choice)
4.9/5
(29)

The ____________________ function available with each of the numeric data types will convert data from the numeric data type to the String data type.

(Short Answer)
4.8/5
(34)

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 another variable called strNumberOfSingers within a procedure, and he asks Molly what the lifetime of that variable is. What does she tell him?

(Multiple Choice)
4.9/5
(44)

MOD operations occur before any other arithmetic operations.

(True/False)
4.8/5
(37)

A(n) ____ data type must be used in arithmetic operations.

(Multiple Choice)
4.8/5
(34)

Integer variables can be used to store fractional values.

(True/False)
4.9/5
(41)

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

(Multiple Choice)
4.7/5
(41)

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

(True/False)
4.9/5
(43)

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. What is the correct order among the following operations?

(Multiple Choice)
4.8/5
(25)
Showing 41 - 60 of 103
close modal

Filters

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