BASIC PROGRAMMING I. : LSUS

Computer Science ICT SSS2 THIRD Term

WEEK 2

BASIC PROGRAMMING I

Content

KEYWORDS IN BASIC PROGRAMMING LANGUAGE

This is also referred to as a BASIC statement or a reserved word. It is an instruction in BASIC, which has a specific means to the compiler or interpreter.

  1. REM STATEMENT

The REM statement is a remark statement. It is used to insert remarks in the program. Such remarks are used to explain what the program is all about.

Example:

10 REM This program finds the average of 5 numbers

  1. LET STATEMENT

The LET statement is used to assign (or give) values to variables.

Examples:

10 LET A = B + C

    View More

Subscribe now to gain full access to this lesson note

Take Me There

Click here to gain access to the full notes.