Exam 4: Variables and Arithmetic Operations

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

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?

Free
(Multiple Choice)
4.9/5
(38)
Correct Answer:
Verified

A

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

Free
(Multiple Choice)
4.8/5
(38)
Correct Answer:
Verified

A

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

Free
(True/False)
4.8/5
(37)
Correct Answer:
Verified

False

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

(Multiple Choice)
4.8/5
(28)

The ____ operator is used to concatenate two strings.​

(Multiple Choice)
4.9/5
(37)

The Double data type can store a ____.​

(Multiple Choice)
4.8/5
(34)

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

(Multiple Choice)
4.8/5
(33)

  ​ -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.​ ​ -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.​

(Essay)
4.9/5
(36)

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

(True/False)
4.9/5
(23)

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

(Multiple Choice)
4.7/5
(31)

A Short data type is used for a very short string value of 10 bytes or less.​

(True/False)
4.9/5
(32)

The \ operator is the arithmetic operator for ____ division.​

(Multiple Choice)
4.9/5
(41)

Which of the following can be used to connect string text?​

(Multiple Choice)
4.7/5
(30)

A(n)PredefinedTextBox object can be used to control the format of data that a user enters._________________________​

(True/False)
5.0/5
(38)

The ampersand character at the end of a line in the code editor indicates that the line of code continues on the next line._________________________​

(True/False)
4.9/5
(36)

A variable that will be used to contain only nondecimal whole numbers should be declared as a(n)____ data type.​

(Multiple Choice)
4.9/5
(27)

  ​ -As shown in the accompanying figure,a(n)____________________ object allows you to specify the data format of the value typed into the text box.​ ​ -As shown in the accompanying figure,a(n)____________________ object allows you to specify the data format of the value typed into the text box.​

(Essay)
4.8/5
(29)

The Option Strict On statement enables automatic data type conversions.​

(True/False)
4.8/5
(32)

Users always follow the expected path.​

(True/False)
4.8/5
(42)

The variable name on the left of an assignment statement is the variable that receives the data that results from the evaluation of the expression on the right side of the assignment statement.​

(True/False)
4.7/5
(30)
Showing 1 - 20 of 111
close modal

Filters

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