Exam 3: Variables, Constants, and Calculations
Exam 1: Introduction to Visual Basic 201054 Questions
Exam 2: User Interface Design74 Questions
Exam 3: Variables, Constants, and Calculations58 Questions
Exam 4: Decisions and Conditions51 Questions
Exam 5: Menus, Common Dialog Boxes, Sub Procedures, and Function38 Questions
Exam 6: Multiform Projects69 Questions
Exam 7: Lists, loops, and Printing76 Questions
Exam 8: Arrays and Collections50 Questions
Exam 9: Web Applications66 Questions
Exam 10: Database Applications43 Questions
Exam 11: Data Files43 Questions
Exam 12: OOP: Creating Object-Oriented Programs51 Questions
Exam 13: Graphics, Animation, Sound, and Drag-And-Drop62 Questions
Exam 14: Additional Topics in Visual Basic60 Questions
Select questions type
What will be the value of AnswerInteger after execution of these statements? Const NumberAInteger as Integer = 6
Const NumberBInteger as Integer = 4
Const NumberCInteger as Integer = 2
AnswerInteger = NumberAInteger + NumberBInteger * NumberCInteger
(Multiple Choice)
4.8/5
(35)
To trap or catch exceptions,use a _______ block and enclose any statement(s)that might cause an error.
(Multiple Choice)
4.9/5
(32)
If a procedure contains a Dim statement and NameString is assigned as the identifier,NameString can be used _______.
(Multiple Choice)
4.8/5
(45)
Which of the following is NOT a valid rule for naming identifiers?
(Multiple Choice)
4.9/5
(33)
Variables that are declared inside a procedure can be used as counters and accumulators.(Ignore Static variables. )
(True/False)
4.9/5
(36)
Using the order of precedence and the formula below,what is AnswerInteger if?: NumberOneInteger = 2,NumberTwoInteger = 12,NumberThreeInteger = 20,and NumberFourInteger = 6
AnswerInteger = NumberOneInteger * (NumberTwoInteger + NumberThreeInteger)- NumberFourInteger / NumberOneInteger
(Multiple Choice)
4.8/5
(38)
Which of the following is NOT a valid Visual Basic data type?
(Multiple Choice)
4.9/5
(34)
If Option Strict is turned off and a declaration statement does not specify a data type,it will default to _______.
(Multiple Choice)
4.9/5
(31)
In order to control the number of decimals that will appear when a number is displayed,you can use _______.
(Multiple Choice)
4.9/5
(43)
A constant contains data whose value may be changed during the execution of a project.
(True/False)
4.8/5
(40)
What will be the value of AnswerInteger after execution of the following line of code? Assume that NumberAInteger = 6,NumberBInteger = 4,NumberCInteger = 2
AnswerInteger = (NumberAInteger + NumberBInteger)* (NumberAInteger / NumberCInteger)
(Multiple Choice)
4.7/5
(38)
When Option Explicit is turned on,you can use any variable name without first declaring it.
(True/False)
4.8/5
(37)
When naming a constant,you should use uppercase characters in the name with an underscore between the words and the data type at the end of the name.
(True/False)
4.8/5
(37)
Numeric constants may contain only the digits ( 0 - 9 ),a decimal point,and a sign ( + or - )at the left side.
(True/False)
4.8/5
(30)
The reserved Visual Basic word,Dim,is short for dimension,which means _______.
(Multiple Choice)
4.8/5
(39)
Variables that are declared in the Declarations section of a form module are available to all procedures in the form.
(True/False)
4.8/5
(35)
Showing 21 - 40 of 58
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)