Exam 9: Additional Controls and Objects
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
A form contains a button called btnDisplay, and the following code is placed inside btnDisplay's Click event procedure. At run time, which one of the following cannot possibly be displayed in the message box when the user clicks on btnDisplay? Dim rndNum As New Random Dim num1 As Integer num1 = rndNum.Next(0, 3) MessageBox.Show(CStr(num1))
(Multiple Choice)
4.7/5
(36)
After a ToolTip control has been placed into the component tray of the Form Designer, the setting of what property determines the amount of time required for a tooltip to appear when mouse hovers over a text box?
(Multiple Choice)
4.8/5
(46)
What is the effect of the statement gr.DrawString("Hello", Me.Font, Brushes.Blue, 50, 60)?
(Multiple Choice)
4.7/5
(35)
A list that has dropped down disappears when the user clicks on an item or presses the Enter key.
(True/False)
4.7/5
(44)
The pair of statements
Dim fnt As Font = New Font("Times New Roman", 12) Gr.DrawString("Hello", fnt, Brushes.Blue,10,10) displays the word Hello in 12-point Times New Roman font.
(True/False)
4.9/5
(28)
The center of the circle drawn by the statement gr.DrawEllipse(Brushes.Red, 10, 20, 40, 40) has coordinates
(Multiple Choice)
4.8/5
(37)
In order to begin timing with the timer control, which one of the following must be true?
(Multiple Choice)
4.7/5
(40)
The statements gr.DrawLine(Pens.Red, 10, 20, 30, 40) and gr.DrawLine(Pens.Red, 30, 40, 10, 20) draw the same line.
(True/False)
4.9/5
(30)
A form contains a text box named txtBox and a button named btnClip. The statement Clipboard.SetText("") is placed inside btnClip's Click event procedure. At run time, what will be placed into the Clipboard if the user enters the word "Hello" into txtBox and then clicks on btnClip?
(Multiple Choice)
4.7/5
(40)
Showing 81 - 90 of 90
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)