CS302 Fall 2009 Midterm Exam: Answer Sheet for Q1, Q2, Q3 and Q6

James S. Plank. October 13, 2009

Question 1

Activity 1: a b c d e f g h i
Activity 2: a b c d e f g h i
Activity 3: a b c d e f g h i
Activity 4: a b c d e f g h i
Activity 5: a b c d e f g h i
Activity 6: a b c d e f g h i
Activity 7: a b c d e f g h i
Activity 8: a b c d e f g h i
Activity 9: a b c d e f g h i
Activity 10: a b c d e f g h i

Question 2

Vector 1: valid invalid
Vector 2: valid invalid
Vector 3: valid invalid
Vector 4: valid invalid
Vector 5: valid invalid
Vector 6: valid invalid

Question 3

Statement A: true false
Statement B: true false
Statement C: true false
Statement D: true false
Statement E: true false
Statement F: true false
Statement G: true false
Statement H: true false
Statement I: true false
Statement J: true false
Statement K: true false

Question 6

Output 1: a b c d
Output 2: a b c d
Output 3: a b c d
Output 4: a b c d
Output 5: a b c d
Output 6: a b c d