Department of Math and Computer Science
Computer Science Comprehensive Exam Review
To help students prepare for the Fall 2008 Comprehensive Exam, there will be a review day:
| TENTATIVE Date: | Sunday, October 5, 2008
|
| Location: | TENTATIVE Room: SC S125
|
| Topics: | Data Structures and Operating Systems
|
| Speaker: | Dr. Billard
|
All students taking the exam this spring are welcome.
The review will be different than past years. Take a look at the past exams organized by TOPICS:
Past DS Exams Organized by TOPIC
Past OS Exams Organized by TOPIC
In the session, the past exams will be discussed conceptually by TOPIC, and
some in particular are marked:
*ILLUSTRATIVE FOR LECTURE.
Try to do the SELF-STUDY below, that is, read the
notes. But even more important is to read and print past exams.
But you might want to print them out according to the TOPICS above,
especially those marked with *. And you definitely want to print the
DS SOLUTION OUTLINE,
which are labeled with the name of the function, so you don't need the
source question.
- Introduction: 10:30-10:45am
- Data Structure Review: 10:45am-12:30pm
- Break: 12:30-1pm
- Operating Systems Review: 1-3pm
SELF-STUDY OUTLINE:
Data Structure Review
- Lecture Notes: .html .pdf
- Examination Syllabus [Slide # in Lecture Notes]
- 2. Recursion
- a. Recursive functions (base and general cases) [45-46]
- b. Activation records (stack frame) and the run-time stack
- c. Removing recursion [47-49]
- 4. Search
- a. Sequential search
- b. Binary search [88-91] (B-Trees are not on exam)
- 5. Sorting
- 6. Hashing
- a. Closed Hashing/Open Addressing (linear probing and quadratic probing)[103] [109-116]
- b. Open Hashing/Separate Chaining [104-108]
- c. Rehashing [112]
- 7. Big-oh/big-theta analysis of operations on the above data structures [CS 3240 Big-Oh]
Data Structure Past Exams
Operating Systems Review
- Lecture Notes: .pdf
- Examination Syllabus [Slide # in Lecture Notes, not Page #]
- 1. Process management
- a. Process control blocks [8]
- b. Long and short-term schedulers [98]
- c. Scheduling algorithms [20-29]
- d. Context switching [9-10]
- e. System calls and interrupts [11-12]
- f. Interprocess communication, including critical sections, semaphores [30-40]
- g. Standard synchronization problems, including producer/consumer, dining philosophers, readers/writers [41-60]
- 2. Memory management
- a. Logical/physical addresses [103, 117-118]
- b. Contiguous storage [105-113]
- c. Paging [114-116, 121-125]
- d. Segmentation [119]
- e. Replacement algorithms, working sets [126-151]
- 3. Device management
- a. Interrupt servicing
- b. Disk scheduling [152-160]
- 4. Deadlock
- a. Characterization [61-63]
- b. Prevention [64-66]
- c. Avoidance [69-96]
- d. Recovery [67-68]
Operating Systems Past Exams