Access free live classes and tests on the app
Download
+
Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA
Login Join for Free
avtar
  • ProfileProfile
  • Settings Settings
  • Refer your friendsRefer your friends
  • Sign outSign out
  • Terms & conditions
  • •
  • Privacy policy
  • About
  • •
  • Careers
  • •
  • Blog

© 2023 Sorting Hat Technologies Pvt Ltd

NTA UGC NET 2023 » NTA Study Materials » Computer Science » Fetch Execute Cycle
doubtsolving_ntaugc

Fetch Execute Cycle

A computer program consists of a collection of instructions encoded in the binary numbering system. The stages of the fetch execution cycle are the sequence of steps followed by the Central Processing Unit (CPU) as it executes instructions and functions.

Table of Content
  •  

The fetch execute cycle is a computer’s basic operation or instruction cycle. The computer retrieves a programming instruction from memory during the stages of the fetch execute cycle. It then begins to perform and execute the necessary actions for that instruction. While the computer is powered on, the CPU repeats the cycle of fetching, decoding, and executing an instruction. The stages of the fetch execution cycle were first introduced by John von Neumann. He is well-known for developing the Von Neumann architecture, which is still used by most modern computers. Any fetch execute cycle example can give you a clear understanding of the topic. 

What is the Fetch Execute Cycle? 

The fetch execute cycle is a computer’s most basic operation. The instruction set is a specialised collection of instructions or tasks that the CPU is designed to perform. It retrieves and executes instructions from the main memory. This is repeated from the time the computer is turned on to the time it is turned off.

The CPU, often known as the processor, is the computer’s brain. It is in charge of carrying out a program, which is a set of instructions. A program accepts data, processes it, and returns results. By using the stages of the fetch execute cycle, the CPU’s principal responsibility is to execute programs. The instruction cycle is another name for this. The cycle begins when the computer is switched on and ends when it is turned off. 

Stages of the Fetch Execute Cycle

Let’s look at the fetch execute cycle, which shows how the CPU can conduct calculations. The stages of the fetch execute cycle are broken into three parts: 

• Fetch

• Decode

• Execute

Fetch

It is one of the main stages of the Fetch Execute Cycle. The CPU loads the instructions into the registers from the main memory one by one. The program counter is stored in one register (pc). The memory address of the next instruction to be fetched from the main memory is stored in the computer. The data acquired during the fetch step is copied into the instruction register because it is an instruction (IR). The system is at the end of the fetch stage of the cycle now that the first instruction has been fetched.

Decode

It is one of the important stages of the fetch execute cycle, which is necessary to deduce the instruction. It is sent to the control unit through the data bus, separated into two halves. The first part is the operation code or opcode. This is the command that will be executed by the computer. The operand is the second component. Depending on the operation, data will be read from or written to this address in RAM. 

Execute

Memory is required for data processing after the decoding has been completed. When the first instruction reaches the CPU, an order to print is sent.

Processor

A processor is a sort of integrated electrical circuit that performs the calculations necessary for a computer’s function. A processor executes arithmetic, logic, input/output (I/O), and other basic commands sent by an operating system (OS). In the fetch execute cycle, the majority of other processes rely on the actions of a processor.

Microprocessor, processor, and central processing unit (CPU) are all terms that are frequently used interchangeably. Most people currently use the terms “processor” and “CPU” indiscriminately. However, this is technically incorrect because the CPU is only one of the processors of a computer (PC). Another is the graphic unit processor or GPU. It is a single-chip processor used for carrying out 3-D functions. 

Memory

Memory is similar to the human brain. It’s where you keep your data and instructions. The storage space in a computer where data to be processed and instructions to be followed are stored is referred to as computer memory. It plays an essential role in the stages of the fetch execute cycle. 

Memory is primarily of three types −

•Cache Memory

•Primary Memory/Main Memory

•Secondary Memory

Cache Memory

Cache memory is a type of high-speed memory that facilitates the CPU to run faster. It lies between the CPU and the main memory and thus acts as a buffer. 

Primary Memory (Main Memory)

The data and instructions on which the computer is currently performing are stored in primary memory. It has a limited capacity; thus, the data is lost when the power is cut. The majority of it is made up of semiconductor devices.

Secondary Memory

Secondary memory is also known as non-volatile memory or external memory. It functions slower than the main memory and is used to store data and information for an indefinite period. 

Input and Output Elements

A computer has some fundamental components. Hardware, software, programs, data, and connectivity are all included. Without these components, no computer can function. Apart from them, components of a computer system are defined as the core pieces that allow electronic equipment to operate smoothly and quickly. The following are the three basic components that help in the proper functioning of the stages of the fetch execute cycle:

•Input Unit

•Output Unit

•CPU(Central processing unit)

Input Unit

This section of the computer houses the devices the user uses to feed data to the computer. It establishes a communication channel between the user and the computer.

Central Processing Unit (CPU)

The Central Processing Unit, or CPU, is also referred to as the computer’s brain. The CPU carries out all forms of data processing functions. It saves data/intermediate results/instructions (software) and manages the computer’s overall operation.

Output Unit

This section of the computer houses the gadgets that allow the user to receive information from the computer. The output devices convert the computer’s output into a format that consumers can understand. It helps the stages of the fetch execute cycle to function smoothly. As a result, output units generate data structured by the computer based on the consumers’ preferences.

Conclusion 

The fetch execute cycle is carried out sequentially in simple CPUs, with each instruction being handled before the next one is started. It is done in parallel by current CPUs via an instruction pipeline, which means that the next command is executed before the previous command is completed. Because the cycle has been divided into individual parts, this is achievable. 

After this step, the processor goes back to the program counter to look for the next command. This cycle continues till the program terminates. The Execute Cycle is the only phase relevant to the end-user; everything else is required to make the Execute Cycle work, as it is the command’s function. If the command requires arithmetic or logical operations, the ALU is used.

faq

Frequently asked questions

Get answers to the most common queries related to the NTA Examination Preparation.

How does CPU fetch execute cycle work?

Ans. When the CPU receives a command, it uses its fetch execute cycle function to scan all programs and decode the instruction received before proc...Read full

Name the steps involved in the fetch execute cycle.

Ans. The stages of the fetch execute cycle are: Decode: When a computer requests an instruction, the CPU gets it and decodes it so that it c...Read full

What is the Program Counter's function in the Fetch-Execute Cycle?

Ans. The program counter keeps track of each instruction’s address and tells the CPU how they should be execut...Read full

What is the significance of cache memory?

Ans. Cache memory is significant because it modifies data retrieval performance. It saves program instructions and d...Read full

Explain the IPO cycle.

Ans. The IPO is an abbreviation for the Input – Process – Output model.  ...Read full

Ans. When the CPU receives a command, it uses its fetch execute cycle function to scan all programs and decode the instruction received before processing it. The processor uses the address of the instructions received to decode the instructions from a program counter.

Ans. The stages of the fetch execute cycle are:

Decode: When a computer requests an instruction, the CPU gets it and decodes it so that it can be executed.

Execution: After the instruction has been decoded, the fetch execute cycle must search the memory for the function to be performed.

Store: After the execution function has been completed, the central processing unit writes the results to the primary memory.

Ans. The program counter keeps track of each instruction’s address and tells the CPU how they should be executed. The fetch-execute cycle goes in a loop until the stop command is given when a program is performed.

 

Ans. Cache memory is significant because it modifies data retrieval performance. It saves program instructions and data that are utilised repeatedly throughout program execution and information that the CPU is expected to want next.

Ans. The IPO is an abbreviation for the Input – Process – Output model. 

As the name implies, the IPO cycle is the input and output of information processing. People must first provide input to receive output, and then the input must be processed to obtain the intended result.

Crack NTA UGC with Unacademy

Get subscription and access unlimited live and recorded courses from India’s best educators


  • Structured syllabus
  • Daily live classes
  • Ask doubts
  • Tests & practice
Learn more

Notifications

Get all the important information related to the NTA UGC Examination including the process of application, important calendar dates, eligibility criteria, exam centers etc.

Application Process
NTA UGC Results
UGC NET Admit Card
UGC NET Eligibility Criteria 2023
UGC NET Exam Pattern 2023: Paper 1 & Paper 2 Marking Scheme
See all

Related articles

Learn more topics related to Computer Science
What is the Instruction Cycle in Computer Architecture

The instruction cycle helps the CPU perform its primary job of expecting tasks. This article will discuss the steps involved in the instruction cycle and an example of the instruction cycle in detail.

What is Data Structure?

Data structure is putting together data in an organised manner. Data is arranged as primitive data structure, non-primitive data structure, and linear data structure.

Types of Registers

Different types of registers are available nowadays. Read this article to learn about Accumulator, MAR, MDR, and more.

Types of Queues and their Applications

Queue is a linear structure in which actions are conducted in a certain order. This article contains the study material notes on the types of queues - linear queue, circular queue, priority queue, dequeue, and their applications.

See all
Access more than

7,940+ courses for NTA-UGC-NET and SET Exams

Get subscription
freeliveclasses_ntaugc
testseries_ntaugcnet
Subscribe Now
.
Company Logo

Unacademy is India’s largest online learning platform. Download our apps to start learning


Starting your preparation?

Call us and we will answer all your questions about learning on Unacademy

Call +91 8585858585

Company
About usShikshodayaCareers
we're hiring
BlogsPrivacy PolicyTerms and Conditions
Help & support
User GuidelinesSite MapRefund PolicyTakedown PolicyGrievance Redressal
Products
Learner appLearner appEducator appEducator appParent appParent app
Popular goals
IIT JEEUPSCSSCCSIR UGC NETNEET UG
Trending exams
GATECATCANTA UGC NETBank Exams
Study material
UPSC Study MaterialNEET UG Study MaterialCA Foundation Study MaterialJEE Study MaterialSSC Study Material

© 2025 Sorting Hat Technologies Pvt Ltd

Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA

Share via

COPY