MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The correct order is
A
Fetch, Decode, Execute
B
Decode, Execute, Fetch
C
Execute, Decode, Fetch
D
Decode, Fetch, Execute
Explanation: 

Detailed explanation-1: -The correct answer is Fetch instruction, Decode instruction, Read operands, Execute instruction and Store data.

Detailed explanation-2: -Ans : The instruction cycle consists of four phases: fetching an instruction from memory, decoding the fetched instruction, reading the address from memory, and finally, instruction execution. The computer processor carries it out.

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 CPU works by following a process known as ‘fetch, decode and execute’. The CPU fetches an instruction from memory, decodes this instruction and then executes it. The CPU carries out this cycle continuously, millions of times per second.

Detailed explanation-5: -Four steps of the machine cycle Fetch-Retrieve an instruction from memory. Decode-Translate the retrieved instruction into computer commands. Execute-Execute the computer commands. Store-Send and write the results back in memory.

There is 1 question to complete.