CPSC 111 Elementary Computer Programming C
Fall 2021
<http://andrewd.ces.clemson.edu/courses/cpsc111/fall21/sched.html>

13:25-14:15MW Daniel 415

Schedule

Date Lecture Slides Topic Lab Topic
Wed. Aug.18 01 chp00 Getting Started
Mon. Aug.23 02 chp01 Some Basics

virtual.computing.clemson.edu

01 Unix, C, editors
Wed. Aug.25 03 chp02 A Worked Example    
Mon. Aug.30 04 chp03 Floating-Point Numbers 02 compiler errors, debugging
Wed. Sep.01 05   Chars and Operators    
Mon. Sep.06 06 chp04
makefiles
For Loops, While Loops, and Other Loops 03 Makefiles
Wed. Sep.08 07   Assignment 0 due
Hello world, practice with tar, handin.

Ifs (conditionals)

   
Mon. Sep.13 08 chp05 Ifs, switch statement, booleans 04 ints, math, ascii, redirection
Wed. Sep.15 09   Arrays    
Mon. Sep.20 10   Test 1 Preview 05 flow control, formatting
Wed. Sep.22 11   Test 1    
Mon. Sep.27 12 chp06 Arrays 06 conditional statements, loops, math.h, random numbers
Wed. Sep.29 13   Assignment 1 due
Sums of digits

See also: base conversions

   
Mon. Oct.04 14   Functions 07 debugging with gdb
Wed. Oct.06 15 chp09 Assignment 2 Milestone 1
Sudoku input
  • sudoku_read()

Strings

   
Mon. Oct.11   Fall Break  
Wed. Oct.13 16 chp07 Assignment 2 Milestone 2
Sudoku output (pretty-printing)
  • sudoku_write()

Functions

   
Mon. Oct.18 17   Functions 08 arrays
Wed. Oct.20 18 chp14 Assignment 2 Milestone 3
Sudoku validity check
  • sudoku_check_row()
  • sudoku_check_col()
  • sudoku_check_3x3()

Multi-module programs

Stubs
(e.g., how to start Asg. 3)

   
Mon. Oct.25 19   OpenMP

Makefile
color.c

Concurrent (parallel) programming

  • threads, processes, etc.
09 functions
Wed. Oct.27 20   Assignment 2 due
Sudoku checker

Test 2 preview

   
Mon. Nov.01 21 argv Test 2 10 multi-module programs
Wed. Nov.03 22 chp15 File I/O    
Mon. Nov.08 23 chp10 Assignment 3 Milestone 1
Parsing PPM header

Pointers

11 PPM header
Wed. Nov.10 24 chp10 Pointers    
Mon. Nov.15 25 chp08 Assignment 3 Milestone 2
PPM image copy

Structures and Linked Lists

12 strings, char pointers
Wed. Nov.17 26   Test 3 preview    
Mon. Nov.22 27   Assignment 3 Milestone 3
PPM image transforms

Test 3

 
Wed. Nov.24   Thanksgiving

   
Mon. Nov.29 28   Assignment 3 due
Image file transformation
13 command-line args, structs, dynamic memory allocation
Wed. Dec.01 29   Final exam Preview

Student Evaluations

   
Fri. Dec.10 30   FINAL EXAM 3:00pm-5:30pm