Exam 3: Variables and Calculations
Exam 1: Introduction to Programming and Visual Basic40 Questions
Exam 2: Creating Applications With Visual Basic36 Questions
Exam 3: Variables and Calculations41 Questions
Exam 4: Making Decisions39 Questions
Exam 5: Lists and Loops36 Questions
Exam 6: Procedures and Functions31 Questions
Exam 7: Multiple Forms, Modules, and Menus36 Questions
Exam 8: Arrays and More34 Questions
Exam 9: Files, Printing, and Structures36 Questions
Exam 10: Working With Databases32 Questions
Exam 11: Developing Web Applications33 Questions
Exam 12: Classes, Collections, and Inheritance36 Questions
Select questions type
You can perform all of the following actions with variables except:
Free
(Multiple Choice)
4.9/5
(42)
Correct Answer:
B
Which of the following is not a valid Visual Basic data type?
Free
(Multiple Choice)
4.8/5
(34)
Correct Answer:
B
In order to execute code before a form is displayed, place the code in the form's _event handler.
Free
(Multiple Choice)
4.9/5
(29)
Correct Answer:
B
If you want to display multiple lines of information in a message box, use the constant .
(Multiple Choice)
4.8/5
(34)
Only controls capable of receiving some sort of input, such as __, may have the focus.
(Multiple Choice)
4.8/5
(38)
The order in which controls receive the focus is called the .
(Multiple Choice)
4.9/5
(26)
What will be assigned to the label when the following statements execute? Dim dblVal As Double = 11.75
LblResult.Text = dblVal.ToString"n3")
(Multiple Choice)
4.8/5
(35)
All of the following are advantages of using named constants except
(Multiple Choice)
4.8/5
(37)
Which of the following declares a variable that can store the first name of a student?
(Multiple Choice)
4.9/5
(33)
A form's Load event takes place when the user first clicks on the form at run time.
(True/False)
4.9/5
(42)
Which will be displayed in the label lblResult following execution of the code below? Dim dblGrossPay as Double
DblGrossPay = 3500
LblResult.Text = dblGrossPay.ToString"c")
(Multiple Choice)
4.9/5
(40)
A keyboard access key is assigned to a button using the button control's _property.
(Multiple Choice)
4.7/5
(42)
The statement to declare strName as a variable that can hold character data is .
(Multiple Choice)
4.9/5
(32)
The contents of a text box may be cleared in Visual Basic code by .
(Multiple Choice)
4.9/5
(34)
All numeric and date data types have a _method that returns a string representation of the contents of the variable.
(Multiple Choice)
4.8/5
(41)
What is the value of intE after the following statements execute? Dim intC As Integer
Dim intD As Integer
Dim intE As Integer
IntC = 20
IntD = 3
IntE = intC \ intD
(Multiple Choice)
4.8/5
(30)
Showing 1 - 20 of 41
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)