Exam 5: Lists and Loops
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
How many times will the message I love Visual Basic be displayed? Dim intCount As Integer = 0
Do
LstOutPut.Items.Add"I love Visual Basic")
IntCount += 1
Loop While intCount > 10
Free
(Multiple Choice)
4.9/5
(34)
Correct Answer:
B
How can you cause scroll bars to appear in a ListBox at runtime?
Free
(Multiple Choice)
4.8/5
(41)
Correct Answer:
B
Which of the following controls and methods provides a simple way to gather input from the user at runtime without placing a text box on a form?
Free
(Multiple Choice)
4.9/5
(37)
Correct Answer:
D
In the following statement that begins a For…Next loop, what is the purpose of the Step clause? For intX = 1 to 100 Step 5
(Multiple Choice)
4.9/5
(34)
A ToolTip is a ____that allows the programmer to create a small popup message that displays when the user places the mouse over a control.
(Multiple Choice)
4.8/5
(39)
Which standard Visual Basic function returns the periodic payment amount for a loan?
(Multiple Choice)
4.8/5
(36)
All of the following are valid ComboBox style properties, except
(Multiple Choice)
4.8/5
(32)
Which of the following code fragments calculates the average of 5 numbers input with an input box, and displays the result in lblResult?
(Multiple Choice)
4.9/5
(42)
What value is assigned to lblSum.Text by the following code ? Dim intTotal As Integer = 0
For intOuter = 1 To 3
For intInner = intOuter To 3
IntTotal += intOuter * intInner
Next
Next
LblSum.Text = intTotal.ToString)
(Multiple Choice)
4.7/5
(38)
Which type of loop repeats as long as its loop condition remains True?
(Multiple Choice)
4.8/5
(40)
Which of the following statements will assign a random number between 1 and 50 inclusive to intNum?
(Multiple Choice)
5.0/5
(30)
Which code example will calculate the number of checked items in a CheckedListBox named clbMovieNames and store the number in intCheckedMovies?
(Multiple Choice)
4.8/5
(40)
Which property determines the amount of time, in milliseconds, that elapses between the user pointing the mouse at a control and the tool tip text's appearance?
(Multiple Choice)
4.8/5
(38)
The _method can be used to place a new item at any position in a ListBox.
(Multiple Choice)
4.8/5
(28)
What will be the final value of intCount? Dim intCount As Integer = 3
Do
IntCount += 6
Loop While intCount < 20
(Multiple Choice)
4.9/5
(28)
Showing 1 - 20 of 36
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)