CPTS 360
Systems Programming, Spring 2024
Overview
This course aims to equip students with the skills to craft system software, utilize system capabilities, and construct small-to-medium scale software systems. Throughout this course, students will (a) develop and execute C programs, (b) comprehend the fundamental methods of creating applications through libraries and interfacing with services, (c) understand memory layout, program, and process representations, and (d) implement Unix/Linux abstractions for memory management, processes, process control, inter-process communication, scheduling, file systems, and networks.
Instructor: Monowar Hasan
Email: monowar.hasan@wsu.edu
Class time: Tuesday, Thursday 10:35-11:50 AM
Class Location: Pullman Campus, Carpenter Hall 102
Office Hours (EME B53): Monday, Wednesday 2:30-3:30 PM or by appointment
Course Staff (TA): YuQun Song (yuqun.song@wsu.edu) Trang Mai Hoang (trang.m.hoang@wsu.edu) Bruno Sanchez Parra (bruno.sanchezparra@wsu.edu)
TA Office Hours: Tuesday 1:00-2:00 PM, Sloan 333 (YuQun) Monday 3:30-4:30 PM, Sloan 333 (Trang) Tuesday 12:00-1:00 PM, Sloan 340 (Bruno) Thursday 2:00-3:00 PM, Sloan 333 (YuQun)
Important: To better prepare yourself for office hours and posting Teams interactions, read carefully the excellent guides from Gabriel Parmer:
Acknowledgment
This course uses materials from Randal E. Bryant, David R. O'Hallaron, Remzi Arpaci-Dusseau, Andrea Arpaci-Dusseau, Kung-Chi Wang, Bob Lewis, Youjip Won, Tianyin Xu, Mathias Payer, Sanidhya Kashyap, Peter Reiher, and Hugh Lauer.
Course Syllabus
The course syllabus is available here.
Textbook
[CSAPP] Computer Systems: A Programmer's Perspective, 3rd edition, by Randal E. Bryant and David R. O'Hallaron.
[LKMPG] The Linux Kernel Module Programming Guide, Peter Jay Salzman, Michael Burian, Ori Pomerantz, Bob Mottram, Jim Huang. This book is helpful for Lab 3.
Schedule and Class Materials
Note: The lectures and code files are hosted on the WSU OneDrive cloud. You need WSU credentials to access the materials.
Sample Exams
Exam Solutions
Programming Assignments
We will have five programming assignments in this course. The assignments must be completed individually.
Lab 1: Design a Unix filesystem tree simulator using C Tree data structures
Lab 2: Implement various CPU schedulers (first-come-first-serve, round-robin, shortest-job-first)
Lab 3: Basic kernel-level programming on Linux
Lab 4: Develop a web proxy that interacts with the browser and the Internet
You will need access to a Linux machine (or VM) to complete the labs. Check the following links for details about setting up virtual machines on your systems.
Apple Silicon Mac (from scratch, prebuild-images)
Note: for Windows systems, WSL is not recommended. You must install a standalone VM image.
Programming Assignment Submission
We will use GitHub Classroom to deliver programming assignments. This way, you can better manage your assignments using a widely-used version control system, Git.
For information on version control and how to use Git, see:
To learn more about GitHub workflow, see GitHub Quickstart.
Are you using GitHub on your machine for the first time?
If you are using GitHub for the first time on your development machine, you need to authenticate your account — one way to do this is by using GitHub CLI. Install GitHub CLI using the instructions given here. Then run the following command and follow the prompts to authenticate your system: gh auth login
.
Submission Workflow
For each lab, you will find a GitHub Classroom link on Canvas. Once you click the link and log into your GitHub account, find your name in the student list and click it to accept the assignment. Please double-check your name and email address before accepting the assignment. If you accidentally choose another student's name, please contact the instructor.
A repo named
wsu-cpts360-term/paX-name
will be automatically created for you and hosted on GitHub with the starter code.You can then "clone" your repository onto your development machine. You will complete assignments on your development computer and then "push" your work to the GitHub-hosted remote repository for us to grade.
Final submission:
Copy the URL of your GitHub repository on the corresponding assignment section on Canvas.
For any questions on setting up GitHub, please contact the TA.
Useful Resources
GDB Tutorial 1, Tutorial 2
GitHub Classroom: Tutorial 1, Tutorial 2
Got stuck? Questions about anything? Feel free to contact the instructor on Teams (preferred) or via email: monowar.hasan@wsu.edu!
Last updated