OS Lab Course Outline
OS Lab Course Outline
Spring 2020
Operating Systems Lab
1|Page
Teaching Staff
Lab Engineer is Miss Zainab Iftikhar.
2|Page
Syllabus
This lab course covers the fundamental concepts of internal operation of modern operating systems. In
particular, the lab will cover processes and threads, mutual exclusion, CPU scheduling, deadlock,
memory management, and file systems. If time permits, we may briefly examine networking and
distributed computing, and perhaps other topics.
Credit Hours
This module carries 4 credit hours, 3 class hours and 1 lab hour for all undergraduate degrees
within the Faculty of Computing and Artificial Intelligence.
Reference Book
1. Abraham Silberschatz, Peter B. Galvin, Greg Gagne, Operating System Concepts. Sixth
edition. Addison-Wesley
Tools
VMware
Ubuntu
3|Page
Lab Outline
Week Topic
1. Linux Commands
Coding familiarity with in Linux environment
g++ and gcc
2. Pointers
Functions
Pass by value
Pass by reference
3. System Call
Process Creation
Implementation of fork system call
Implementation of exec system call
4. Process Creation
Implementation of fork with wait system call
Implementation of exit system call
5. Threading
Implementation of threads
6. Threading
Implementation of self-thread
Inter Process Communication
7. Scheduling Implementation
Demo
MID TERM
11. Semaphores
12. Paging
FINAL EXAMINATION
4|Page
Weightage Breakdown
Assessment Weightage
Quizzes (5) 15%
Lab Tasks 10%
Assignments 15%
Project 10%
Midterm Exam 20%
Final Exam 30%
5|Page
Administrative Rules
Workload:
o This is a 15 week semester and students should expect 3 hours lecture and 2 hours of
coding practice session in the lab.
Attendance:
o 75% attendance is mandatory to appear in the final examination. Late comers are
welcome in the lab sessions but they have to pay a fine and their attendance will not be
marked.
Assignment Policy:
o All assignments will be announced on google classroom.
o No late assignments will be accepted. If an assignment is 30 minutes late than 50%
credit will be automatically deducted and after 30 minutes zero credit will be awarded.
o In case of copied assignments both parties will get zero credit.
o If you are assigned to submit a hard copy of an assignment than it is the responsibility of
the CR to collect all the assignments before start of lab session and hand over to the
teacher in the starting 5 minutes of lab.
o No makeup assignments are available.
o If you are absent when an assignment is due, the assignment still meet the deadline.
Quiz Policy:
o All quizzes will be announced.
o No extra, makeup quizzes will be taken.
o If you are late in the lab and a quiz is going on than don’t expect to get extra time for
the quiz.
Use of Mobile phone, tablets is strictly not allowed in the lab session. If someone is caught using
than s/he has to submit a heavy fine for it.
Do not eat in the lab. You may keep a water bottle or can bring tea or coffee along with you.
6|Page