Well Come to Professional Programmers

Learning Goal

Learning is a process to acquire, enhance, or make changes in one's knowledge. Learning Module presents essential and masks non-essential pieces of knowledge. It is self paced and presents required links to important examples and related terminologies essentially required for examination centric study. The module is focused on examination system in vogue in Pakistan and helps student acquire maximum marks in limited time of study.

Commands and Statements

GW-BASIC Instructions

Instructions are used to make programs. There are three different instructions. (a) Command (b) Statement (c) Functions

Computer Program

A group of serially numbered statements are called a computer program.

COMMANDS

Commands are generally executable instructions in the Direct Mode or at command level and can work without line numbers.

COMMANDS:

LIST (F1) RUN (F2) LOAD (F3) SAVE (F4) CONT (F5) LPT1 (F6) TRON (F7) TROFF(F8) KEY (F9) SCREEN(F10) AUTO (Alt + A) CLEAR DELETE NEW FILES KILL RENUM EDIT BREAK(Ctrl + C) SYSTEM

STATEMENTS

(a) A Statements is a group of BASIC keywords(Reserved words). (b) Statement always preceded by line number. (c) When the program RUN, statements are executed. (d) Statements work in Indirect Mode or Programming Mode.

STATEMENTS:

CLS PRINT(?) END REM INPUT LET GOTO IF - THEN - ELSE LOCATE FOR - NEXT DIM READ....DATA ON GOTO ON ERROR GOTO