OS Problem Set I 2024
OS Problem Set I 2024
UNIVERSITY
PROBLEM SET – I
Session : 2023-24(Even Sem.) Semester : IV
Course : B.Tech Subject Code : BCS4022/UCS4013
Branch : CSE Subject Name : Operating System
Group : ALL Name of Faculty Member : Mrs. Atifa Parveen, Mr.
Neeraj Kumar, Mrs. Prabha
Singh
Unit :I Topics Covered : All Topics
1. How could you describe operating system? What are the major roles of operating system?
2. There are various types of operating system in market. Each can be classified in certain categories.
Name the different categories of Operating Systems.
3. Discuss operating system structure in detail.
4. What is an interrupt? How are multiple interrupts dealt with? Explain block diagram and figure.
5. What are the five major activities of an operating system with regard to process management?
6. What are the three major activities of an operating system with regard to memory management?
7. When do we say a system is "multi-programming"? When do we say it is an "online" system?
8. List examples of at least two applications which in your opinion are real-time applications. Support
your example with appropriate rationale.
9. What the two models are of inter process communication? What are the strengths and weaknesses of
the two approaches?
10. What is the main advantage of the layered approach to system design?
11. What is the main advantage of the microkernel approach to system design? How do user programs
and system services interact in microkernel architecture? What are the disadvantages of using the
microkernel approach?
12. How does a service request invoked by program is fulfilled in operating system’s kernel?
13. What are the advantages and disadvantages of using the same system-call interface for manipulating
both files and devices?
Supplementary Questions:
14. What will be output of following code? Explain your answer.
int main( )
{
int i=0;
int pid;
for(i=0;i<100;i++)
{
if((pid=fork( ))==0)
printf(“child is counting %d ”, i);
else
printf(“parent is counting %d”, i);
}
printf( “terminating” );
}
TEXT BOOKS:
T1 “Operating System Concepts”, Abraham Siberschatz and Peter Baer Galvin, Fifth Edition,
Addision-Wesley
T2 “Operating System”, William Stallings, Prentice Hall of India, 4th Edition, 2003