University of South Asia
Quiz 01
Session Fall 2024 Total Marks 10
Subject Operating Systems Date 23 Sep 2024
Resource Person Rakhshan Imtiaz Department Computer Science
Program BSCS Section A
Instructions:
Read and understand the instructions carefully before beginning.
Write neatly and legibly to ensure your work is easy to read.
Neatly staple or bind your assignment if required.
Review and revise your work for errors and clarity before submission.
Q No. 1: (CLO1- C2) (06 Marks)
Explain the notes provided below.
a) System Call with example
b) Three services of OS
c) Program vs Process
Q No. 2: (CLO1- C3) (04 Marks)
Demonstrate the concept of fork () system call. Implement the concept of fork system call on the
following code and show by tree diagram that how many times print statement will run?
fork();
fork();
fork();
fork();
fork();
print(“OS”);
Good Luck!
Page 1 of 2