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 9,
Topic 1
In Progress
Definition of Computer Program
Lesson Progress
0% Complete
Topic Content:
- Meaning of Computer Program
- Example of a Basic Computer Program
What is a Computer Program?
A computer program is a set of instructions, written in any of the computer languages, and which the computer follows, orderly, to perform any given task.
A computer program tells the computer what to do, how to do it, when to do it, etc.
For example, the program below tells the computer to add, three and four, and print out the answer.
10 A = 3.
15 B = 4.
20 C = A + B.
25 D = Print C.
30 End.
The numbers 10, 15, to 30, are called line numbers. The computer performs line 10 before line 15 and line 15 before line 20. On line 20, it will add three and four and on line 25, it will print the result.