FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which register within the CPU contains the command currently being executed?
A
Instruction Register
B
Accumulator
C
Program Counter
D
ALU
Explanation: 

Detailed explanation-1: -In computing, the instruction register (IR) or current instruction register (CIR) is the part of a CPU’s control unit that holds the instruction currently being executed or decoded.

Detailed explanation-2: -current instruction register (CIR)-holds the instruction that is currently being decoded and executed.

Detailed explanation-3: -The register which stores the address of the next instruction is called the program counter.

Detailed explanation-4: -It is used to hold the memory addresses of data and instructions. It accesses data and instructions from memory during the execution phase of an instruction. For example, the CPU wants to store some data in the memory or to read the data from the memory. It places the address of the-required memory location in the MAR.

There is 1 question to complete.