1.

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) PipeThis question was posed to me at a job interview.My question is taken from Processes topic in division Processes of Operating System

Answer»

Right option is (B) Program COUNTER

To EXPLAIN: The address of the next instruction to be executed by the CURRENT process is PROVIDED by the Program Counter. After every instruction is executed, the Program Counter is incremented by 1 i.e. address of the next instruction to be executed. CPU fetches instruction from the address denoted by Program Counter and execute it.



Discussion

No Comment Found

Related InterviewSolutions