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

(Multiple Choice)
4.9/5
(34)

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.7/5
(38)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
When you include a value in an assignment statement, the value is called this
Responses:
function
class
local
Correct Answer:
Verified
Premises:
Responses:
When you include a value in an assignment statement, the value is called this
function
(Matching)
4.9/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
(36)

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

(Short Answer)
4.7/5
(33)

MOD operations occur before any other arithmetic operations.

(True/False)
4.8/5
(36)

When setting up a mask for a MaskedTextBox object, select the Use Validating Type check box to cause the object to verify that the user entered valid numeric data.

(True/False)
4.9/5
(30)

The ____ operator is used to concatenate two strings.

(Multiple Choice)
4.9/5
(37)

The ToString function requires a format specifier argument.

(True/False)
4.9/5
(37)

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

(Multiple Choice)
4.8/5
(24)

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

(Multiple Choice)
4.8/5
(45)

Discuss five rules that apply to constant variables.

(Essay)
4.9/5
(34)

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

(Multiple Choice)
4.7/5
(36)

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.8/5
(44)

The maximum size of a TextBox object often is determined by the design of the user interface, so it looks and feels good in the user interface.

(True/False)
4.8/5
(36)

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

(Multiple Choice)
4.7/5
(35)

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

(True/False)
4.8/5
(27)

When defining a variable to be used to hold values that the user enters in a TextBox object, the declaration statement should have ____ at the end of the statement.

(Multiple Choice)
5.0/5
(36)

The Double data type can store a ____.

(Multiple Choice)
4.9/5
(36)

The ____ statement prevents automatic conversion of data types.

(Multiple Choice)
4.9/5
(34)
Showing 21 - 40 of 112
close modal

Filters

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