Q61.Marks: +2.0UGC NET Paper 2: Computer Science 11 March 2023
The correct sequence in fetch-execute cycle is ______
A. Decode
B. Fetch
C. Execute
Chose the correct answer from the following
1.A - B - C
2.B - C - A
3.C - B - A
4.B - A - C✓ Correct
Solution
The correct answer isB - A - C
Key Points
The fetch-execute cycle, also known as the instruction cycle, is the basic operational process of a computer. It is the process by which a computer retrieves a program instruction from its memory, determines what actions the instruction requires, and carries out those actions. This cycle is repeated continuously by the central processing unit (CPU), from bootup to when the computer is shut down.
Here's a detailed explanation of each step:
Fetch: At this stage, the computer retrieves the instruction from its memory. The CPU uses the program counter to determine the location of the next instruction. The program counter holds the memory address of the "next" instruction that is going to be executed.
Decode: During this phase, the fetched instruction is broken up into parts that have different meanings. It interprets the instruction that was fetched, i.e., what operation needs to be performed, and on what data.
Read Address: Accessing or reading an address from memory is an important operation performed by a CPU during the fetch-execute cycle of a program
Execute: Finally, the CPU performs the instruction that was fetched and decoded. For example, if the instruction was to add two numbers, the CPU will perform the addition at this stage.