Presentation is loading. Please wait.

Presentation is loading. Please wait.

Variables Those quantities,whose values may change during execution of program are called “variables". There are 2 types of variables i)Numeric Variable.

Similar presentations


Presentation on theme: "Variables Those quantities,whose values may change during execution of program are called “variables". There are 2 types of variables i)Numeric Variable."— Presentation transcript:

1 Variables Those quantities,whose values may change during execution of program are called “variables". There are 2 types of variables i)Numeric Variable It contains only numeric type of data, we can stores only numeric values X, a1,sum,total,average ii)String Variable It contains string type of data, string values must be enclosed in double quote and variable with $ sign. Student_Name$, Nationality$,n$ etc.

2 OperationOperatorExample Equals to= a=5 Greater then> a>5 Less then< a<5 Greater then & Equals to >= a>=5 Less then & Equals to<= a<=5 Not Equals to<> a<>5 2)Relational Operator Use for Comparison or make condition such as

3 i) AUTO ( This command is use to generate line number in automatic.) ii) RENUM ( This command is use to Regenerate line number in order.) iii) LIST ( This command is use to Display program list on the screen. ) iv) EDIT ( This command is use to editing in specific line number of program.) v) SAVE ( This command is use to save file in disk.) vi) NEW ( This command is use to clear program from memory.) vii) LOAD (This command is use to load program from disk into memory) viii) Kill ( This command is use to remove file form disk.) ix) Delete (This command is use to delete program lines from memory.) x) Run ( This command is use to run or execute program.) Commands: This instruction or reserve word use in direct mode so that is called command.

4 Prepare Basic program to calculate area of rectangle, using INPUT, LET,REM, PRINT and END statements. Area = Length * Width Prepare Basic program to calculate Current,using INPUT, LET,REM, PRINT and END statements. I = V/R


Download ppt "Variables Those quantities,whose values may change during execution of program are called “variables". There are 2 types of variables i)Numeric Variable."

Similar presentations


Ads by Google