1 university of ilam systems programming university of ilam mozafar bag mohammadi
TRANSCRIPT
![Page 1: 1 University of Ilam Systems Programming University of Ilam Mozafar Bag Mohammadi](https://reader036.vdocument.in/reader036/viewer/2022082518/5697c0281a28abf838cd700b/html5/thumbnails/1.jpg)
1
Systems Programming University of IlamUniversity of Ilam
Mozafar Bag Mohammadi
![Page 2: 1 University of Ilam Systems Programming University of Ilam Mozafar Bag Mohammadi](https://reader036.vdocument.in/reader036/viewer/2022082518/5697c0281a28abf838cd700b/html5/thumbnails/2.jpg)
2
What’s End Result?
Before SP: After SP: Can design and code interesting
applications: Simple Web servers Internet multiplayer games Chatrooms, instant messaging software
![Page 3: 1 University of Ilam Systems Programming University of Ilam Mozafar Bag Mohammadi](https://reader036.vdocument.in/reader036/viewer/2022082518/5697c0281a28abf838cd700b/html5/thumbnails/3.jpg)
3
This course slide is based on similar course in University of Illinois at Urbana-Champaign by Tarek Abdelzaher and Lawrence Angrave
http://www.cs.uiuc.edu/class/fa07/cs241
![Page 4: 1 University of Ilam Systems Programming University of Ilam Mozafar Bag Mohammadi](https://reader036.vdocument.in/reader036/viewer/2022082518/5697c0281a28abf838cd700b/html5/thumbnails/4.jpg)
4
The TextbookComing soon (not in store yet)…
Introduction to Systems Concepts and Systems Programming
University of Illinois Custom EditionCopyright © 2007 Pearson Custom PublishingISBN 0-536-48928-9
Taken from:Operating Systems: Internals and Design Principles, Fifth Editionby William Stallings
UNIX™ Systems Programming: Communication, Concurrency, and Threadsby Kay A. Robbins and Steven Robbins
Computer Systems: A Programmer's Perspectiveby Randal E. Bryant and David R. O'Hallaron
![Page 5: 1 University of Ilam Systems Programming University of Ilam Mozafar Bag Mohammadi](https://reader036.vdocument.in/reader036/viewer/2022082518/5697c0281a28abf838cd700b/html5/thumbnails/5.jpg)
5
Agenda
Come to class 6 Short programming assignments
(in teams of 2) 1 Long programming assignments
(in teams of 2) Midterm Final
![Page 6: 1 University of Ilam Systems Programming University of Ilam Mozafar Bag Mohammadi](https://reader036.vdocument.in/reader036/viewer/2022082518/5697c0281a28abf838cd700b/html5/thumbnails/6.jpg)
6
Grading
Final Exam: 50% Mid-term Exam: 30% Team Machine Problems (6 total):
25% 6 Short Machine Problems (SMPs) 3% 1 Long Machine Problems (LMPs) 7%
![Page 7: 1 University of Ilam Systems Programming University of Ilam Mozafar Bag Mohammadi](https://reader036.vdocument.in/reader036/viewer/2022082518/5697c0281a28abf838cd700b/html5/thumbnails/7.jpg)
7
Introduction
What is an operating system? What is it for? What is system programming?
![Page 8: 1 University of Ilam Systems Programming University of Ilam Mozafar Bag Mohammadi](https://reader036.vdocument.in/reader036/viewer/2022082518/5697c0281a28abf838cd700b/html5/thumbnails/8.jpg)
8
Course Objectives
Identify the basic components of an operating system, describe their purpose, and explain how they function.
Write, compile, debug, and execute C programs that correctly use system interfaces provided by UNIX (or a UNIX-like operating system).
![Page 9: 1 University of Ilam Systems Programming University of Ilam Mozafar Bag Mohammadi](https://reader036.vdocument.in/reader036/viewer/2022082518/5697c0281a28abf838cd700b/html5/thumbnails/9.jpg)
9
More Detailed ObjectivesUnderstand the Basics (week 1-2) Use UNIX system calls correctly from within C programsMake the OS do tasks (week 3-9) Create and manage processes and threads on UNIX. Exploit OS semaphores and mutexes Control OS scheduling policy parameters. Take advantage of OS signals and signal handlers. Set OS timers and clocks.Manage machine resources (week 10-12) Manage memory Manage files and I/O on UNIX.Shell Programming (week 13-15)
![Page 10: 1 University of Ilam Systems Programming University of Ilam Mozafar Bag Mohammadi](https://reader036.vdocument.in/reader036/viewer/2022082518/5697c0281a28abf838cd700b/html5/thumbnails/10.jpg)
10
Machine Problems
SMP1 Programs and Processes
SMP2 Processes and Threads
SMP3 Synchronization
SMP4 IPC & signal handling
SMP5 Time Computation
SMP6 Shell programming
LMP1 Not defined yet