0% found this document useful (0 votes)
23 views

OS Assignments 1

The document outlines an assignment for an operating systems course. It provides 15 questions on topics related to processes, threads, scheduling, system calls, virtual machines, and process creation. Students must answer all questions and submit their responses by February 10th at 4:00 PM. Key topics covered include the process control block, short, medium, and long-term scheduling, context switching, the fork, exec, wait, and exit system calls, minimizing context switching time, system calls, multiprogramming, kernel vs user mode, advantages of virtual machines, differences between user and kernel threads and fork and clone functions, CPU and I/O bursts, the importance of operating systems, and using a process explorer tool.

Uploaded by

Tactician VXP
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

OS Assignments 1

The document outlines an assignment for an operating systems course. It provides 15 questions on topics related to processes, threads, scheduling, system calls, virtual machines, and process creation. Students must answer all questions and submit their responses by February 10th at 4:00 PM. Key topics covered include the process control block, short, medium, and long-term scheduling, context switching, the fork, exec, wait, and exit system calls, minimizing context switching time, system calls, multiprogramming, kernel vs user mode, advantages of virtual machines, differences between user and kernel threads and fork and clone functions, CPU and I/O bursts, the importance of operating systems, and using a process explorer tool.

Uploaded by

Tactician VXP
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Operating Systems

Assignment 1
Deadline:- 10-02-23 Time: - 4:00 PM

1. Differentiate process and thread. Describe all the entries of process control block.
2. Describe the differences among short term, medium term & long-term scheduling.
3. Describe the actions a kernel takes to context switch between processes.
4. Write the syntax and explain the use of following system calls:
Fork, exec, wait, exit
5. Why context switching time should be minimum? How it is dependent on hardware support?
6. What will happen when system call is encountered in a user program?
7. What is the main advantage of multiprogramming?
8. Differentiate the APIs and System calls role in OS with suitable example.
9. What is the significance of kernel and user mode in OS? Explain with suitable example.
10. What are the advantages of Virtual Machine?
11. Write down the differences between
(a) User Thread and Kernel Thread
(b) Fork () function and clone () function
(c) CPU burst and I/O burst.
12. Explain operating system and importance?
13. Write down a short note on Process Explore tool for Windows.
14. What resources are used when a thread is created? How do they differ from those used when a process is
created?
15. Write down a program to create two child processes and print following sequence by them.
Child 1: - 2 4 8 16 32 64
Child 2: - 2 5 8 11 14 17

You might also like