Computer Science 126
General Computer Science
Fall 2013


Course Information | People | Assignments | Lectures | Precepts | Exams | Booksite

LECTURES

Here is the tentative schedule of lectures. (Lectures in the future are subject to change, and data will be updated throughout the term.) All sections refer to Introduction to Computer Science by R. Sedgewick and K. Wayne. The textbook Introduction to Programming in Java: An Interdisciplinary Approach contains Chapters 1–4. The remaining chapters are unpublished.

# DATE TOPIC SLIDES READINGS DEMOS
1 9/12 Prologue 1up · 4up 1
2 9/17 Introduction to Java 1up · 4up 1.1–1.2 Exchange IntOps LeapYear
3 9/19 Conditionals and Loops 1up · 4up 1.3 ForLoop TwoSort AbsValue Sqrt
Ruler TwoPower TEQif Gambler
4 9/24 Arrays 1up · 4up 1.4 ArrayCopy DigitCounts
CouponCollector DealCards
5 9/26 Input and Output 1up · 4up 1.5 Average StdInDemo
6 10/1 Functions and Libraries 1up · 4up 2.1–2.2 Newton Cube Gaussian
7 10/3 Recursion 2.3 gcd
8 10/8 Performance 4.1 (book), 9.6(booksite)
9 10/10 Exam 1
10 10/15 Using Data Types 3.1
11 10/17 Creating Data Types 3.2
12 10/22 Von Neumann Machine I 5.1–5.3 (booksite) X-TOY
13 10/24 Von Neumann Machine II 5.4–5.5 (booksite) X-TOY
14 11/5 Searching and Sorting 4.2
15 11/7 Stacks and Queues 4.3 linked-list · iteration
16 11/12 Symbol Tables 4.4 inorder traversal
17 11/14 Programming Languages 3.3
18 11/19 Theory of Computation 7.1–7.3 (booksite and online chapter) DFA
19 11/21 Universality and Computability 7.4–7.6 (booksite), Harel 1–2 (optional) Turing machine
20 11/26 Intractability 7.7 (booksite), Harel 3–5 (optional)
21 12/3 Combinational Circuits online chapter
22 12/5 Designing a CPU Circuits Exercise
23 12/10 AI
24 12/12 Exam 2


Advice. The slides are intended for the lecture presentations; for reference, read the indicated sections from Introduction to Programming in Java: An Interdisciplinary Approach. An effective strategy is to skim the textbook before the lecture, then read it thoroughly soon afterwards. We recommend printing the slides before lecture and annotating them during lecture.

Online viewing and printing. These lecture slides are suitable for online viewing (one per page) or printing (four per page).

Errata.   Here is a list of known errors in the lecture notes and other course materials.


Copyright Robert Sedgewick and Kevin Wayne.