CSCI 415/515 - Fall 2022
Systems Programming


Syllabus

General Course Information

Instructor Stephen Herwig Office Hours:
WMF 11:00am - 12:00pm, or by appt.
McGlothlin-Street Hall
Room #136
Teaching Assistant Collin MacDonald
cmacdonald01@wm.edu
TuTh, 10:00am -11:30pm
McGlothlin-Street Hall
Room #139
Time/Place WMF 10:00am - 10:50am
Blow Memorial Hall
Room #331
Final Exam Thur 12/15: 2:00pm - 5:00pm
  • take-home
  • open-book; open-Internet

Roadmap

Readings Project Notes
Warm-up Weeks 1 and 2 (Wed 8/31 - Fri 9/9)
The Linux Programming Interface:
  • Ch 1: History and Standards
  • Ch 2: Fundamental Concepts
  • Ch 3: Systems Programming Concepts
  • Ch 7: Memory Allocation
  • Appendix B: Parsing Command-Line Options
p1: sgrep
Due: Wed 9/14 @ 7:00am
  • Mon 9/5: No class (Labor Day)
File I/O and File Systems Weeks 3 and 4 (Mon 9/12 - Fri 9/23)
The Linux Programming Interface:
  • Ch 4: File I/O: The Universal I/O Model
  • Ch 5: File I/O: Further Details
  • Ch 14: File Systems
  • Ch 15: File Attributes
  • Ch 18: Directories and Links
  • Ch 13: File I/O Buffering
p2: fed
Due: Tue 9/27 @ 7:00am
  • Mon 9/12: Course drop/add deadline
Signals and Timers Weeks 5 and 6 (Mon 9/26 - Fri 10/7)
The Linux Programming Interface:
  • Ch 20: Signals: Fundamental Concepts
  • Ch 21: Signals: Handlers
  • Ch 22: Signals: Advanced Features
  • Ch 23: Timers and Sleeping
  • Ch 10: Time
p3: mcron
Due: Tue 10/11 @ 7:00am

extra credit: htmlper.sh
Due: Tue 12/13 @ 7:00am
Processes and Pipes Weeks 7 and 8 (Mon 10/10 - Fri 10/21)
The Linux Programming Interface:
  • Ch 24: Process Creation
  • Ch 25: Process Termination
  • Ch 26: Monitoring Child Processes
  • Ch 27: Program Execution
  • Ch 44: Pipes and FIFOs
  • Ch 28: Process Creation and Program Execution in More Detail
  • Ch 6: Processes
p4: bsh
Due: Thur 10/27 @ 7:00am

  • Fri 10/14: No class (Fall Break)
Sockets Weeks 9, 10, 11(Mon 10/24 - Fri 11/11)
The Linux Programming Interface:
  • Ch 58: Sockets: Fundamentals of TCP/IP Networks
  • Ch 56: Sockets Introduction
  • Ch 59: Sockets: Internet Domains
  • Ch 60: Sockets: Server Design
  • Ch 63: Alternative I/O Models
p5: adns
Due: Tue 11/15 @ 7:00am
  • Mon 10/31: Withdraw deadline
Threads Weeks 12, 13, and 14 (Mon 11/14 - Fri 12/2)
The Linux Programming Interface:
  • Ch 29: Threads: Introduction
  • Ch 30: Threads: Synchronization
  • Ch 31: Threads: Thread Safety and Per-Thread Storage
  • Ch 32: Threads: Thread Cancellation
  • Ch 33: Threads: Further Details
p6: revlookup
Due: Fri 12/9 @ 5:00pm
  • Mon 11/21: Remote class
  • Wed 11/23: No class (Thanksgiving Break)
  • Fri 11/25: No class (Thanksgiving Break)
Review Week 15 (Mon 12/5 - Fri 12/9)
Sample Exam Questions
  • Fri 12/9: Last day of classes