Back to Course
JSS2: COMPUTER STUDIES - 1ST TERM
0% Complete
0/0 Steps
-
Computer Software | Week 14 Topics|1 Quiz
-
Operating System | Week 29 Topics|1 Quiz
-
Four Good Definitions of Computer Program
-
Operating System
-
Translators & Utility Programs
-
Advantages of Operating System
-
Functions of Operating System
-
Classification of Operating Systems
-
Examples and Uses of Operating Systems
-
Advantages of Windows Over Earlier Operating Systems
-
GUI And Command-Line (CLI) O/S
-
Four Good Definitions of Computer Program
-
Computer Memory: Primary And Secondary Memory | Week 35 Topics|1 Quiz
-
Computer Memory II: Secondary Memory (Backing Storage) | Week 42 Topics|1 Quiz
-
Number System I | Week 54 Topics|1 Quiz
-
Number System II | Week 63 Topics|1 Quiz
-
Units of Storage In Computer | Week 72 Topics|1 Quiz
-
Problem Solving Skills With Computer | Week 85 Topics|1 Quiz
-
Computer Programming Languages | Week 93 Topics|1 Quiz
Quizzes
Lesson 8,
Topic 2
In Progress
Algorithm
Lesson Progress
0% Complete
Topic Content:
- Meaning of Algorithm
- Example of an Algorithm
What is an Algorithm?
An algorithm is a set of instructions used in programming. Algorithms set out the series of steps necessary to find the solution to a problem. Therefore, Algorithms are sequences of steps involved in solving a particular problem.
Another name for a programming language is algorithmic language, and examples of algorithmic languages are COBOL, PASCAL, and C++.
Before using computers to solve a problem;
1. The detailed steps involved must be known.
2. The problem must first be solved manually without the use of a computer.
3. The order of carrying out the steps must be known.
4. Every algorithm must have a start and a stop (it must be finite)
5. It must produce desirable results.
A Simple Example of an Algorithm:
How to prepare White Rice/ Eba / Quaker Oat or Pap:
- Start.
- Light the stove or gas cooker.
- Place a clean pot on it.
- Put a desired quantity of water in it.
- Check if the water is boiling, if yes, go to step 6 Otherwise, repeat step 4 until the water is boiling.
- Pour washed rice into the pot.
- Boil it until you are satisfied.
- Stop/End.