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 3
Show/Hide Answers
OS Processes
In a time-sharing operating system, when the time slot given to a process is completed, the process goes from the running state to the __________
Blocked state
Ready state
Suspended state
Terminated state
In a time-sharing operating system, when the time slot given to a process is completed, the process goes from the running state to the Ready State. In a time-sharing operating system unit time is defined for sharing CPU, it is called a time quantum or time slice. If a process takes less than 1 time quantum, then the process itself releases the CPU.
Author:
rikazzz
Comment
OS Processes
In Operating Systems, which of the following is/are CPU scheduling algorithms?
Round Robin
Shortest Job First
Priority
All of the mentioned
In Operating Systems, CPU scheduling algorithms are:
i) First Come First Served scheduling ii) Shortest Job First scheduling iii) Priority scheduling iv) Round Robin scheduling v) Multilevel Queue scheduling vi) Multilevel Feedback Queue scheduling All of these scheduling algorithms have their own advantages and disadvantages.
Author:
rikazzz
Comment
OS Processes
A Process Control Block(PCB) does not contain which of the following?
Code
Stack
Bootstrap program
Data
Process Control Block (PCB) contains information related to a process such as Process State, Program Counter, CPU Register, etc. Process Control Block is also known as Task Control Block. Bootstrap program is a program which runs initially when the system or computer is booted or rebooted.
Author:
rikazzz
Comment
OS Processes
The only state transition that is initiated by the user process itself is __________
block
wakeup
dispatch
none of the mentioned
The only state transition that is initiated by the user process itself is block. Whenever a user process initiates an I/O request it goes into block state unless and until the I/O request is not completed.
Author:
rikazzz
Comment
OS Processes
The entry of all the PCBs of the current processes is in __________
Process Register
Program Counter
Process Table
Process Unit
The entry of all the PCBs of the current processes is in Process Table. The Process Table has the status of each and every process that is created in OS along with their PIDs.
Author:
rikazzz
Comment
OS Processes
Which system call can be used by a parent process to determine the termination of child process?
wait
exit
fork
get
wait() system call is used by the parent process to determine termination of child process. The parent process uses wait() system call and gets the exit status of the child process as well as the pid of the child process which is terminated.
Author:
rikazzz
Comment
OS Processes
In a multiprogramming environment __________
the processor executes more than one process at a time
the programs are developed by more than one person
more than one process resides in the memory
a single user can execute many programs at the same time
In a multiprogramming environment more than one process resides in the memory. Whenever a CPU is available, one process amongst all present in memory gets the CPU for execution. Multiprogramming increases CPU utilization.
Author:
rikazzz
Comment
OS Processes
If all processes I/O bound, the ready queue will almost always be ______ and the Short term Scheduler will have a ______ to do.
full, little
full, lot
empty, little
empty, lot
If all processes are I/O bound, the ready queue will almost empty and the short-term scheduler will have a little to do. I/O bound processes spend more time doing I/O than computation.
Author:
rikazzz
Comment
OS Processes
Which one of the following is not a real time operating system?
VxWorks
QNX
RTLinux
Palm OS
VxWorks, QNX & RTLinux are real-time operating systems. Palm OS is a mobile operating system. Palm OS is developed for Personal Digital Assistants (PDAs).
Author:
rikazzz
Comment
OS Processes
What will happen when a process terminates?
It is removed from all queues
It is removed from all, but the job queue
Its process control block is de-allocated
Its process control block is never de-allocated
When a process terminates, it removes from all queues. All allocated resources to that particular process are deallocated and all those resources are returned back to OS.
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