Exam 3: Variables, Input, and Output
Exam 1: An Introduction to Computers and Problem Solving36 Questions
Exam 2: Visual Basic, Controls, and Events61 Questions
Exam 3: Variables, Input, and Output101 Questions
Exam 4: Decisions86 Questions
Exam 5: General Procedures70 Questions
Exam 6: Repetition73 Questions
Exam 7: Arrays87 Questions
Exam 8: Text Files65 Questions
Exam 9: Additional Controls and Objects90 Questions
Exam 10: Databases34 Questions
Exam 11: Object-Oriented Programming66 Questions
Select questions type
Which of the following statements declare the variables a and b as type Integer?
(Multiple Choice)
4.7/5
(43)
Which statement assigns the date of the first day of the year 2014 to the Date variable firstDay?
(Multiple Choice)
4.9/5
(41)
Which of the following statements will NOT display the number 5 in the text box?
(Multiple Choice)
4.8/5
(28)
What will be displayed when the following lines are executed?Dim , c As String
a = "THE WHOLE"
"PART"
. Substring (CInt (Math.Sqrt (4)), b. Length)
txtBox. Text cStr
(A) THE WHOLE PART
(B) 6
(C) ?H (D) W
(Multiple Choice)
4.9/5
(29)
Which statement prompts the user for a name and then assigns the name to the string variable strName?
(Multiple Choice)
4.9/5
(45)
The joining of two strings together to form a new string is called
(Multiple Choice)
4.8/5
(43)
The statement lstBox.Items.Add("") clears all the text from the list box.
(True/False)
4.9/5
(34)
The function Math.Int will always round mixed numbers down to the next lowest integer.
(True/False)
4.8/5
(31)
The following statement assigns 6 times the value of y to x.
x = 6y
(True/False)
4.9/5
(36)
What will be displayed when the following lines are executed? Dim As Double As Double
Dim z As Double
=+(\star) = =+
lstBox. Items. Add
(Multiple Choice)
4.8/5
(40)
A variable declared inside an event procedure is said to have local scope.
(True/False)
4.8/5
(42)
A variable declared inside an event procedure cannot have the same name as a variable declared inside another procedure.
(True/False)
4.8/5
(36)
The following two statements are equivalent, where numVar is a numeric variable.
numVar = numVar + 1
numVar += 1
(True/False)
4.9/5
(32)
What is displayed in the title bar of the message dialog box by the following statement?
MessageBox.Show("This is a test.", "Test")
(Multiple Choice)
4.8/5
(40)
Showing 61 - 80 of 101
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)