Exam 4: Variables and Arithmetic Operations
Exam 1: Introduction to Visual Basic 2008 Programming107 Questions
Exam 2: Program and Graphical User Interface Design107 Questions
Exam 3: Program Design and Coding107 Questions
Exam 4: Variables and Arithmetic Operations107 Questions
Exam 5: Mobile Applications Using Decision Structures107 Questions
Exam 6: Loop Structures107 Questions
Select questions type
By default, a text box will display as many lines of text as the user enters.
Free
(True/False)
4.9/5
(39)
Correct Answer:
False
A prefix of ____ is used to denote a variable defined as a Char data type.
Free
(Multiple Choice)
4.8/5
(45)
Correct Answer:
B
To force a literal value to be treated as a specific data type, you must use a literal-type character designator.
Free
(True/False)
4.9/5
(38)
Correct Answer:
True
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:
ToString
procedure
literal
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(40)
Critical Thinking Questions Case 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)
Critical Thinking Questions Case 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 13\5 and you do not get the same number as your program does. What is the correct answer?
(Multiple Choice)
4.7/5
(40)
The ____________________ data type holds a nondecimal whole number value.
(Short Answer)
4.8/5
(43)
The Void procedure is used to empty the contents of a TextBox object at runtime.
(True/False)
4.8/5
(41)
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
(41)
A String data type allows for the storing of the standard English letters only.
(True/False)
5.0/5
(40)
The ____________________ procedure removes any text in a TextBox object.
(Short Answer)
4.8/5
(33)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
Indicates how many digits to the right of a decimal place are to be returned
Responses:
literal
constant
program
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(27)
Figure 4-2 As shown in the accompanying figure, the ____ property of the form specifies which button will be activated when the ENTER key on the keyboard is pressed.

(Multiple Choice)
4.8/5
(36)
A prefix of ____ is used to denote that a variable has been defined as a Boolean data type.
(Multiple Choice)
4.8/5
(31)
The process of joining two different values into a single string is called ____________________.
(Short Answer)
4.8/5
(30)
A variable that can be used in multiple regions of code is called a universal variable.
(True/False)
4.9/5
(45)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
A procedure is a prewritten set of code that can be called by a statement in this
Responses:
constant
method
ToString
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(29)
Showing 1 - 20 of 107
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)