Fall 2024 - CMPT 201 D100
Systems Programming (4)
Class Number: 7255
Delivery Method: In Person
Overview
-
Course Times + Location:
Sep 4 – Oct 11, 2024: Tue, 12:30–2:20 p.m.
BurnabyOct 16 – Dec 3, 2024: Tue, 12:30–2:20 p.m.
BurnabySep 4 – Dec 3, 2024: Thu, 12:30–2:20 p.m.
Burnaby -
Exam Times + Location:
Dec 10, 2024
Tue, 7:00–10:00 p.m.
Burnaby
-
Instructor:
Steven Ko
steveyko@sfu.ca
-
Prerequisites:
(CMPT 125 or CMPT 135) and MACM 101, both with a minimum grade of C-.
Description
CALENDAR DESCRIPTION:
An introduction to a UNIX-like application-OS interface from a programmer's perspective. Introduces operating systems and their interfaces for user-level programs. Students learn how to programmatically interact with an OS efficiently, correctly, and securely. Topics include: command-line tools, programming with memory, processes, threads, IPC, as well as basics of OS security. Students who have taken CMPT 300 first may not then take this course for further credit.
COURSE DETAILS:
By taking this course, students will learn:
- User-level services and abstractions provided by operating systems
- How to write programs that utilize those services and abstractions correctly, efficiently, and reliably, using Linux
Students will be equipped with important practical and theoretical background for upper-level courses. Topics covered in this course include:
- Linux command-line interface, shell scripting, and basic development tools
- Processes and threads
- Memory management
- Virtual memory
- Scheduling
- Synchronization
- Storage and file system abstractions
- Communication abstractions such as IPC, sockets, and RPC
- Basics of OS security and cryptographic functions.
In addition to CMPT 201 Prerequisites: (CMPT 125 or CMPT 135) and MACM 101, both with a minimum grade of C-, we strongly recommend that students are proficient in:
- C programming (e.g., writing CMPT 125- or CMPT 135-level programs in C without getting help)
- Experience in using the command-line interface on Linux
COURSE-LEVEL EDUCATIONAL GOALS:
Students are expected to achieve proficiency in the following areas:
- Interacting with, and programming in, a Linux environment using the command-line interface
- Utilizing programming tools such as build systems and debuggers
- Manipulating and managing data in memory correctly
- Programming concurrency with processes and threads
- Understanding concurrency concepts such as semaphores, locks, critical sections, deadlocks, common concurrency patterns, etc.
- Understanding file system abstractions and programming with them
- Understanding communication abstractions such as IPC, sockets, and RPC and programming with them
- Understanding cryptographic functions and programming with them
Materials
RECOMMENDED READING:
Computer Systems: A Programmer's Perspective, 3rd Edition, Randal E. Bryant and David R. O'Hallaron, 2015.
The Linux Programming Interface (October 2010, No Starch Press, ISBN 978-1-59327-220-3)
Operating Systems: Three Easy Pieces, Remzi H. Arpaci-Dusseau and Andrea C. Arpaci-Dusseau, v. 1.0
Advanced Programming in the UNIX Environment, 3rd Edition, W. Stevens and Stephen Rago, 2013
Unix Network Programming, Volume 1: The Sockets Networking API, 3rd Edition, W. Stevens, Bill Fenner, and Andrew Rudoff, 2003
UNIX Network Programming, Volume 2: Interprocess Communications, 2nd Edition, W. Richard Stevens, 1998
The Art of Unix Programming, Eric Steven Raymond, 2003
C Programming Language, 2nd Edition, Dennis Ritchie and Brian Kernighan, 1988
REQUIRED READING NOTES:
Your personalized Course Material list, including digital and physical textbooks, are available through the SFU Bookstore website by simply entering your Computing ID at: shop.sfu.ca/course-materials/my-personalized-course-materials.
Registrar Notes:
ACADEMIC INTEGRITY: YOUR WORK, YOUR SUCCESS
SFU’s Academic Integrity website http://www.sfu.ca/students/academicintegrity.html is filled with information on what is meant by academic dishonesty, where you can find resources to help with your studies and the consequences of cheating. Check out the site for more information and videos that help explain the issues in plain English.
Each student is responsible for his or her conduct as it affects the university community. Academic dishonesty, in whatever form, is ultimately destructive of the values of the university. Furthermore, it is unfair and discouraging to the majority of students who pursue their studies honestly. Scholarly integrity is required of all members of the university. http://www.sfu.ca/policies/gazette/student/s10-01.html
RELIGIOUS ACCOMMODATION
Students with a faith background who may need accommodations during the term are encouraged to assess their needs as soon as possible and review the Multifaith religious accommodations website. The page outlines ways they begin working toward an accommodation and ensure solutions can be reached in a timely fashion.