Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

Bounded capacity and Unbounded capacity queues are referred to as __________(a) Programmed buffering(b) Automatic buffering(c) User defined buffering(d) No bufferingThis question was posed to me in a national level competition.This is a very interesting question from Inter Process Communication in section Processes of Operating System

Answer»

The correct CHOICE is (b) Automatic BUFFERING

The best explanation: Bounded CAPACITY and Unbounded capacity QUEUES are referred to as Automatic buffering. Buffer capacity of the Bounded capacity queue is finite length and buffer capacity of the Unbounded queue is infinite.

2.

The Zero Capacity queue __________(a) is referred to as a message system with buffering(b) is referred to as a message system with no buffering(c) is referred to as a link(d) none of the mentionedI got this question during an online interview.I'm obligated to ask this question of Inter Process Communication topic in portion Processes of Operating System

Answer»

Right OPTION is (b) is REFERRED to as a message system with no buffering

For EXPLANATION: The Zero capacity queue is referred to as a message system with no buffering. Zero capacity queue has maximum capacity of Zero; thus message queue does not have any WAITING message in it.

3.

In the Zero capacity queue __________(a) the queue can store at least one message(b) the sender blocks until the receiver receives the message(c) the sender keeps sending and the messages don’t wait in the queue(d) none of the mentionedI have been asked this question at a job interview.My question is based upon Inter Process Communication in division Processes of Operating System

Answer»

The correct answer is (B) the sender BLOCKS until the receiver receives the message

Best EXPLANATION: In the Zero capacity queue the sender blocks until the receiver receives the message. Zero capacity queue has maximum capacity of Zero; thus message queue does not have any WAITING message in it.

4.

In the non blocking send __________(a) the sending process keeps sending until the message is received(b) the sending process sends the message and resumes operation(c) the sending process keeps sending until it receives a message(d) none of the mentionedThe question was posed to me during an interview.Question is taken from Inter Process Communication in chapter Processes of Operating System

Answer»

Right option is (b) the sending PROCESS sends the message and resumes operation

The explanation: In the non blocking SEND, the sending process sends the message and resumes operation. Sending process doesn’t CARE about reception. It is also KNOWN as asynchronous send.

5.

In indirect communication between processes P and Q __________(a) there is another process R to handle and pass on the messages between P and Q(b) there is another machine between the two processes to help communication(c) there is a mailbox to help communication between P and Q(d) none of the mentionedThe question was posed to me in a national level competition.I would like to ask this question from Inter Process Communication topic in division Processes of Operating System

Answer»

Right option is (C) there is a mailbox to help communication between P and Q

Easiest EXPLANATION - In indirect communication between processes P and Q there is a mailbox to help communication between P and Q. A mailbox can be viewed abstractly as an OBJECT into which messages can be placed by processes and from which messages can be removed.

6.

Which of the following are TRUE for direct communication?(a) A communication link can be associated with N number of process(N = max. number of processes supported by system)(b) A communication link is associated with exactly two processes(c) Exactly N/2 links exist between each pair of processes(N = max. number of processes supported by system)(d) Exactly two link exists between each pair of processesThis question was posed to me in class test.This key question is from Inter Process Communication topic in chapter Processes of Operating System

Answer»

Correct OPTION is (b) A communication link is ASSOCIATED with exactly two processes

Easiest EXPLANATION - For direct communication, a communication link is associated with exactly two processes. ONE communication link must exist between a pair of processes.

7.

The link between two processes P and Q to send and receive messages is called __________(a) communication link(b) message-passing link(c) synchronization link(d) all of the mentionedI got this question in an interview for internship.This is a very interesting question from Inter Process Communication in chapter Processes of Operating System

Answer»

The correct answer is (a) COMMUNICATION link

The explanation: The link between two PROCESSES P and Q to send and receive messages is called communication link. Two processes P and Q WANT to communicate with each other; there should be a communication link that must exist between these two processes so that both processes can ABLE to send and receive messages using that link.

8.

Messages sent by a process __________(a) have to be of a fixed size(b) have to be a variable size(c) can be fixed or variable sized(d) none of the mentionedThe question was asked in an international level competition.I want to ask this question from Inter Process Communication in section Processes of Operating System

Answer»

The correct option is (c) can be FIXED or variable sized

Explanation: Messages sent by a process can be fixed or variable size. If the message size of the process is fixed then system LEVEL implementation is straightforward but it makes the TASK of PROGRAMMING more DIFFICULT. If the message size of the process is variable then system level implementation is more complex but it makes the task of programming simpler.

9.

Which of the following two operations are provided by the IPC facility?(a) write & delete message(b) delete & receive message(c) send & delete message(d) receive & send messageI have been asked this question in an online interview.The question is from Inter Process Communication in chapter Processes of Operating System

Answer»

Correct choice is (d) receive & SEND message

Explanation: TWO OPERATIONS provided by the IPC facility are receive and send messages. Exchange of data takes place in cooperating processes.

10.

Message passing system allows processes to __________(a) communicate with each other without sharing the same address space(b) communicate with one another by resorting to shared data(c) share data(d) name the recipient or sender of the messageThis question was addressed to me in a job interview.This question is from Inter Process Communication in section Processes of Operating System

Answer»

The correct choice is (a) communicate with each other without SHARING the same address space

The best EXPLANATION: MESSAGE Passing system ALLOWS processes to communicate with each other without sharing the same address space.

11.

What is Interprocess communication?(a) allows processes to communicate and synchronize their actions when using the same address space(b) allows processes to communicate and synchronize their actions(c) allows the processes to only synchronize their actions without communication(d) none of the mentionedI got this question in homework.My enquiry is from Inter Process Communication in chapter Processes of Operating System

Answer»

Right answer is (b) ALLOWS processes to communicate and synchronize their actions

Explanation: Interprocess Communication allows processes to communicate and synchronize their actions. Interprocess Communication (IPC) mechanism is used by COOPERATING processes to EXCHANGE data and information.

There are two models of IPC:

 → SHARED Memory

 → Message PASSING

12.

The child process completes execution, but the parent keeps executing, then the child process is known as __________(a) Orphan(b) Zombie(c) Body(d) DeadThis question was posed to me in final exam.The question is from Process Creation topic in section Processes of Operating System

Answer»

Correct choice is (b) Zombie

Explanation: The CHILD PROCESS completes execution, but the PARENT KEEPS executing, then the child process is known as Zombie. When a child process terminates, its resources get deallocated but its entry in the Process CONTROL Block (PCB) remains there until its parent calls wait system call.

13.

The child process can __________(a) be a duplicate of the parent process(b) never be a duplicate of the parent process(c) cannot have another program loaded into it(d) never have another program loaded into itI have been asked this question during an online interview.This interesting question is from Process Creation in section Processes of Operating System

Answer»

The correct ANSWER is (a) be a duplicate of the PARENT PROCESS

To explain I would say: The child process can be a duplicate of the parent process. The child process created by FORK consists of a copy of the address SPACE of the parent process.

14.

In UNIX, the return value for the fork system call is _____ for the child process and _____ for the parent process.(a) A Negative integer, Zero(b) Zero, A Negative integer(c) Zero, A nonzero integer(d) A nonzero integer, ZeroThis question was posed to me in a national level competition.This question is from Process Creation in chapter Processes of Operating System

Answer»

Right option is (c) Zero, A NONZERO integer

The explanation is: In Unix, the RETURN value of the fork SYSTEM CALL is Zero for the child PROCESS and Non-zero value for parent process. A fork system call returns the PID of a newly created (child) process to the parent and returns Zero to that newly created (child) process.

15.

In UNIX, each process is identified by its __________(a) Process Control Block(b) Device Queue(c) Process Identifier(d) None of the mentionedThis question was addressed to me by my college professor while I was bunking the class.This key question is from Process Creation topic in division Processes of Operating System

Answer»

The CORRECT option is (C) Process IDENTIFIER

The explanation: In UNIX, each process is identified by its Process Identifier or PID. The PID PROVIDES unique value to each process in the system so that each process can be identified uniquely.

16.

With _____________ only one process can execute at a time; meanwhile all other process are waiting for the processor. With ______________ more than one process can be running simultaneously each on a different processor.(a) Multiprocessing, Multiprogramming(b) Multiprogramming, Uniprocessing(c) Multiprogramming, Multiprocessing(d) Uniprogramming, MultiprocessingI got this question during an internship interview.Question is from Process Creation topic in portion Processes of Operating System

Answer» RIGHT choice is (d) Uniprogramming, Multiprocessing

Easiest explanation - With Uniprogramming only one process can EXECUTE at a time; meanwhile all other processes are waiting for the processor. With Multiprocessing more than one process can run simultaneously each on DIFFERENT PROCESSORS. The Uniprogramming system has only one program inside the core while the Multiprocessing system has MULTIPLE processes inside multiple cores. The core is one which executes instructions and stores data locally into registers.
17.

Cascading termination refers to termination of all child processes if the parent process terminates ______(a) Normally(b) Abnormally(c) Normally or abnormally(d) None of the mentionedThis question was addressed to me during an interview.The question is from Process Creation in division Processes of Operating System

Answer»

Right ANSWER is (C) Normally or abnormally

The explanation is: Cascading termination refers to termination of all CHILD processes if the PARENT process terminates Normally or Abnormally. Some systems don’t allow child processes to exist if the parent process has terminated. Cascading termination is normally initiated by the OPERATING system.

18.

A parent process calling _____ system call will be suspended until children processes terminate.(a) wait(b) fork(c) exit(d) execThe question was asked in a national level competition.I need to ask this question from Process Creation in section Processes of Operating System

Answer»

Right answer is (a) wait

To explain I would say: A parent process calling wait system CALL will be suspended until children PROCESSES terminate. A parameter is passed to wait system call which will obtain exit status of child as WELL as wait system call returns PID of terminated process.

19.

Restricting the child process to a subset of the parent’s resources prevents any process from __________(a) overloading the system by using a lot of secondary storage(b) under-loading the system by very less CPU utilization(c) overloading the system by creating a lot of sub-processes(d) crashing the system by utilizing multiple resourcesThe question was posed to me at a job interview.My enquiry is from Process Creation topic in portion Processes of Operating System

Answer»

Correct answer is (c) overloading the SYSTEM by creating a lot of sub-processes

To explain I would SAY: Restricting the child process to a subset of the parent’s resources prevents any process from overloading the system by creating a lot of sub-processes. A process creates a child process, child process requires CERTAIN resources to complete its task. A child process can DEMAND required resources directly from the system, but by doing this system will be overloaded. So to avoid overloading of the system, the parent process SHARES its resources among children.

20.

To enable a process to wait within the monitor __________(a) a condition variable must be declared as condition(b) condition variables must be used as boolean objects(c) semaphore must be used(d) all of the mentionedI got this question by my college professor while I was bunking the class.This interesting question is from Process Synchronization in section Processes of Operating System

Answer» CORRECT CHOICE is (a) a condition variable must be DECLARED as condition

To explain: To enable a process to wait within the MONITOR a condition variable must be declared as condition.
21.

A monitor is a module that encapsulates __________(a) shared data structures(b) procedures that operate on shared data structure(c) synchronization between concurrent procedure invocation(d) all of the mentionedI have been asked this question during an interview.I would like to ask this question from Process Synchronization topic in portion Processes of Operating System

Answer»

Correct ANSWER is (d) all of the mentioned

Easy explanation - A monitor is a module that ENCAPSULATES shared data structures, procedures that operate on shared data structure, SYNCHRONIZATION between concurrent PROCEDURE invocation.

22.

Process synchronization can be done on __________(a) hardware level(b) software level(c) both hardware and software level(d) none of the mentionedThis question was addressed to me during an internship interview.My doubt is from Process Synchronization in chapter Processes of Operating System

Answer» RIGHT OPTION is (c) both hardware and software level

For explanation: Process SYNCHRONIZATION can be done on both hardware and software level. Critical section PROBLEMS can be resolved USING hardware synchronisation. But this method is not simple for implementation so software synchronization is mostly used.
23.

When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called __________(a) priority inversion(b) priority removal(c) priority exchange(d) priority modificationThe question was posed to me in an online interview.Enquiry is from Process Synchronization topic in chapter Processes of Operating System

Answer»

Right CHOICE is (a) priority inversion

The best explanation: When a HIGH priority TASK is indirectly preempted by a MEDIUM priority task effectively inverting the relative priority of the two tasks, the scenario is CALLED priority inversion.

24.

Mutual exclusion can be provided by the __________(a) mutex locks(b) binary semaphores(c) both mutex locks and binary semaphores(d) none of the mentionedI got this question at a job interview.My enquiry is from Process Synchronization topic in division Processes of Operating System

Answer»

Correct choice is (c) both mutex LOCKS and binary semaphores

The best I can explain: Mutual EXCLUSION can be provided by both mutex locks and binary semaphore. Mutex is a short FORM of Mutual Exclusion. Binary semaphore also PROVIDES a mechanism for mutual exclusion. Binary semaphore BEHAVES similar to mutex locks.

25.

A semaphore is a shared integer variable __________(a) that can not drop below zero(b) that can not be more than zero(c) that can not drop below one(d) that can not be more than oneThe question was posed to me during a job interview.This question is from Process Synchronization in section Processes of Operating System

Answer»

Right CHOICE is (a) that can not drop below ZERO

Explanation: A semaphore is a shared integer variable that can not drop below zero. In binary semaphore, if the value of the semaphore variable is zero that means there is a process that uses a CRITICAL RESOURCE and no other process can access the same critical resource until it is released. In COUNTING semaphore, if the value of the semaphore variable is zero that means there is no resource available.

26.

Which one of the following is a synchronization tool?(a) thread(b) pipe(c) semaphore(d) socketI have been asked this question by my college professor while I was bunking the class.My question is taken from Process Synchronization topic in division Processes of Operating System

Answer»

The correct OPTION is (c) semaphore

Easy EXPLANATION - Semaphore is a synchronization TOOL. Semaphore is a mechanism which synchronizes or controls access of threads on CRITICAL resources. There are two types of semaphores i) Binary Semaphore ii) COUNTING Semaphore.

27.

If a process is executing in its critical section, then no other processes can be executing in their critical section. What is this condition called?(a) mutual exclusion(b) critical exclusion(c) synchronous exclusion(d) asynchronous exclusionThe question was posed to me during an online interview.The above asked question is from Process Synchronization in portion Processes of Operating System

Answer»

Correct answer is (a) mutual exclusion

The best I can explain: If a process is executing in its critical section, then no other processes can be executed in their critical section. This condition is called Mutual Exclusion. Critical section of the process is SHARED between MULTIPLE processes. If this section is executed by more than one or all of them concurrently then the OUTCOME of this is not as PER DESIRED outcome. For this reason the critical section of the process should not be executed concurrently.

28.

When several processes access the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place is called ________(a) dynamic condition(b) race condition(c) essential condition(d) critical conditionThe question was asked in final exam.The query is from Process Synchronization in section Processes of Operating System

Answer»

Right option is (b) race CONDITION

The explanation: When several processes access the same data concurrently and the OUTCOME of the EXECUTION depends on the PARTICULAR order in which access TAKES place is called race condition.

29.

Which process can be affected by other processes executing in the system?(a) cooperating process(b) child process(c) parent process(d) init processThe question was posed to me during an interview.This interesting question is from Process Synchronization in division Processes of Operating System

Answer» RIGHT option is (a) cooperating process

To explain I WOULD say: A cooperating process can be AFFECTED by other processes executing in the system. Also it can affect other processes executing in the system. A process SHARES data with other processes, such a process is KNOWN as a cooperating process.
30.

Which of the following does not interrupt a running process?(a) A device(b) Timer(c) Scheduler process(d) Power failureThe question was posed to me in an online quiz.The query is from Process Scheduling Queues topic in portion Processes of Operating System

Answer»

Right ANSWER is (c) SCHEDULER process

The BEST I can explain: 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.

31.

Which of the following need not necessarily be saved on a context switch between processes?(a) General purpose registers(b) Translation lookaside buffer(c) Program counter(d) All of the mentionedThis question was addressed to me in an international level competition.The doubt is from Process Scheduling Queues in portion Processes of Operating System

Answer» CORRECT option is (B) Translation lookaside buffer

Easiest explanation - 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.
32.

The context of a process in the PCB of a process does not contain __________(a) the value of the CPU registers(b) the process state(c) memory-management information(d) context switch timeThe question was asked in an interview for internship.My question is based upon Process Scheduling Queues topic in chapter Processes of Operating System

Answer»

Right CHOICE is (d) context switch time

To explain: The context of a PROCESS in the PCB of a process does not CONTAIN context switch time. When switching CPU from one process to another, the current context of the process NEEDS to be saved. It includes values of the CPU registers, process states, memory-management information.

33.

Suppose that a process is in “Blocked” state waiting for some I/O service. When the service is completed, it goes to the __________(a) Running state(b) Ready state(c) Suspended state(d) Terminated stateThis question was addressed to me during an internship interview.I would like to ask this question from Process Scheduling Queues topic in chapter Processes of Operating System

Answer»

The correct answer is (b) READY state

Easy explanation - 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.

34.

In a multiprogramming environment __________(a) the processor executes more than one process at a time(b) the programs are developed by more than one person(c) more than one process resides in the memory(d) a single user can execute many programs at the same timeThis question was addressed to me in unit test.This is a very interesting question from Process Scheduling Queues in section Processes of Operating System

Answer» RIGHT CHOICE is (c) more than ONE process resides in the memory

The best I can explain: 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.
35.

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 __________(a) Blocked state(b) Ready state(c) Suspended state(d) Terminated stateI have been asked this question by my college professor while I was bunking the class.This is a very interesting question from Process Scheduling Queues topic in division Processes of Operating System

Answer»

The CORRECT option is (b) Ready state

Easiest explanation - 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.

36.

The only state transition that is initiated by the user process itself is __________(a) block(b) wakeup(c) dispatch(d) none of the mentionedThis question was addressed to me during an online interview.Enquiry is from Process Scheduling Queues topic in section Processes of Operating System

Answer»

Correct choice is (a) block

The BEST EXPLANATION: 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.

37.

The primary distinction between the short term scheduler and the long term scheduler is __________(a) The length of their queues(b) The type of processes they schedule(c) The frequency of their execution(d) None of the mentionedThis question was posed to me in exam.The query is from Process Scheduling Queues in chapter Processes of Operating System

Answer»

Correct OPTION is (c) The FREQUENCY of their EXECUTION

To explain I would say: The primary DISTINCTION between the short-term scheduler and the long-term scheduler is the frequency of their execution. The short-term scheduler EXECUTES frequently while the long-term scheduler executes much less frequently.

38.

What is a short-term scheduler?(a) It selects which process has to be brought into the ready queue(b) It selects which process has to be executed next and allocates CPU(c) It selects which process to remove from memory by swapping(d) None of the mentionedThe question was posed to me at a job interview.Enquiry is from Process Scheduling Queues in chapter Processes of Operating System

Answer»

Correct answer is (b) It SELECTS which PROCESS has to be EXECUTED next and ALLOCATES CPU

To EXPLAIN: 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.

39.

What is a medium-term scheduler?(a) It selects which process has to be brought into the ready queue(b) It selects which process has to be executed next and allocates CPU(c) It selects which process to remove from memory by swapping(d) None of the mentionedThe question was posed to me during an interview.Asked question is from Process Scheduling Queues topic in section Processes of Operating System

Answer»

The correct option is (c) It selects which process to remove from memory by swapping

Easy explanation - 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.

40.

If all processes I/O bound, the ready queue will almost always be ______ and the Short term Scheduler will have a ______ to do.(a) full, little(b) full, lot(c) empty, little(d) empty, lotThis question was posed to me in an online interview.I'd like to ask this question from Process Scheduling Queues in division Processes of Operating System

Answer»

Correct option is (c) empty, LITTLE

For explanation: 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.

41.

What is a long-term scheduler?(a) It selects processes which have to be brought into the ready queue(b) It selects processes which have to be executed next and allocates CPU(c) It selects processes which heave to remove from memory by swapping(d) None of the mentionedI got this question in an online interview.This interesting question is from Process Scheduling Queues topic in portion Processes of Operating System

Answer»

Right OPTION is (a) It selects processes which have to be brought into the ready queue

For explanation: 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.

42.

What will happen when a process terminates?(a) It is removed from all queues(b) It is removed from all, but the job queue(c) Its process control block is de-allocated(d) Its process control block is never de-allocatedI got this question during a job interview.My question is from Process Scheduling Queues in section Processes of Operating System

Answer»

The CORRECT option is (a) It is removed from all queues

For EXPLANATION: 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.

43.

When the process issues an I/O request __________(a) It is placed in an I/O queue(b) It is placed in a waiting queue(c) It is placed in the ready queue(d) It is placed in the Job queueThe question was posed to me in unit test.My doubt stems from Process Scheduling Queues in chapter Processes of Operating System

Answer»

The correct choice is (a) It is placed in an I/O QUEUE

Explanation: 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.

44.

Which of the following do not belong to queues for processes?(a) Job Queue(b) PCB queue(c) Device Queue(d) Ready QueueI got this question in an internship interview.I would like to ask this question from Process Scheduling Queues in chapter Processes of Operating System

Answer»

Right answer is (b) PCB QUEUE

For explanation: 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.

45.

What is the objective of multiprogramming?(a) Have a process running at all time(b) Have multiple programs waiting in a queue ready to run(c) To increase CPU utilization(d) None of the mentionedThe question was posed to me at a job interview.The doubt is from Process Control Block topic in portion Processes of Operating System

Answer» CORRECT ANSWER is (c) To increase CPU utilization

The explanation is: 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.
46.

A single thread of control allows the process to perform __________(a) only one task at a time(b) multiple tasks at a time(c) only two tasks at a time(d) all of the mentionedThe question was asked at a job interview.I need to ask this question from Process Control Block in chapter Processes of Operating System

Answer»

Right answer is (a) only one task at a TIME

The explanation: 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.

47.

What is the degree of multiprogramming?(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 memoryI got this question at a job interview.This interesting question is from Process Control Block topic in division Processes of Operating System

Answer»

Correct ANSWER is (d) the number of processes in memory

Best explanation: Multiprogramming means the number of processes are in the ready states. To increase utilization of CPU, Multiprogramming is ONE of the most important abilities of OS. 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. By doing this CPU utilization is increased.

48.

The entry of all the PCBs of the current processes is in __________(a) Process Register(b) Program Counter(c) Process Table(d) Process UnitThe question was posed to me in an interview.I need to ask this question from Process Control Block topic in portion Processes of Operating System

Answer»

The CORRECT choice is (c) PROCESS Table

Easy EXPLANATION - 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.

49.

What is a Process Control Block?(a) Process type variable(b) Data Structure(c) A secondary storage section(d) A Block in memoryI have been asked this question in a job interview.I'm obligated to ask this question of Process Control Block in section Processes of Operating System

Answer»

The correct ANSWER is (b) DATA Structure

To explain I WOULD say: 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.

50.

Which of the following is not the state of a process?(a) New(b) Old(c) Waiting(d) RunningThis question was posed to me in an interview for internship.The query is from Process Control Block in portion Processes of Operating System

Answer»

The correct CHOICE is (B) OLD

The best I can explain: 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.