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.

Which operation is performed by an interrupt handler?(a) Saving the current state of the system(b) Loading the interrupt handling code and executing it(c) Once done handling, bringing back the system to the original state it was before the interrupt occurred(d) All of the mentionedI got this question in quiz.The origin of the question is Process Structures topic in division Distributed Communication of Operating System

Answer» CORRECT OPTION is (d) All of the mentioned

Best EXPLANATION: NONE.
2.

How does the Hardware trigger an interrupt?(a) Sending signals to CPU through a system bus(b) Executing a special program called interrupt program(c) Executing a special program called system program(d) Executing a special operation called system callI have been asked this question in quiz.The doubt is from Process Structures topic in section Distributed Communication of Operating System

Answer» CORRECT answer is (a) SENDING SIGNALS to CPU through a system bus

Explanation: NONE.
3.

In the layered approach of Operating Systems __________(a) Bottom Layer(0) is the User interface(b) Highest Layer(N) is the User interface(c) Bottom Layer(N) is the hardware(d) Highest Layer(N) is the hardwareThis question was addressed to me by my college director while I was bunking the class.I would like to ask this question from Process Structures topic in section Distributed Communication of Operating System

Answer»

Right ANSWER is (b) Highest LAYER(N) is the User interface

The best EXPLANATION: NONE.

4.

In an interrupt driven input/output __________(a) the CPU uses polling to watch the control bit constantly, looping to see if a device is ready(b) the CPU writes one data byte to the data register and sets a bit in control register to show that a byte is available(c) the CPU receives an interrupt when the device is ready for the next byte(d) the CPU runs a user written code and does accordinglyThe question was asked in an online interview.The doubt is from Process Structures topic in division Distributed Communication of Operating System

Answer»

The CORRECT choice is (c) the CPU receives an interrupt when the device is READY for the NEXT byte

Explanation: None.

5.

In a programmed input/output(PIO) __________(a) the CPU uses polling to watch the control bit constantly, looping to see if a device is ready(b) the CPU writes one data byte to the data register and sets a bit in control register to show that a byte is available(c) the CPU receives an interrupt when the device is ready for the next byte(d) the CPU runs a user written code and does accordinglyI got this question during an internship interview.My question is from Process Structures in chapter Distributed Communication of Operating System

Answer»

The correct choice is (a) the CPU uses polling to watch the control BIT constantly, looping to see if a device is ready

To EXPLAIN I would SAY: NONE.

6.

In a memory mapped input/output __________(a) the CPU uses polling to watch the control bit constantly, looping to see if a device is ready(b) the CPU writes one data byte to the data register and sets a bit in control register to show that a byte is available(c) the CPU receives an interrupt when the device is ready for the next byte(d) the CPU runs a user written code and does accordinglyI had been asked this question during an interview for a job.My doubt stems from Process Structures in section Distributed Communication of Operating System

Answer»

Correct answer is (b) the CPU writes one data byte to the data REGISTER and SETS a BIT in control register to show that a byte is available

The best explanation: None.

7.

DMA is used for __________(a) High speed devices(disks and communications network)(b) Low speed devices(c) Utilizing CPU cycles(d) All of the mentionedThe question was posed to me in a national level competition.Question is taken from Process Structures topic in section Distributed Communication of Operating System

Answer»

Right ANSWER is (a) HIGH speed devices(disks and communications network)

Easy EXPLANATION - NONE.

8.

What is an interrupt vector?(a) It is an address that is indexed to an interrupt handler(b) It is a unique device number that is indexed by an address(c) It is a unique identity given to an interrupt(d) None of the mentionedThis question was posed to me in an interview.The question is from Process Structures in division Distributed Communication of Operating System

Answer»

Right OPTION is (a) It is an address that is INDEXED to an INTERRUPT handler

The best explanation: None.

9.

What is an ISR?(a) Information Service Request(b) Interrupt Service Request(c) Interrupt Service Routine(d) Information Service RoutineThis question was addressed to me during an online exam.The question is from Process Structures topic in chapter Distributed Communication of Operating System

Answer»

The correct CHOICE is (C) INTERRUPT Service Routine

For explanation: None.

10.

What is a trap/exception?(a) hardware generated interrupt caused by an error(b) software generated interrupt caused by an error(c) user generated interrupt caused by an error(d) none of the mentionedI have been asked this question in class test.My doubt is from Process Structures in section Distributed Communication of Operating System

Answer»

Correct answer is (b) SOFTWARE GENERATED INTERRUPT caused by an error

The EXPLANATION: None.

11.

How does the software trigger an interrupt?(a) Sending signals to CPU through bus(b) Executing a special operation called system call(c) Executing a special program called system program(d) Executing a special program called interrupt trigger programThis question was addressed to me in an online quiz.Query is from Process Structures topic in chapter Distributed Communication of Operating System

Answer» CORRECT answer is (b) Executing a special operation CALLED system call

The BEST I can explain: NONE.
12.

The initial program that is run when the computer is powered up is called __________(a) boot program(b) bootloader(c) initializer(d) bootstrap programI have been asked this question during an interview for a job.Question is taken from Process Structures topic in division Distributed Communication of Operating System

Answer»

The CORRECT CHOICE is (d) BOOTSTRAP program

Best EXPLANATION: NONE.

13.

A process that is based on IPC mechanism which executes on different systems and can communicate with other processes using message based communication, is called ________(a) Local Procedure Call(b) Inter Process Communication(c) Remote Procedure Call(d) Remote Machine InvocationThe question was asked during an online interview.The above asked question is from Remote Procedure Calls in chapter Distributed Communication of Operating System

Answer» RIGHT ANSWER is (c) REMOTE Procedure Call

Easy EXPLANATION - None.
14.

The remote method invocation __________(a) allows a process to invoke memory on a remote object(b) allows a thread to invoke a method on a remote object(c) allows a thread to invoke memory on a remote object(d) allows a process to invoke a method on a remote objectThe question was posed to me during an online interview.I want to ask this question from Remote Procedure Calls topic in chapter Distributed Communication of Operating System

Answer»

The CORRECT option is (b) allows a THREAD to INVOKE a METHOD on a REMOTE object

The explanation is: None.

15.

What is the full form of RMI?(a) Remote Memory Installation(b) Remote Memory Invocation(c) Remote Method Installation(d) Remote Method InvocationI got this question by my college professor while I was bunking the class.Enquiry is from Remote Procedure Calls topic in portion Distributed Communication of Operating System

Answer»

The CORRECT ANSWER is (d) REMOTE Method Invocation

The EXPLANATION is: None.

16.

To resolve the problem of data representation on different systems RPCs define _____________(a) machine dependent representation of data(b) machine representation of data(c) machine-independent representation of data(d) none of the mentionedI had been asked this question by my school teacher while I was bunking the class.My question comes from Remote Procedure Calls in section Distributed Communication of Operating System

Answer»

The CORRECT OPTION is (C) machine-independent REPRESENTATION of data

Explanation: NONE.

17.

What is stub?(a) transmits the message to the server where the server side stub receives the message and invokes procedure on the server side(b) packs the parameters into a form transmittable over the network(c) locates the port on the server(d) all of the mentionedThis question was posed to me in final exam.My question is based upon Remote Procedure Calls topic in division Distributed Communication of Operating System

Answer» RIGHT ANSWER is (d) all of the mentioned

For EXPLANATION: NONE.
18.

RPC provides a(an) _____ on the client-side, a separate one for each remote procedure.(a) stub(b) identifier(c) name(d) process identifierThe question was posed to me in class test.The above asked question is from Remote Procedure Calls in division Distributed Communication of Operating System

Answer»

The CORRECT ANSWER is (a) stub

The EXPLANATION is: NONE.

19.

To differentiate the many network services a system supports ______ are used.(a) Variables(b) Sockets(c) Ports(d) Service namesThis question was addressed to me in an online interview.Origin of the question is Remote Procedure Calls topic in division Distributed Communication of Operating System

Answer» CORRECT OPTION is (C) Ports

Easy EXPLANATION - NONE.
20.

Remote Procedure Calls are used ____________(a) for communication between two processes remotely different from each other on the same system(b) for communication between two processes on the same system(c) for communication between two processes on separate systems(d) none of the mentionedThe question was asked during an interview for a job.This question is from Remote Procedure Calls in chapter Distributed Communication of Operating System

Answer» RIGHT option is (C) for COMMUNICATION between TWO PROCESSES on separate systems

The explanation is: None.