Back to Course

JSS2: COMPUTER STUDIES - 1ST TERM

0% Complete
0/0 Steps
  1. Computer Software | Week 1
    4 Topics
    |
    1 Quiz
  2. Operating System | Week 2
    9 Topics
    |
    1 Quiz
  3. Computer Memory: Primary And Secondary Memory | Week 3
    5 Topics
    |
    1 Quiz
  4. Computer Memory II: Secondary Memory (Backing Storage) | Week 4
    2 Topics
    |
    1 Quiz
  5. Number System I | Week 5
    4 Topics
    |
    1 Quiz
  6. Number System II | Week 6
    3 Topics
    |
    1 Quiz
  7. Units of Storage In Computer | Week 7
    2 Topics
    |
    1 Quiz
  8. Problem Solving Skills With Computer | Week 8
    5 Topics
    |
    1 Quiz
  9. Computer Programming Languages | Week 9
    3 Topics
    |
    1 Quiz



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.

Responses

Your email address will not be published. Required fields are marked *

error: Alert: Content selection is disabled!!