Professional Documents
Culture Documents
Os Test - 02
Os Test - 02
OS TEST - 02
Correct Option: ( A, )
Solution:
Correct Option: ( A, )
Solution:
Correct Option: ( A, )
Solution:
Professor Academy No.42, Railway Border road, Kodambakkam, Chennai, State - Tamil Nadu, Pin Code - 600024 ,+91 9150567983
4 Which of the following statements accurately describes "context
switching" in operating systems?
(A) (B)
It refers to the process of changing a It involves transferring control from one
process's priority to enhance process to another, saving and restorin
performance. the state of the CPU registers.
(C) (D)
It's the mechanism by which the operating It denotes the method of converting hig
system allocates memory to running level programming languages into
processes. machine code.
Correct Option: ( B, )
Solution:
(C) (D)
The process of saving and restoring the A method to switch between various
state of a process or thread so that it can operating systems installed on a
be resumed later. computer.
Correct Option: ( C, )
Solution:
(C) (D)
The allocation of resources to multiple processes The process of converting high-level programming code into
simultaneously machine code
Correct Option: ( A, )
Solution:
Professor Academy No.42, Railway Border road, Kodambakkam, Chennai, State - Tamil Nadu, Pin Code - 600024 ,+91 9150567983
7 Which of the following conditions must hold true for a system to be in a
deadlock state?
(A) (B)
Mutual exclusion, hold and wait, no Mutual exclusion, hold and release, no preemption, circular
wait
preemption, circular wait
(D)
( C ) Mutual inclusion, hold and wait, preemption, circular Mutual exclusion, hold and wait, preemption, no circular wait
wait
Correct Option: ( A, )
Solution:
(C) (D)
A situation where a process is running A condition where a process is
without any resource allocation. preemptively terminated by the operati
system.
Correct Option: ( A, )
Solution:
(A) (B)
Mutual exclusion Hold and wait
(C)
No preemption (D) Circular waits
Correct Option: ( D )
Solution:
Professor Academy No.42, Railway Border road, Kodambakkam, Chennai, State - Tamil Nadu, Pin Code - 600024 ,+91 9150567983
10 What is the primary challenge posed by deadlocks in operating systems?
(A) (B)
Reduced system throughput Increased system responsiveness
(C) (D)
Enhanced parallel processing Improved memory allocation
Correct Option: ( A, )
Solution:
(A) (B)
Deadlock avoidance Deadlock detection
(C)
Deadlock prevention (D) Deadlock recovery
Correct Option: ( C, )
Solution:
(A) (B)
Resource allocation graph Banker's algorithm
(C) (D)
Round-robin scheduling First-come, first-served (FCFS)
Correct Option: ( B, )
Solution:
Professor Academy No.42, Railway Border road, Kodambakkam, Chennai, State - Tamil Nadu, Pin Code - 600024 ,+91 9150567983
13 In a system with multiple resources and processes, what is a potential
consequence of deadlock?
(B)
(A) Starvation High system performance
(C) (D)
Reduced resource utilization Efficient process execution
Correct Option: ( A, )
Solution:
Correct Option: ( C, )
Solution:
Correct Option: ( A, )
Solution:
(C)
Achieving mutual exclusion (D) Memory management
Correct Option: ( C, )
Solution:
Professor Academy No.42, Railway Border road, Kodambakkam, Chennai, State - Tamil Nadu, Pin Code - 600024 ,+91 9150567983
17 In semaphore implementation, the operation that decrements the
semaphore value and blocks the process if the value becomes negative is
called:
Correct Option: ( B, )
Solution:
(C)
Interruptible and Non-interruptible
(D) Priority and Round-robin
Correct Option: ( A, )
Solution:
Correct Option: ( D )
Solution:
Correct Option: ( A, )
Solution:
Professor Academy No.42, Railway Border road, Kodambakkam, Chennai, State - Tamil Nadu, Pin Code - 600024 ,+91 9150567983
21 Which algorithm is used to detect a deadlock in a Resource Allocation
Graph?
(A)
Banker's Algorithm (B) Round Robin
(C)
First Come First Serve (D) Shortest Job Next
Correct Option: ( A, )
Solution:
(A) (B)
Terminate one or more processes Allocate additional resources
(C)
Suspend all processes (D) Restart the system
Correct Option: ( A, )
Solution:
(A) (B)
Memory Management Unit (MMU) CPU Scheduler
(C)
Disk Controller (D) Page Table
Correct Option: ( A, )
Solution:
Professor Academy No.42, Railway Border road, Kodambakkam, Chennai, State - Tamil Nadu, Pin Code - 600024 ,+91 9150567983
24 How does the size of the page affect the performance of a paging system?
(A) (B)
Larger page size leads to more internal Smaller page size reduces the number
fragmentation. page faults.
(C) (D)
Larger page size improves the overall Smaller page size increases the overhe
system throughput. of managing the page table.
Correct Option: ( D )
Solution:
(A) (B)
Process P is waiting for resource R Resource R is allocated to process P
(C) (D)
Resource R is released by process P Resource R is available for allocation
Correct Option: ( A, )
Solution:
Professor Academy No.42, Railway Border road, Kodambakkam, Chennai, State - Tamil Nadu, Pin Code - 600024 ,+91 9150567983