CS 2000 Lecture Schedule


week date topics
reading
assignments
1 8/24 Administrative details. What is a computer program? Program development. 0.1, 0.4-0.6

8/26 Problem solving. Basic program structure. Identifiers. Sample algorithm. 1.1-1.3 Assignment #1 due Friday as part of lab (not for credit).
2 8/31 Control flow. 1.4-1.8

9/2 Internal representation of data. Integers. Floating-point numbers. 0.3 Assignment #2 due at 1:00pm (not for credit).
3 9/7 Labor Day -- no class!!!



9/9 I/O and files. Variables.  taxes.c, incomes.dat.
1.9-1.10, 2.1-2.2 Assignment #3 due at 1:00pm (for credit).
4 9/14 Operators. for statements. 2.3-2.8

9/16 More on for loops. switch statementsdiv_by_3.c, course_num.c.
2.6-2.8, 3.1-3.6 Assignment #4 due at 1:00pm (not for credit).
5 9/21 Review for 1st midterm exam


9/23 1st midterm exam (answers)


6 9/28 Casting and mixed-mode arithmetic. Bitwise operators. Wrap up: control flow, operators. 3.7-3.10

9/30 Functions. Arguments and parameters. 4.1-4.2 Assignment #5 due at 1:00pm (for credit).
7 10/5 Scope of variables. The preprocessor. Recursion. pos_neg.c.
4.3-4.9

10/7 Arrays. Array indexing. Character strings. 5.1-5.5 Assignment #6 due at 1:00pm (not for credit).

10/12 Fall Break -- no class!!!



10/14 Fall Break -- no class!!!


8 10/19 Arrays as function arguments. String-handling functions. Multidimensional arrays. 5.6-5.12

10/21 Pointer variables. Levels of indirection. Pointers and arrays. 6.1-6.3 Assignment #7 due at 1:00pm (not for credit).
9 10/26 Pointers as function arguments. Pointers and multidimensional arrays. Pointers to functions. 6.4-6.10

10/28 Finish up pointers. Storage classes in a single-source file. 7.1-7.2 Assignment #8 due at 1:00pm (for credit).
10 11/2 Review for 2nd midterm exam


11/4 2nd midterm exam (answers)

11 11/9 Multiple source files. Storage classes for functions. Type qualifiers. 7.3-7.9

11/11 Opening and closing files. Character I/O. String I/O. 8.1-8.4 Assignment #9 due at 1:00pm (not for credit).
12 11/16 Formatted I/O. diff.c.
8.5

11/18 Structures. typedef construct. Operations on structures. 9.1-9.4 Assignment #10 due at 1:00pm (for credit).
13 11/23 More on structures. Enumerated types. 9.5-9.7, 9.9

11/25 Introduction to data structures. Compile- and run-time storage allocation. Linked lists. 10.1-10.3 Assignment #11 due at 1:00pm (not for credit).
14 11/30 Review linked lists. Stacks and queues. 10.4-10.5

12/2 Graphs. Trees. Tree traversals. 10.6-10.9 Assignment #12 due at 1:00pm (for credit).
15 12/7 Brief introduction to C++. 11.5

12/9 Review for final exam.
Assignment #13 due at 1:00pm (for credit).

12/15
Final exam, 1:00 - 3:00