CS1132 Fall 2008 Assignment 1
Adhere to the Code of Academic Integrity. You may discuss background issues and general solution strategies with others and seek help from course staff, but the homework you submit must be the work of just you. When submittin
Recall from last lecture: Bubble Sort Algorithm
1 Input the numbers x(1), . . . , x(n) (as a vector).
2 Input (or compute) n.
3 for k = 1, . . . , n - 1 for j = 1, . . . n - k if(x(j) > x(j + 1) swop x(j) and x(j + 1) end if end for j end for k
4 Output t
CS 280 Midterm Review
Announcements
Midterm
Postponed to Monday, 11/12 Covers up to and including HW #5 (number theory)
Homework #5
Logic
Propositional Logic / Predicate Logic
Know the notation/terminology
Meanings of operators Translating to and from