50 likes | 256 Views
The steps or process of Program to define by two ways one is Flowchart and second Algorithms. Flow Chart. Algorithms.
E N D
The steps or process of Program to define by two ways one is Flowchart and second Algorithms. Flow Chart • Algorithms An Algorithms is a type of mathematical or human language that represents flow of program or process, This mathematical or human language representation can give a step-by-step solution to a given problem. A flowchart is a type of diagram that represents an algorithm or process, This diagrammatic representation can give a step-by-step solution to a given problem. Design By Sir Masood
Modes in Basic Language Direct Mode Indirect Mode 1. Direct Mode Direct mode execute command or statement immediately when we enter the command in basic language in other word instruction use without line No. 2. Indirect Mode Indirect mode execute command or statement indirectly when we enter command in Basic , the result is displayed after enter RUN command or press F2 key in other word instruction use with line No. Design By Sir Masood
Contants & Veriables Constants Those quantities whose value does not change during execution of program are called “Constants” . There are 2 types of constants i)Numeric Constant Numeric constant may be either positive or negative 32,-98,246,-78 ii) String Constant A string constant is a sequence of characters enclosed in quotation marks, Blank spaces may also be include in a string “I am Pakistani” , “06-DEC-2012” , “Worldcup2007” Design By Sir Masood
Operators & Types Operator Operator is an special symbol that makes relation between 2 or more operands. There are 3 types of operators in Gwbasic 1) Arithmetic Operators Use for mathematic calculations such as: Design By Sir Masood