Algorithm - Coding Handout
Algorithm - Coding Handout
FAISALABAD
COMPUTER
Algorithm
An algorithm is a detailed step-by-step instruction set or formula for solving a problem or
completing a task. In computing, programmers write algorithms that instruct the computer how
to perform a task. Writing out step-by-step instructions in plain English is what we call ‘pseudo
code’.
Examples:
Coding / Programming
⦿ Coding is when a computer is given
commands to which it responds.
Computer programmers use many
different languages to write computer
programs.
Bug
In computer technology, a bug is a coding error in a computer program.
Debugging
Debugging is the process of detecting and removing errors (also called ‘bugs’) in a software
code that can cause it to behave unexpectedly or crash.