Skip to content

BASIC PROGRAMMING LANGUAGE

BASIC PROGRAMMING LANGUAGE

ORIGIN

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.

Programming Language

 

TYPICAL BASIC KEYWORDS

(1) DATA MANIPULATION

(a) LET: Assign a value (which maybe the result of an expression) to a variable.

(b) DATA: Holds a list of values which are assigned sequentially using READ command.

 

  1. PROGRAM FLOW CONTROL

(a) If …. Then… Else: used to perform comparison or make decisions.

(b) Do… Loop {WHILE} or {UNTIL}: repeat a section of code forever or while/until the specified condition is true.

(c) FOR… To… {STEP}… NEXT: repeat on section of code a given number of times.

(d) WHILE … WEND AND REPEAT… UNTIL: repeat a section of code while the specified condition is true.

See also  LOADING MICROSOFT OFFICE EXCEL

(e) Do… Loop {WHILE} or {UNTIL}: repeat a section of code forever or while/until the specific condition is time.

(f) Go To: jump to a numbered or labeled line in the program.

(e) Go SUB: jump to a numbered or labeled line, executes the code it funds there until. It reaches a RETURN command, on which it jumps back to the operator following the Go SUB

conversion

  1. INPUT AND OUTPUT

(a) PRINT: displays a message on the screen or other output device.

(b) INPUT: asks the user to enter the value of a variable. The statement may include a prompt message.

(c) TAB or AT: sets the position where the next character will be shown on the screen or printed on paper.

Application software

 

OTHERS

  • REM: holds a programmer’s comment or remark; often used to give a little to the program and to help identify the purpose of a given section of code.
  • USR: transfer program control to a machine language. Subroutine, usually entered as an alphanumeric string or in a list of data statements.
  • TRON: turns on a Visual, screen representation of the flow of BASIC commands by displaying the number of each command line as command lines run after the command TRON has been used.
See also  KEYS ON KEYBOARD

 

EVALUATION

  1. What is the full meaning of BASIC
  2. List five BASIC keywords

 

See also

BASIC COMPUTER CONCEPT

APPLICATION SOFTWARE

ART OF INFORMATION PROCESSING

COMPUTER HARDWARE

DATA AND INFORMATION

SUBSCRIBE BELOW FOR A GIVEAWAY

Building & maintaining an elearning portal is very expensive, that is why you see other elearning websites charge fees. Help to keep this learning portal free by telling mum or dad to donate or support us. We accept grants, sponsorships & support to help take this to the next big level and reach out to more people. Thank you so much. Click here to donate

Leave a Reply

Your email address will not be published.

School Portal NG
error: Content is protected !!