0% found this document useful (0 votes)
15 views3 pages

SEt 1A

Operating Systems Question paper chapter 1,2,3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views3 pages

SEt 1A

Operating Systems Question paper chapter 1,2,3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

SET A

Group A (12*1=12)
Multiple Choice questions

1. Which component of the Operating System handles system calls?


a) User Interface
b) Device Manager
c) Kernel
d) File System

2. A system call used for creating a new process is:


a) fork()
b) open()
c) read()
d) exec()

3. Which of the following is a valid method to handle race conditions?


a) Deadlock Prevention
b) Mutual Exclusion
c) Batch Processing
d) Multiprogramming

4. Which method is used in deadlock avoidance?


a) Resource Allocation Graph
b) Semaphores
c) Multiprogramming
d) Critical Section

5. What is a race condition?


a) A situation where multiple threads or processes read and write shared data and
the final outcome depends on the order of execution.
b) A condition where processes run at the same speed.
c) A situation where processes are executed in a strict order.
d) A condition that occurs due to lack of synchronisation among processes.

6. The Process Control Block (PCB) does not contain which of the following
information?
a) Process state
b) Program counter
c) Stack pointers
d) OS information

7. Which of the following is a correct statement about threads?


a) Threads have their own separate memory space.
b) Threads of the same process share the same memory space.
c) Threads can exist independently without a process.
d) Threads do not share any resources.
8. What does the "Hold and Wait" condition for deadlock imply?
a) Processes must request all required resources at once.
b) A process holds at least one resource and is waiting to acquire additional
resources that are being held by other processes.
c) Resources can be forcibly taken from a process.
d) Processes wait indefinitely for resources.

9. Which deadlock handling method involves periodically checking the system for
deadlocks and recovering from them?
a) Deadlock prevention
b) Deadlock avoidance
c) Deadlock detection and recovery
d) Mutual exclusion

10. What is a key characteristic of a microkernel operating system structure?


a) It contains all operating system services within the kernel.
b) It provides minimal services within the kernel, moving most services to user space.
c) It uses a hybrid approach combining monolithic and layered architectures.
d) It relies heavily on hardware for implementing system functions.

11. In a layered operating system, what is the main drawback of having too many
layers?
a) Increased system complexity
b) Reduced modularity
c) Higher overhead
d) Difficulty in debugging

12. What is the primary function of an operating system?


a) Compiling code
b) Managing hardware resources
c) Designing web pages
d) Calculating mathematical problems

Group B (Attempt any 3 questions) (3*6=18)


1. Define Operating System. Explain OS as a virtual machine. (2+4)
2. Define Producer Consumer problem. Explain the solution of Producer Consumer
problem using Semaphores. (2+4)
3. Define deadlock prevention. Explain the required conditions for deadlock to occur.
4. Write Short Notes on: (3*2)
a. Race condition and Critical Section
b. User and Kernel Level threads.
c. File Management system calls

Group C (1*20=20)
5. Differentiate Processes and Threads. Explain five state process model. Find the
average waiting time and average turnaround time for the following set of processes
using FCFS, SJF, Round Robin (Quantum = 3) and shortest remaining time next.

Process CPU brust time Arrival time

P1 20 0

P2 25 15

P3 10 30

P4 15 45

(4+8+8=20)

You might also like