Sonzaschool
Back

O-Level · Secondary 3

ICT

Algorithm Fundamentals

about 5 minutes to read

Discussions
Topics in this sectionAlgorithms2 topics

Algorithms: Step-by-Step Instructions for Computers

An algorithm is a clear, step-by-step set of instructions that solves a specific problem or completes a task. Think of it like a recipe in a cooking book — you follow each step in order, and at the end you get a finished dish. In the same way, a computer follows an algorithm to transform input data into useful output.

Every algorithm has three main parts:

  • Input — the data you give to the computer to work with
  • Processing — the calculations or decisions the computer performs
  • Output — the final result the computer shows you

For example, when you calculate the total cost of items at a boma market, the prices you enter are the input, the addition is the processing, and the total price is the output.

Question

What are the three main parts of every algorithm?

Sign in to submit your answer and have it count toward your mastery.

Sign in to practice

Tutor

Stuck? Ask me anything about this topic.

Sign in to ask the Sonza AI Tutor about this question.

Sign in to ask

Discussions

No questions yet

Sign in to ask
Loading discussions…