Skip to content
MCQtimes.com
GK
Pakistan Studies
Current Affairs
Islamic Studies
English
MCQtimes.com
Toggle Menu
OS Processes
Home
/
Computer Science
/
Operating System
/
OS Processes
- Page 4
Show/Hide Answers
OS Processes
The systems which allow only one process execution at a time, are called __________
uniprogramming systems
uniprocessing systems
unitasking systems
none of the mentioned
Those systems which allows more than one process execution at a time, are called multiprogramming systems. Uniprocessing means only one processor.
Author:
rikazzz
Comment
OS Processes
Which of the following is not the state of a process?
New
Old
Waiting
Running
There is no process state such as old. When a process is created then the process is in New state. When the process gets the CPU for its execution then the process is in Running state. When the process is waiting for an external event then the process is in a Waiting state.
Author:
rikazzz
Comment
OS Processes
What is a medium-term scheduler?
It selects which process has to be brought into the ready queue
It selects which process has to be executed next and allocates CPU
It selects which process to remove from memory by swapping
None of the mentioned
A medium-term scheduler selects which process to remove from memory by swapping. The medium-term scheduler swapped out the process and later swapped in. Swapping helps to free up memory.
Author:
rikazzz
Comment
OS Processes
Which of the following need not necessarily be saved on a context switch between processes?
General purpose registers
Translation lookaside buffer
Program counter
All of the mentioned
Translation Look-aside Buffer (TLB) need not necessarily be saved on a context switch between processes. A special, small, fast-lookup hardware cache is called Translation Look-aside Buffer. TLB used to reduce memory access time.
Author:
rikazzz
Comment
OS Processes
Which of the following do not belong to queues for processes?
Job Queue
PCB queue
Device Queue
Ready Queue
PCB queue does not belong to queues for processes. PCB is a process control block which contains information related to process. Each process is represented by PCB.
Author:
rikazzz
Comment
OS Processes
When the process issues an I/O request __________
It is placed in an I/O queue
It is placed in a waiting queue
It is placed in the ready queue
It is placed in the Job queue
When the process issues an I/O request it is placed in an I/O queue. I/O is a resource and it should be used effectively and every process should get access to it. There might be multiple processes which requested for I/O. Depending on scheduling algorithm I/O is allocated to any particular process and after completing I/O operation, I/O access is returned to the OS.
Author:
rikazzz
Comment
OS Processes
What is a short-term scheduler?
It selects which process has to be brought into the ready queue
It selects which process has to be executed next and allocates CPU
It selects which process to remove from memory by swapping
None of the mentioned
A short-term scheduler selects a process which has to be executed next and allocates CPU. Short-term scheduler selects a process from the ready queue. It selects processes frequently.
Author:
rikazzz
Comment
OS Processes
What is a long-term scheduler?
It selects processes which have to be brought into the ready queue
It selects processes which have to be executed next and allocates CPU
It selects processes which heave to remove from memory by swapping
None of the mentioned
A long-term scheduler selects processes which have to be brought into the ready queue. When processes enter the system, they are put in the job queue. Long-term scheduler selects processes from the job queue and puts them in the ready queue. It is also known as Job Scheduler.
Author:
rikazzz
Comment
OS Processes
What is the objective of multiprogramming?
Have a process running at all time
Have multiple programs waiting in a queue ready to run
To increase CPU utilization
None of the mentioned
The objective of multiprogramming is to increase CPU utilization. Generally, a single process cannot use CPU or I/O at all time, whenever CPU or I/O is available another process can use it. Multiprogramming offers this ability to OS by keeping multiple programs in a ready queue.
Author:
rikazzz
Comment
OS Processes
The primary distinction between the short term scheduler and the long term scheduler is __________
The length of their queues
The type of processes they schedule
The frequency of their execution
None of the mentioned
The primary distinction between the short-term scheduler and long-term scheduler is the frequency of their execution. Short-term scheduler executes frequently while long-term scheduler executes much less frequently.
Author:
rikazzz
Comment
Page navigation
Previous Page
Previous
1
2
3
4
5
Next Page
Next
Go to Page
Light
Dark
GK
Pakistan Studies
Current Affairs
Islamic Studies
English