Presentation on theme: "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."— Presentation transcript:
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. The steps or process of Program to define by two ways one is Flowchart and second 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. Design By Sir Masood
1. Direct Mode 2. 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
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”, “Worldcup 2007 ” Design By Sir Masood
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: OperationOPERATORExample Addition+C=a + b Subtraction-C=a – b Multiplication*C=a * b Division/C=a / b Exponent^C=a ^ b Design By Sir Masood
Your consent to our cookies if you continue to use this website.