CPSC 111 Elementary Computer Programming C
Spring 2024
<http://andrewd.ces.clemson.edu/courses/cpsc111/spring24/sched.html>

13:25-14:15 MW McAdams 114

Schedule

Date Lecture Slides Topic Lab Topic
Wed. Jan.10 01 chp00 Getting Started  
Mon. Jan.15 02 chp01 Martin Luther King Day 01 Unix, C, editors
Wed. Jan.17 03 chp02 Some Basics

virtual.computing.clemson.edu

   
Mon. Jan.22 04   A Worked Example 02 compiler errors, debugging
Wed. Jan.24 05 chp03 Floating-Point Numbers    
Mon. Jan.29 06   Chars and Operators 03 Makefiles
Wed. Jan.31 07 chp04
makefiles
Assignment 0 due
Hello world, practice with tar, handin.

For Loops, While Loops, and Other Loops

   
Mon. Feb.05 08 chp05 Ifs (conditionals), switch statement, booleans 04 ints, math, ascii, redirection
Wed. Feb.07 09   Arrays    
Mon. Feb.12 10   Test 1 Preview 05 flow control, formatting
Wed. Feb.14 11   Test 1    
Mon. Feb.19 12 chp06 Arrays 06 conditional statements, loops, math.h, random numbers
Wed. Feb.21 13   Assignment 1 due
Sums of digits

See also: base conversions

   
Mon. Feb.26 14 chp07 Functions 07 debugging with gdb
Wed. Feb.28 15   Functions    
Mon. Mar.04 16 chp09 Strings 08 arrays
Wed. Mar.06 17 slides Dynamic Memory Allocation    
Mon. Mar.11 18 chp14 Multi-module programs

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

09 functions
Wed. Mar.13 19   Assignment 2 due
Sudoku checker

Test 2 preview

   
Mon. Mar.18   Spring Break
Wed. Mar.20   Spring Break    
Mon. Mar.25

Dr. D. away

20   Guest lecture: Hayden Roof

Test 2

10 multi-module programs
Wed. Mar.27 21 argv OpenMP

Makefile
color.c
color1d.c
ppmcopy2.c

Concurrent (parallel) programming

  • threads, processes, etc.

Supplements

   
Mon. Apr.01 22 chp15 File I/O

Supplements

11 PPM header
Wed. Apr.03 23 chp08 Structures    
Mon. Apr.08

Dr. D. away

24 chp10 Guest lecture: Nicolas Widman

Pointers

12 strings, char pointers
Wed. Apr.10

Dr. D. away

25 chp10 Guest lecture: Nicolas Widman

Linked Lists

   
Mon. Apr.15

Dr. D. away

26   Guest lecture: Nicolas Widman

Test 3 preview

13 command-line args, structs, dynamic memory allocation
Wed. Apr.17 27   Test 3

   
Mon. Apr.22 28   Assignment 3 due
Image file transformation
 
Wed. Apr.24 29   Final exam Preview
  • General Concepts
    • loops
    • conditionals
    • math ops
    • local, global, static vars
  • Arrays & Recursion
  • Sorting
  • Arrays & Pointers
  • Strings & Command-Line Arguments
  • Structures
  • Pointers

Student Evaluations

   
Fri. May.03 30   FINAL EXAM 3:00pm-5:30pm