Quiz 8
comp 125-609, Goldwasser
Tuesday, 9 November 1999

This quiz covers the following cumulative material: (alphabetical, with new topics shown in italics)
  • Reading: Ch 1, Ch 2, 3.1-3.3, 4.1, 4.2, 4.3, 5.1, and all class notes, labs and assignments to date
  • Controls: Command Button, Label, Picture Box, Text Box, Timer
  • Properties: Alignment, Caption, Font, ForeColor, Height, Index, Left, Multiline, Name, Picture, Text, Top, Visible, Width
  • Events: Click, GotFocus, LostFocus
  • Methods: picbox.Cls, picbox.Circle, picbox.Line, picbox.Print, picbox.PSet, picbox.Scale, SetFocus
  • Data Types: Arrays, Boolean, Control Arrays, Double, Integer, Long, Single, String
  • Flow of Control: If Blocks, Select Case Blocks, For Loops, Do Loops
  • Files: Open, Input, Write
  • Keywords: Load, Preserve, ReDim, Unload
  • Other: using the debugger

  • Name: _________________________

    Please Circle the one correct answer. If I can't tell which ONE is circled, it will unfortunately be marked wrong.
    The first four questions involve identifying various sorting methods based on pictoral representations using the program from last week's lab. For each question, we run a sorting method on the following initial array, and then we took a snapshot of each method when it was only partially completed.
    Initial array:




    1. Which sorting method was underway when the following picture was taken:
    (A) Selection Sort
    (B) Insertion Sort
    (C) Bubble Sort
    (D) None of the above

    2. Which sorting method was underway when the following picture was taken:
    (A) Selection Sort
    (B) Insertion Sort
    (C) Bubble Sort
    (D) None of the above

    3. Which sorting method was underway when the following picture was taken:
    (A) Selection Sort
    (B) Insertion Sort
    (C) Bubble Sort
    (D) None of the above

    4. Which sorting method was underway when the following picture was taken:
    (A) Selection Sort
    (B) Insertion Sort
    (C) Bubble Sort
    (D) None of the above




    5. What is your first name?
    (A) Batya
    (B) Jeff
    (C) Judy
    (D) Merlyn