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

Assignments 1

The document outlines an operating systems assignment that involves studying the Process Explorer tool. It provides 15 questions on topics like processes and threads, scheduling, context switching, system calls like fork and exec, advantages of multiprocessing, user and kernel modes, virtual machines, and using files in append mode.

Uploaded by

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

Assignments 1

The document outlines an operating systems assignment that involves studying the Process Explorer tool. It provides 15 questions on topics like processes and threads, scheduling, context switching, system calls like fork and exec, advantages of multiprocessing, user and kernel modes, virtual machines, and using files in append mode.

Uploaded by

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

Operating Systems

Assignment 1
(B.Tech.)

Deadline

#Study the following tool in depth: -


Process explore: - https://download.sysinternals.com/files/ProcessExplorer.zip

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 a program Open a file in append mode and add new content to it.
16. 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