
Operating systems (CSE) test-2
Authored by Bhargavi Cherlopalli
Engineering
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Software may trigger an interrupt by executing a special operation called___
System Call
Event Handling
Interrupt Servicing
Loader
Answer explanation
Software triggers an interrupt using a System Call, which is a special operation that requests services from the operating system. This is essential for managing hardware and software interactions.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which is not the state of a process ?
Running
Killed
Waiting
Ready
Answer explanation
The 'Killed' state is not a standard state of a process. The typical states include Running, Waiting, and Ready, which describe the process's current activity or status in the system.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
_____time is the interval from the time of transmission of a process to the time of completion
Turn Around
Running
Waiting
Execution
Answer explanation
Turn Around time refers to the total time taken from the initiation of a process until its completion, encompassing both execution and waiting periods. It is the correct choice as it captures the entire interval described.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
_______CPU scheduling algorithm suffers from starvation
FCFS
Priority
Time sharing
Round Robin
Answer explanation
The Priority CPU scheduling algorithm can lead to starvation, where lower-priority processes may never get executed if higher-priority processes keep arriving. In contrast, FCFS, Time sharing, and Round Robin do not suffer from this issue.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Operations of a semaphore are
Wait & Signal
Push & Pull
Add & Sub
Hold & wait
Answer explanation
The operations of a semaphore are 'Wait' and 'Signal'. 'Wait' decreases the semaphore value, blocking if it is zero, while 'Signal' increases it, potentially waking up waiting processes. This is essential for process synchronization.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The purpose of banker’s algorithm is_____
Deadlock Recovery
Deadlock Avoidance
Deadlock Prevention
No preemption
Answer explanation
The banker’s algorithm is designed to avoid deadlock by ensuring that resource allocation does not lead to a situation where processes are waiting indefinitely. Thus, the correct answer is Deadlock Avoidance.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the memory allocation scheme is faster ?
First Fit
Best Fit
Worst Fit
Paging
Answer explanation
First Fit is faster because it allocates the first available block of memory that is large enough, minimizing search time. In contrast, Best Fit and Worst Fit require more time to search for the optimal block, making them slower.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?