edited by
600 views
0 votes
0 votes

Program counter contains address of the   

  1. Next programs to be fetched  
  2. Previous programs to be fetched  
  3. Previous information to be fetched  
  4. Next information to be fetched
edited by

1 Answer

Best answer
2 votes
2 votes

Program Counter or Instruction Pointer is a register of computer processor that holds the memory address of the next instruction that is going to be executed. As each instruction is executed, program counter (PC) increases its store value by 1. As each instruction is being executed, program counter points to the next instruction is being executed or points to the next instruction in the sequence.

When the computer restarts or reset, then the program counter normally is 0.

Now, program is a set of instructions.

So, Option A),Option B), Option C) -they're not at all the right option .

But, option D) says Program counter contains address of the next information to be fetched.

Now, Instruction & Information both are different.

Information is "Things that are or can be known about a given topic".

whereas, Instruction is "a single operation of a processor defined by the processor instruction set". or "an order given to a computer processor by a computer program".

So, in my opinion, none of the options are correct.

edited by

Related questions

3 votes
3 votes
2 answers
1
0 votes
0 votes
0 answers
3
VIDYADHAR SHELKE 1 asked May 30, 2018
498 views
What is the output of this program? #include #include int main () { ofstreamoutfile ("test.txt"); for (int n = 0; n < 100; n++) { outfile<< n; outfile.flush(); } cout<< "...