Chapter 4 Multiple Choice

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

A set of processes is deadlock if a) each process is blocked and will remain so forever b) each process is terminated c) all processes are trying to kill each other d) none of the mentioned

A

A single thread of control allows the process to perform : a) only one task at a time b) multiple tasks at a time c) All of these

A

In Unix, Which system call creates the new process? a) fork b) create c) new d) none of the mentioned

A

The systems which allows only one process execution at a time, are called a) uniprogramming systems b) uniprocessing systems c) unitasking systems d) none of the mentioned

A

Which system call returns the process identifier of a terminated child? a) wait b) exit c) fork d) get

A

What is the ready state of a process? a) when process is scheduled to run after some execution b) when process is unable to run until some task has been completed c) when process is using the CPU d) none of the mentioned

A Explanation: When process is unable to run until some task has been completed, the process is in blocked state and if process is using the CPU, it is in running state.

The objective of multi-programming is to : (choose two) a) Have some process running at all times b) Have multiple programs waiting in a queue ready to run c) To minimize CPU utilization d) To maximize CPU utilization

A & D

The Process Control Block is : a) Process type variable b) Data Structure c ) a secondary storage section d) a Block in memory

B

The address of the next instruction to be executed by the current process is provided by the a) CPU registers b) program counter c) process stack d) pipe

B

The number of processes completed per unit time is known as __________. a) Output b) Throughput c) Efficiency d) Capacity

B

What is interprocess communication? a) Communication within the process b) communication between two process c) communication between two threads of same process d) none of the mentioned

B

Which of the following is not the state of a process ? a) New b) Old c) Waiting d) Running e) Ready f) Terminated

B

The entry of all the PCBs of the current processes is in : a) Process Register b) Program Counter c) Process Table d) Process Unit

C

A process can be terminated due to a) normal exit b) fatal error c) killed by another process d) all of the mentioned

D

A process stack does not contain a) function parameters b) local variables c) return addresses d) PID of child process

D

In operating system, each process has its own a) address space and global variables b) open files c) pending alarms, signals and signal handlers d) all of the mentioned

D

The degree of multi-programming is : a) the number of processes executed per unit time b) the number of processes in the ready queue c) the number of processes in the I/O queue d) the number of processes in memory

D

The state of a process is defined by : a) the final activity of the process b) the activity just executed by the process c) the activity to next be executed by the process d) the current activity of the process

D

A Process Control Block(PCB) does not contain which of the following : a) Code b) Stack c) Heap d) Data e) Program Counter f) Process State g) I/O status information h) bootstrap program

H


संबंधित स्टडी सेट्स

Marketing Ch 10 Customer heterogeneity. Segmentation techniques in the reference market. Individualized demand analysis: Customer panels and Relationship Management

View Set

Ch 9 Cellular Respiration Activity: Glucose Metabolism

View Set

Pediatric Nursing CV/Some Heme/Some ID

View Set

Chapter 1, Introduction to Nursing

View Set

NClex / Basic Physical Care 2nd set

View Set

Operating Systems and Your. Week 3: Package and Software Management

View Set

TRAUMA- (Ch. 31 Bleeding & Blood Administration)

View Set