Example 1: A BASIC program has the following
Line number(s) (b) Remark (REM) (c) Assignment (LET, INPUT, DATA) (d) Output statement (PRINT, WRITE) (e) Terminators (END, STOP) (f) Conditional statement (IF, ELSE, AND, OR, etc)
REM Program to write (or print) numbers 1 to 20.
20 A = 0; B = 0
30 INPUT a
40 IF A<1 THEN GO TO 30
BASIC PROGRAMMING LANGUAGE
The original BASIC language was designed on May 1, 1964 by John Kemeny and Thomas Kurtz and implemented by a team of Dartmouth students under their direction.
The acronym BASIC comes from the name of an unpublished paper by Thomas Kurtz. BASIC was designed to allow students to write mainframe computer programs for the Dartmouth time sharing system.