San Jose State University
CS49C Spring 2008 Schedule

The schedule is updated frequently. Please, check regularly. Unless otherwise stated, reading and programming assignments are from Kernighan et al. “The C Programming Language”.

Date Description In-class activities Reading Assignment Programming Assignment
01/24 Course Overview
  1. Questionnaire (10 points)
  2. Lab 1 (not graded)
Preface to the First Edition, Introduction and Sections 1.1-1.3.
  1. Install an IDE for compiling and running C programs. Contact the CS Club to obtain installation CDs of Visual Studio 2005 Professional.
  2. Complete exercises 1.1-1.5.
  3. Repeat exercises 21-22 from Lab 1 on your home computer. Compare answers.
01/29 Basic C Constructs
  1. Quiz One (6 points).
  2. Lab 2: The add.c program
Sections 1.4 and 1.5. Exercises 1-6, 1-7 and 1-8.
01/31 Basic C constructs Lab 2 (8 points).
  1. Chapter 1: Sections 1.6 - 1-9.
  2. Chapter 2: Sections 2.1-2.6.
Exercises 1-13, 1-14, 1-5, 1-17, 1-18, 1-19.
02/05 C control structures.
  • Quiz Two
  • Lab 3.
Chapters 1 and 2. Complete all exercises in Lab 3.
02/07 C control structures Chapter 3. Exercises 1-20 and 1-21 on p. 34 and all exercises in Lab 3.
02/12 C program development
  1. Lab 3 (6 points)
    submission
  2. Lab 4 (not graded)
  3. In-class exercises
Chapter 3 Exercises 3-2, 3-3.
Solution to Lab 2
Solution to Lab 3
02/14 C functions and program structures Quiz Three Chapter 4. Exercise 4-1.
02/19 C functions Lab 5
recip.c program
additional exercises
Chapters 1-4.Finish additional exercises from today's lab
02/21 Pointers Lab 6
address2.c
address3.c
sizeof.c
pointer1.c
Chapters 1-4, 5.1-5.2 Finish Lab 6 and additional exercises from 02/19
02/26 Pointers In class exercises
The ASCII table
Chapters 1-4 and 5.1, 5.1 Prepare for Midterm Exam:
--Review all quizzes
--Review all exercises
--Review all labs
02/28 Midterm Exam   Chapter 5, Sections 5.1-5.10. Type, compile and run all sample programs in Sections 5.1-5.10
03/04 Pointers and Arrays Exam 1 back.
Lab 7:
stock15.txt
stock1000.txt
sample output
Chapter 5 Lab 7
03/06 Pointers and Arrays Quiz 4
Lab 7 demo is due.
Real stock data for Part 6 (link up in class).
Chapter 6 Programming assignment
03/11 Arrays and Pointers Best solutions to Lab 7:
   Tanya and Keith
   Kevin and Timmy
Lab 8
No new reading Programming assignment: Parts 3 and 4.
Finish Lab 8.
03/13 Multiple-Subscripted Arrays Lab 8 Chapter 5 pp. 104-118. Programming assignment
Use some very large number for the total number of rolls. E.g. roll the dice 36,000 times, then compute the stats.
03/18 C Arrays Quiz Six
Lab 9
   lab9 files
Chapter 6 Lab 9
03/20 C Arrays Lab 9 due
   sample solutions
Chapter 6  
03/25 Spring break      
03/28 Spring break      
04/01 Strings Lecture/Lab
Today's programs
Sample lab solutions
Review Chapter 5 Programming exercises
Skeleton for PE 1
04/03 Strings Lecture/Lab 10
Today's programs
Review Chapter 5 Complete programming exercises from 04/01
   solutions
Finish lab 10
Practice Midterm Two with solutions: solution to problem 25 corrected
04/08 Strings Lecture/lab
   today's programs
   sample solutions
Review for exam chapters 1-5 Review all labs, and programming assignments
04/10 Midterm Two   Chapter 6  
04/15 Exam back exam files Chapter 6 Exam review
04/17 No class   Chapter 6 pp. 127-143, 146-150  
04/22 Structuring data Lecture/Lab
today's files
Chapter 7 Complete Lab 11
04/24 Input and Output Lecture/Lab Chapter 8 Complete Lab 12
04/29 File I/O Lab 13
   today's files
Additional info about File I/O Complete Lab 13
05/01 File I/O Lab 14 Section 4.11 pp. 88-92 Finish Lab 14
05/06 C Preprocessor Lecture/Lab 15
   today's files
Additional C Preprocessor info Finish Lab 15
05/08 Memory Allocation Lecture/Lab 16
    today's files
Best solutions to phone anagram problem:
    David and Sudeep
    Timmy and Danny
Section 6.5 pp. 139-143. Finish Lab 16
05/13 The make utility Lecture/Lab today's files    
05/16 Final Exam      

©2008 Natasha Khuri