InterviewSolution
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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |
|