Exam 4: Variables and Arithmetic Operations
Exam 1: Introduction to Visual Basic 2012 Programming112 Questions
Exam 2: Program and Graphical User Interface Design112 Questions
Exam 3: Program Design and Coding112 Questions
Exam 4: Variables and Arithmetic Operations112 Questions
Exam 5: Decision Structures112 Questions
Exam 6: Loop Structures112 Questions
Exam 7: Using Procedures and Exception Handling112 Questions
Exam 8: Using Arrays and File Handling112 Questions
Exam 9: Creating Web Applications112 Questions
Exam 10: Incorporating Databases with ADO.NET112 Questions
Exam 11: Multiple Classes and Inheritance112 Questions
Exam 12: Windows Store Apps112 Questions
Select questions type
A(n)____________________ is a named grouping of program code.
Free
(Short Answer)
4.8/5
(42)
Correct Answer:
class
A Double variable can be used in arithmetic operations.
Free
(True/False)
4.9/5
(32)
Correct Answer:
True
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?
Free
(Multiple Choice)
4.7/5
(37)
Correct Answer:
A
A(n)green squiggly underline beneath a variable name in a declaration statement indicates that the variable is unused in the program._________________________
(True/False)
5.0/5
(37)
When defining a variable,the keyword ____ appears at the beginning of the statement.
(Multiple Choice)
4.7/5
(41)
What are the rules for naming variables in Visual Basic? Providing examples of the good and the bad,discuss what impact good programming practice has on the naming of variables.
(Essay)
4.7/5
(33)
A prefix of ____ is used for variables defined as a String data type.
(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.
(Short Answer)
4.8/5
(33)
The ____ statement prevents automatic conversion of data types.
(Multiple Choice)
4.9/5
(36)
The ^ operator is the ____________________ arithmetic operator.
(Short Answer)
4.8/5
(43)
A variable that will be used to hold only True or False values should be declared as a(n)____ data type.
(Multiple Choice)
4.9/5
(43)
A ____ Exception occurs when the user enters data that a statement cannot properly handle.
(Multiple Choice)
4.7/5
(39)
MATCHING
Identify the letter of the choice that best matches the phrase or definition.
-When you include a value in an assignment statement,the value is called this
(Multiple Choice)
4.9/5
(25)
Showing 1 - 20 of 112
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)