MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What happens in the ‘fetch’ part of the Fetch Decode Execute Cycle
A
The RAM delivers the instruction.
B
The processor fetches the instruction from primary memory.
C
The program counter goes down by one.
D
None of the above
Explanation: 

Detailed explanation-1: -The basic operation of a computer is called the ‘fetch-execute’ cycle. The CPU is designed to understand a set of instructions-the instruction set. It fetches the instructions from the main memory and executes them. This is done repeatedly from when the computer is booted up to when it is shut down.

Detailed explanation-2: -During the fetch stage, the address stored in the PC is copied into the memory address register (MAR) and then the PC is incremented in order to “point” to the memory address of the next instruction to be executed.

Detailed explanation-3: -Now, the command will be executed. The operand is copied to the MAR, as it provides the address of the data to be loaded (0100 in this case). The data at address 0100 is then fetched from RAM and passed up the data bus to the MDR.

Detailed explanation-4: -The fetch part of the fetch-execute cycle fetches the next instruction to be executed from memory. The CPU determines what additional data may be needed to execute an instruction. A volatile storage device loses its memory if its power supply is turned off. RAM is non-volatile and ROM is volatile.

There is 1 question to complete.