The website has the complete lesson note for all the subjects in secondary school but this piece showcases the JSS2 Computer Studies Lesson Note on Basic Programming Language. You can use the website search button to filter out the subject of interest to you.
CLICK HERE to download the complete Document: DOWNLOAD HERE
TOPIC: BASIC PROGRAMMING LANGUAGE
CONTENT:
Meaning of BASIC
BASIC stands for Beginner All-purpose Symbolic Instruction Code. It is not only simple but also a very powerful high level programming language. The original BASIC was designed by John Kemeny and Thomas Kurtz in the mid 1960’s at Dartmouth College in New Hampshire, USA. It consists of statements written in English words and mathematical notation. It is written in English-like and mathematical notations.
Rules for BASIC programming
BASIC Character Set
Constant data Variables data
10 A = 1 10 INPUT A
20 B = 2 20 INPUT B
30 Sum = A + B 30 Sum = A + B
40 PRINT SUM 40 PRINT SUM
50 END 50 END
This is also referred to as a BASIC statement. It is an instruction which has special meaning to the computer or BASIC interpreter. Examples: REM, LET, INPUT, READ, PRINT, GOTO, FOR…., NEXT etc. these must not be used as a variable name during the course of writing any BASIC program.
What is a Variable? A variable is a symbol that can represent any value. Variables are used to represent values needed for processing during program executions. A Variable can be any alphabet or combination of alphabets.
Rules guiding Variable names:
Types of Variables:
Click on the Downloadable Button to get the FULL NOTE
Veterinary medicine is the branch of medicine that deals with the prevention, diagnosis, and treatment…
Anthropology is the scientific study of human beings and their cultures. It encompasses a wide…
Sociology is the scientific study of human society, culture, and behavior. It examines the social…
Social Work is a profession dedicated to helping individuals, families, and communities to cope with…
Religious studies is an academic discipline that explores the beliefs, practices, and history of various…
Public administration is the field of study and practice that focuses on the organization and…