NEW
Font size
WorksheetsMIDTERM QUIZ IN OS 101
Total questions: 25
Worksheet time: 4mins
In operating system, each process has its own __________
address space and global variables
open files
pending alarms, signals and signal handlers
all of the mentioned
Software program that carries out some action
process
command
software
direction
Which is not in the PCB
Process state
resources needed
program counter
processor size
Which is not a process state?
waiting
terminated
blocked
redirected
FCFS is operates similar to a
stack
sorting algorithm
circle
queue
SJF is short for
Shortest Job First
Software Job First
System Job First
Shortest Job Final
Round Robin
This symbols represents
Microsoft Windows
IOS
Android
Scheduling is done so as to ____________
increase the turnaround time
decrease the turnaround time
keep the turnaround time same
there is no relation between scheduling and turnaround time
Round robin scheduling falls under the category of ____________
Non-preemptive scheduling
Preemptive scheduling
All of the mentioned
None of the mentioned
What is FIFO algorithm?
first executes the job that came in last in the queue
first executes the job that came in first in the queue
first executes the job that needs minimal processor
first executes the job that has maximum processor needs
Which one of the following errors will be handle by the operating system?
power failure
lack of paper in printer
connection failure in the network
all of the mentioned
Process scheduling works by
Making sure that the standard operating procedures in an organization are followed
By aligning chips on a motherboard
By allocating CPU processing time
By making sure punch cards are filled out
In priority scheduling algorithm, when a process arrives at the ready queue, its priority is compared with the priority of ____________
all process
currently running process
parent process
init process
Process is _______________
program in High level language kept on disk
contents of main memory
a program in execution
a job in secondary memory
the strategy of allowing processes that are logically runnable to be temporarily suspended is called
preemptive scheduling
non preemptive scheduling
shortest job first
first come first served
In a operating system, the purpose of the stack is...
To store the return addresses of called functions
To keep the parameters of called functions
To store local variables
All of the above
In an OS, the scheduling of processes is done by...
the shell (.e.g. bash)
the graphical user interface (e.g., gnome)
the file system
none of the above
What is a Process Control Block?
Process type variable
Data Structure
A secondary storage sections
A Block in memory
The address of the next instruction to be executed by the current process is provided by the __________
CPU registers
Program counter
Process stack
Pipe
