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
Show/Hide Answers
OS Processes
What is the ready state of a process?
when process is scheduled to run after some execution
when process is unable to run until some task has been completed
when process is using the CPU
none of the mentioned
Ready state of the process means process has all necessary resources which are required for execution of that process when CPU is allocated. Process is ready for execution but waiting for the CPU to be allocated.
Author:
rikazzz
Comment
OS Processes
The state of a process is defined by __________
the final activity of the process
the activity just executed by the process
the activity to next be executed by the process
the current activity of the process
The state of a process is defined by the current activity of the process. A process state changes when the process executes. The process states are as New, Ready, Running, Wait, Terminated.
Author:
rikazzz
Comment
OS Processes
Which one of the following is not true?
kernel is the program that constitutes the central core of the operating system
kernel is the first part of operating system to load into memory during booting
kernel is made of various modules which can not be loaded in running operating system
kernel remains in the memory during the entire computer session
Kernel is the first program which is loaded in memory when OS is loading as well as it remains in memory till OS is running. Kernel is the core part of the OS which is responsible for managing resources, allowing multiple processes to use the resources and provide services to various processes. Kernel modules can be loaded and unloaded in run-time i.e. in running OS.
Author:
rikazzz
Comment
OS Processes
Which of the following does not interrupt a running process?
A device
Timer
Scheduler process
Power failure
Scheduler process does not interrupt a running process. Scheduler process selects an available process from a pool of available processes and allocates CPU to it.
Author:
rikazzz
Comment
OS Processes
What is a Process Control Block?
Process type variable
Data Structure
A secondary storage section
A Block in memory
A Process Control Block (PCB) is a data structure. It 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.
Author:
rikazzz
Comment
OS Processes
A single thread of control allows the process to perform __________
only one task at a time
multiple tasks at a time
only two tasks at a time
all of the mentioned
A single thread of control allows the process to perform only one task at a time. In the case of multi-core, multiple threads can be run simultaneously and can perform multiple tasks at a time.
Author:
rikazzz
Comment
OS Processes
What is an operating system?
collection of programs that manages hardware resources
system service provider to the application programs
interface between the hardware and application programs
all of the mentioned
An Operating System acts as an intermediary between user/user applications/application programs and hardware. It is a program that manages hardware resources. It provides services to application programs.
Author:
rikazzz
Comment
OS Processes
Which facility dynamically adds probes to a running system, both in user processes and in the kernel?
DTrace
DLocate
DMap
DAdd
A facility that dynamically adds probes to a running system, both in user process and in the kernel is called DTrace. This is very much useful in troubleshooting kernels in real-time.
Author:
rikazzz
Comment
OS Processes
Suppose that a process is in “Blocked” state waiting for some I/O service. When the service is completed, it goes to the __________
Running state
Ready state
Suspended state
Terminated state
Suppose that a process is in “Blocked” state waiting for some I/O service. When the service is completed, it goes to the ready state. Process never goes directly to the running state from the waiting state. Only processes which are in ready state go to the running state whenever CPU allocated by operating system.
Author:
rikazzz
Comment
OS Processes
Which one of the following error will be handle by the operating system?
power failure
lack of paper in printer
connection failure in the network
all of the mentioned
All the mentioned errors are handled by OS. The OS is continuously monitoring all of its resources. Also, the OS is constantly detecting and correcting errors.
Author:
rikazzz
Comment
Page navigation
1
2
3
…
5
Next Page
Next
Go to Page
Light
Dark
GK
Pakistan Studies
Current Affairs
Islamic Studies
English