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
Namespace-level variables are declared with the keyword __________.
Free
(Multiple Choice)
4.8/5
(36)
Correct Answer:
C
For a scroll bar, the value of the Value property is
Free
(Multiple Choice)
5.0/5
(27)
Correct Answer:
C
If no item in a combo box is selected, the value of lstBox.SelectedIndex is 0.
Free
(True/False)
4.9/5
(33)
Correct Answer:
False
The statements gr.DrawLine(Pens.Red, 0, 0, 30, 40) and gr.DrawLine(Pens.Red, 10, 20, 40, 60) draw lines of the same length.
(True/False)
4.8/5
(31)
The Clipboard object is used for all of the following except which one?
(Multiple Choice)
4.7/5
(33)
A class-level variable declared in one form can be accessed by other forms if it is declared with the keyword Public.
(True/False)
4.8/5
(41)
Combo boxes have most of the same properties, events, and methods as list boxes.
(True/False)
4.9/5
(44)
Give a statement that deletes all graphics and text from picOutput.
(Multiple Choice)
4.9/5
(41)
Menus are designed with the MenuStrip control invoked from the Toolbox.
(True/False)
4.9/5
(35)
The output of the following lines of code will be a randomly selected whole number from 1 through 6, inclusive. Dim rndNum As New Random num1 = rndNum.Next(1, 7) MessageBox.Show(num1)
Dim rndNum As New Random()
num1 rndNum.
MessageBox. Show (num1)
(True/False)
4.8/5
(32)
A program contains two forms with the names Form1 and Form2. Form1 contains a button called btnDisplay, and the following code is placed inside btnDisplay's Click event procedure.
Form2.ShowDialog
MessageBox.Show("Hello")
Which of the following statements is true after the user clicks on btnDisplay at run time?
(Multiple Choice)
4.8/5
(37)
Pressing Ctrl+V with the cursor in a text box inserts the contents of the Clipboard at the cursor position.
(True/False)
4.8/5
(33)
The SizeMode property of a picture box control cannot be altered at run time.
(True/False)
4.8/5
(43)
The distance that the scroll box of a scroll bar will move when an arrow on the scroll bar is clicked is determined by
(Multiple Choice)
4.8/5
(38)
The_________ is used to specify the startup form for a program.
(Multiple Choice)
4.8/5
(38)
Which of the following controls has a drop down arrow and an attached text box that allows users to type selections?
(Multiple Choice)
4.8/5
(37)
Showing 1 - 20 of 90
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)