CS 241

CS 241 - System Programming

Spring 2020

TitleRubricSectionCRNTypeHoursTimesDaysLocationInstructor
System ProgrammingCS241ADA53753DIS00900 - 1020 R  0218 Siebel Center for Comp Sci Beitong Tian
System ProgrammingCS241ADB48069DIS01030 - 1150 R  0218 Siebel Center for Comp Sci Beitong Tian
System ProgrammingCS241ADC48070DIS01200 - 1320 R  0218 Siebel Center for Comp Sci Aaron Gregory Green
System ProgrammingCS241ADD48071DIS01330 - 1450 R  0218 Siebel Center for Comp Sci Arnav Sankaran
System ProgrammingCS241ADE48072DIS01500 - 1620 R  0218 Siebel Center for Comp Sci Aaron Gregory Green
System ProgrammingCS241ADF48073DIS01430 - 1550 W  0222 Siebel Center for Comp Sci Arnav Sankaran
System ProgrammingCS241ADG48075DIS01600 - 1720 W  0222 Siebel Center for Comp Sci Arnav Sankaran
System ProgrammingCS241ADH50109DIS00930 - 1050 R  0222 Siebel Center for Comp Sci Noor Sultan Michael
System ProgrammingCS241ADJ56807DIS01100 - 1220 R  0222 Siebel Center for Comp Sci Noor Sultan Michael
System ProgrammingCS241ADK63637DIS01230 - 1350 R  0222 Siebel Center for Comp Sci Harrison Ding
System ProgrammingCS241ADL63638DIS01400 - 1520 R  0222 Siebel Center for Comp Sci Harrison Ding
System ProgrammingCS241AL143556LEC41000 - 1050 M W F  1320 Digital Computer Laboratory Lawrence Angrave
System ProgrammingCS241AL263636LEC41100 - 1150 M W F  1320 Digital Computer Laboratory Lawrence Angrave
System ProgrammingCS241PRO69992LEC4 -    

Official Description

Basics of system programming, including POSIX processes, process control, inter-process communication, synchronization, signals, simple memory management, file I/O and directories, shell programming, socket network programming, RPC programming in distributed systems, basic security mechanisms, and standard tools for systems programming such as debugging tools. Course Information: Credit is not given for both CS 241 and ECE 391. Prerequisite: CS 225 and CS 233. Class Schedule Information: Students must register for one lecture and one discussion section.

Text(s)

The CS241 textbook is comprised of opensource and free course notes, available here as a a single pdf and on the course website in html format.

Learning Goals

Interact with a POSIX operating system in C via system calls to create system applications (2), (6)
Implement and evaluate a dynamic memory allocator (2), (6)
Analyze and implement a virtual memory subsystem (2), (6)
Create system applications that manipulate processes and threads (1), (2), (6)
Evaluate how OS schedules processes and threads (6)
Communicate and synchronize between threads and processes to create robust system applications (1), (2), (6)
Use synchronization to identify and fix potential deadlock and race conditions in concurrent programs (2), (6)
Manipulate filesystem structures (inodes etc.) (2), (6)
Design and create client and server programs to communicate across networks (1), (2), (6)
Understands and uses system security mechanisms to build secure programs (1), (2), (6)
Can analyze how a specific security error (e.g. buffer overflow, file access control, page access control) impacts the Confidentiality, Integrity and/or Availability of data or service. (1)
Can identify multiple development practices (e.g. design reviews, code reviews, testing) as important practices to build secure programs. (6)
Can briefly describe well-known security case studies (e.g. network protocol implementation errors, CPU side channel attacks) and how they comprise the Confidentiality, Integrity and/or Availability of data or service. (6)

Topic List

Basic internal structure and purpose of operating systems
Input-output, file, and directory structures
Memory allocation and deallocation
Virtual memory
Interaction with the operating system kernel via system calls
Multi-process programming and inter-process communication
Multi-thread programming and inter-thread communication
Synchronization primitives including semaphores and mutexes
Deadlock causes and avoidance
Multi-core scheduling algorithms
Network programming with TCP/IP
Security elementary principles and practices (programming practices, protocols and well-known case studies)

Required, Elective, or Selected Elective

Required.

Last updated

5/10/2019by Lawrence Angrave