CIS 380 Quiz 1
Ask if there are any questions. Each question is worth 3 points.
- A ComboBox control is like two other controls together. Which ones?
- ListBox and SelectBox
- ListBox and TextBox
- ListBox and Label
- A Do--Until loop like this will always run
Do Until i > 3
Debug.print "i is " & Cstr(i)
i = i + 1
Loop
- 0 or more times
- 1 or more times
- Never
- Always
- To display a string in a TextBox do you set
- the Text property
- the Caption property
- the Name property
- Which of these is the correct open statement for a file to read it?
- Open "data.txt" As Input For #1
- Open "data.txt" For Input As #1
- Open #1, "data.txt" For Input
- Write a for loop that goes from 18 to 3 backwards in increments of 2.
That is, the index values will be 18,16,14,12,10,8,6,4