Exam 4: Variables and Arithmetic Operations

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

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

(Multiple Choice)
4.9/5
(26)

Does entering Dim intValue = 1 provide an error in Visual Basic 2012? Explain why or why not, and the significance of this.

(Essay)
4.9/5
(32)

MATCHING Identify the letter of the choice that best matches the phrase or definition. -A procedure is a prewritten set of code that can be called by a statement in this

(Multiple Choice)
4.8/5
(38)

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

(Multiple Choice)
4.9/5
(30)

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

(Multiple Choice)
4.9/5
(35)

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
(45)

A(n) ____________________ procedure does not return a value.

(Essay)
4.8/5
(39)

The process of joining two string values together is called ____.

(Multiple Choice)
4.9/5
(44)

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

(Multiple Choice)
4.7/5
(38)

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

(Multiple Choice)
4.9/5
(35)

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

(True/False)
4.8/5
(33)

MATCHING Identify the letter of the choice that best matches the phrase or definition. -A procedure that returns a value

(Multiple Choice)
4.9/5
(41)

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

(True/False)
4.7/5
(33)

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
(40)

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

(Multiple Choice)
4.8/5
(43)

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 a variable named strNumberOfSongs within the click event handle for a Submit button, and he has been frustrated in his efforts to refer to this variable in the click event handler for a Clear button. What does Molly tell him is going on?

(Multiple Choice)
4.8/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. -What is the correct order among the following operations?

(Multiple Choice)
4.8/5
(36)

The ____ statement prevents automatic conversion of data types.

(Multiple Choice)
4.8/5
(32)

By default, a text box will display as many lines of text as the user enters.

(True/False)
4.8/5
(37)

A variable that will be used to hold only True or False values should be declared as a(n) ____ data type.

(Multiple Choice)
4.8/5
(40)
Showing 41 - 60 of 111
close modal

Filters

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