![]() Princeton University
|
Computer Science 217
|
Fall 2010 |
The schedule will change throughout the course. Please check it frequently.
Reading (required): C Programming (King) 1
Reading (required): Computer Systems (Bryant & O'Hallaron) 1
Lecture 1: (Thursday) Introduction; C Overview
Reading (required): C Programming (King) 2,3,4,5,6,7
Reading (recommended): Computer Systems (Bryant & O'Hallaron) 2
Reading (recommended): Programming with GNU Software (Loukides & Oram) 1,2,4
Precept 1: (Monday/Tuesday) Introduction; The Computing Environment; Program Preparation
Lecture 2: (Tuesday) C Examples
Precept 2: (Wednesday/Thursday) Unix; Bash; Emacs
Lecture 3: (Thursday) The Design of C
Reading (required): C Programming (King) 14,15
Reading (recommended): The Practice of Programming (Kernighan & Pike) 6
Reading (recommended): Programming with GNU Software (Loukides & Oram) 3
Precept 3: (Monday/Tuesday) Simple C Programs; C Fundamentals
Lecture 4: (Tuesday) The Design of C (cont.)
Precept 4: (Wednesday/Thursday) Multi-File C Programs; GDB
Lecture 5: (Thursday) Testing
(Sunday) De-Comment Assignment Due (at 9:00PM)
Reading (required): C Programming (King) 8,9,11,12,13
Reading (recommended): The Practice of Programming (Kernighan & Pike) 5,7
Reading (recommended): Programming with GNU Software (Loukides & Oram) 6,7,8,9
Precept 5: (Monday/Tuesday) C Pointers and Arrays
Lecture 6: (Tuesday) Debugging
Precept 6: (Wednesday/Thursday) C Arrays and Strings
Lecture 7: (Thursday) Building and Performance
Reading (required): C Programming (King) 16,17,22
Reading (recommended): The Practice of Programming (Kernighan & Pike) 1,2
Precept 7: (Monday/Tuesday) C Command-Line Arguments; C Files; C Structures; C Dynamic Memory Management
Lecture 8: (Tuesday) Program and Programming Style
(Tuesday) String Module Assignment Due (at 9:00PM)
Precept 8: (Wednesday/Thursday) The Meminfo Tool; Abstract Data Types in C
Lecture 9: (Thursday) Data Structures and Algorithms
Reading (required): C Programming (King) 19
Reading (recommended): The Practice of Programming (Kernighan & Pike) 4,8
Precept 9: (Monday/Tuesday) C Void Pointers; The Symbol Table Assignment
Lecture 10: (Tuesday) Modularity
Precept 10: (Wednesday/Thursday) C Function Pointers; A DynArray ADT
Lecture 11: (Thursday) Generics
(Sunday) Symbol Table Assignment Due (at 9:00PM)
Reading (required): C Programming (King) 10,18
Precept 11: (Monday/Tuesday) C Declarations and Definitions; Midterm Exam Prep Sheet
Lecture 12: (Tuesday) Exam Prep
Precept 12: (Wednesday/Thursday) NO PRECEPT
Lecture 13: (Thursday) Midterm Examination (Midterm Exams and Answers from Previous Semesters) (This semester's exam) (Answers to this semester's exam)
(Monday - Sunday) Fall Recess
Reading (required): Computer Systems (Bryant & O'Hallaron) 3 (OK to skip 3.13 and 3.14)
Reading (recommended, for reference only): IA32 Intel Architecture Software Developer's Manual: Volume 1: Basic Architecture
Reading (recommended, for reference only):IA32 Intel Architecture Software Developer's Manual: Volume 2: Instruction Set Reference
Reading (recommended, for reference only): IA32 Intel Architecture Software Developer's Manual: Volume 3: System Programming Guide
Reading (recommended, for reference only): Tool Interface Standard (TIS) Executable and Linking Format (ELF) Specification
Precept 13: (Monday/Tuesday) Assembly Language: Getting Started
Lecture 14: (Tuesday) Language-Levels Tour: Assembly Language 1
Precept 14: (Wednesday/Thursday) Assembly Language: Fundamentals, Control Transfer (Part 1)
Lecture 15: (Thursday) Language-Levels Tour: Assembly Language 2
Reading (recommended): Computer Systems (Bryant & O'Hallaron) 5,7
Precept 15: (Monday/Tuesday) Assembly Language: Control Transfer (Part 2), Instruction Operands, GDB for Assembly Language (Part 1)
Lecture 16: (Tuesday) Language-Levels Tour: Assembly Language Functions Calls
Precept 16: (Wednesday/Thursday) Assembly Language: Local Variables, Functions, GDB for Assembly Language (Part 2)
Lecture 17: (Thursday) Language-Levels Tour: Assemblers, Linkers, Machine Language
Reading (required): Computer Systems (Bryant & O'Hallaron) 8.1-8.3
Reading (required): Communications of the ACM "Detection and Prevention of Stack Buffer Overflow Attacks" paper
Precept 17: (Monday/Tuesday) The Buffer Overrun Assignment
Lecture 18: (Tuesday) Service-Levels Tour: Exceptions and Processes
(Tuesday) Assembly Language Assignment Due (at 9:00PM)
(Thursday - Friday) Thanksgiving Holiday
Reading (required): The C Programming Language (Kernighan & Ritchie) 8.7
Reading (required): Computer Systems (Bryant & O'Hallaron) 9
Precept 18: (Monday/Tuesday) C Abstract Objects; The HeapMgr Assignment: Introduction
Lecture 19: (Tuesday) Service-Levels Tour: Memory Management
Precept 19: (Wednesday/Thursday) The HeapMgr Assignment: Baseline Implementation Data Structures and Algorithms, Baseline Implementation Code
Lecture 20: (Thursday) Service-Levels Tour: Dynamic Memory Management 1
(Sunday) Buffer Overrun Assignment Due (at 9:00PM)
Reading (required): Computer Systems (Bryant & O'Hallaron) 8.4
Precept 20: (Monday/Tuesday) The HeapMgr Assignment: First Assignment Implementation Data Structures and Algorithms, First Assignment Implementation Code (partial), Second Assignment Implementation Data Structures and Algorithms
Lecture 21: (Tuesday) Service-Levels Tour: Dynamic Memory Management 2
Precept 21: (Wednesday/Thursday) The Unix Shell Assignment: Introduction
Lecture 22: (Thursday) Service-Levels Tour: Process Management, I/O Management
Reading (required): Computer Systems (Bryant & O'Hallaron) 8.5
Reading (recommended): Computer Systems (Bryant & O'Hallaron) 10
Precept 22: (Monday/Tuesday) The Unix Shell Assignment: Processes
Lecture 23: (Tuesday) Service-Levels Tour: Performance Revisited
(Tuesday) Heap Manager Assignment Due (at 9:00PM)
Precept 23: (Wednesday/Thursday) The Unix Shell Assignment: I/O Redirection and Signals
Lecture 24: (Thursday) Service-Levels Tour: Signals
(Monday - Sunday) Winter Break
(Monday - Sunday) Winter Break
(Tuesday - Sunday) Reading Period
(Sunday) Shell Assignment Due (at 9:00PM)
(Monday - Tuesday) Reading Period
(Tuesday) Dean's Date
(Thursday) Exam Prep Session (4:00PM in Computer Science Building 105) (Final Exam Prep Handout)
(Friday) Exam Prep Session (3:30PM in Computer Science Building 105) (Final Exam Prep Handout)
(Saturday) Final Examination (on 1/15 at 7:30 PM in 20 Washington Road, Old Frick 120) (Final Exams and Answers from Previous Semesters) (This Semester's Exam) (Answers to This Semester's Exam)
(Monday - Saturday) Final Examination Period