Flow Charts Basic Flow Chart Symbols Few sample flowcharts Rules

Slides:



Advertisements
Similar presentations
CS 240 Computer Programming 1
Advertisements

How Are Algorithms Developed?
PREPARED BY OMPRAKASH BEHERA (A) & Group CLASS VIII JNV, DEOGARH GUIDED BY MR. PRAHALLAD BADAPANDA FCSA.
Flow Control Analysis & Design Tool: Flowcharts
UNIT 2. Introduction to Computer Programming
Use Flowchart Symbols for Structured Programming
Documentation Letts Study Guide Information Systems - IT Chapter 19.
Reference :Understanding Computers
ME 142 Engineering Computation I Fundamentals of Procedural Computer Programming.
Fundamentals of Algorithms MCS - 2 Lecture # 4
INTRODUCTION TO PROGRAMMING
II N T R O D U C T I O N PP R E T E S T DD E S I G N I N G A L G O R I T H M DD E S I G N I N G F L O W C H A R T GG E N E R A L R U L E S F.
Flowcharts.
ITEC113 Algorithms and Programming Techniques
Programming Logic and Design, Introductory, Fourth Edition1 Understanding Computer Components and Operations (continued) A program must be free of syntax.
Chapter 3 Planning Your Solution
The Program Design Phases
PRE-PROGRAMMING PHASE
Fundamentals of C programming
 A data processing system is a combination of machines and people that for a set of inputs produces a defined set of outputs. The inputs and outputs.
CSC103: Introduction to Computer and Programming
Computer Programming 12 Lesson 2 - Organizing the Problem By Dan Lunney.
1 Computer and Programming Flow Chart Derived from
DCT 1123 Problem Solving & Algorithms
Introduction to Programming Lecture Number:. What is Programming Programming is to instruct the computer on what it has to do in a language that the computer.
Flow Charting. Goals Create Algorithms using Flow Charting procedures. Distinguish between Flow Charting and Pseudocode. Top-Down Design Bottom-up Design.
CPS120: Introduction to Computer Science Midterm Exam Review.
1 Introduction to Flowcharting. 2 Writing a program Defining the problem –Write down what the program will do Planning –Write down the steps, draw a flowchart.
1 Introduction to Flowcharting. 2 Writing a program Defining the problem –Write down what the program will do Planning –Write down the steps, draw a flowchart.
Flowcharts.
BACS 287 Programming Logic 1. BACS 287 Programming Basics There are 3 general approaches to writing programs – Unstructured – Structured – Object-oriented.
© 2006 Prentice Hall Business Publishing Accounting Information Systems, 10/e Romney/Steinbart1 of 138 FLOWCHARTS A flowchart is an analytical technique.
ALGORITHM List of instructions for carrying out some process step by step. A sequence of instructions which has a clear meaning and can performed with.
Chapter 2: General Problem Solving Concepts
Program Planning and Design. What is Program Planning and Design? Program planning and design is simply knowing what you want to do and how you want to.
PROGRAM DEVELOPMENT CYCLE. Problem Statement: Problem Statement help diagnose the situation so that your focus is on the problem, helpful tools at this.
1 Program Planning and Design Important stages before actual program is written.
Topic: Sir Naseem Ahmed Khan Dow Vocational & Technical Training Centre.
Fundamentals of Algorithms MCS - 2 Lecture # 5. Representation of Algorithms (continued) Flowcharts.
FLOWCHARTING AND ALGORITHMS
ICS124 Session 9 Flowcharting 1. By the end of this section the student will be able to:  Name the three structures of the Structure Theorem  Identify.
CPS120: Introduction to Computer Science Session 5.
Victoria Ibarra Mat:  Generally, Computer hardware is divided into four main functional areas. These are:  Input devices Input devices  Output.
 Problem Analysis  Coding  Debugging  Testing.
Pseudocode (pronounced SOO-doh-kohd)  is a detailed yet readable description of what a computer program or algorithm must do, expressed in a formally-styled.
ALGORITHMS AND FLOWCHARTS
Tools Of Structured Analysis
Introduction to Flowcharting
Flowcharting Guidelines
Algorithms An algorithm is a sequence of steps written in the form of English phrases that specific the tasks that are performed while solving the problem.It.
Lecture 2 Introduction to Programming
Introduction To Flowcharting
2.0 Problem Solving PROGRAM DESIGN
What is a Flow Chart ? An organized combination of shapes, lines, and text that graphically illustrates a process or structure A pictorial representation.
Algorithm Algorithm is a step-by-step procedure or formula or set of instruction for solving a problem Its written in English language or natural language.
Programming Logic n Techniques
Unit# 9: Computer Program Development
Flowcharts.
SME1013 PROGRAMMING FOR ENGINEERS
Chapter 2- Visual Basic Schneider
Introduction to Algorithms and Programming
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
CPS120: Introduction to Computer Science
Faculty of Computer Science & Information System
Chapter 2- Visual Basic Schneider
ME 142 Engineering Computation I
SME1013 PROGRAMMING FOR ENGINEERS
How Are Algorithms Developed?
Introduction to Programming
Presentation transcript:

Flow Charts Basic Flow Chart Symbols Few sample flowcharts Rules Description of each symbols Few sample flowcharts Rules An example www.AssignmentPoint.com

Basic Flow Chart Symbol Terminal Input/Output Processing Decision Flow lines Connectors www.AssignmentPoint.com

Terminal The terminal symbol is used to indicate the beginning (start ), end ( stop), and pauses ( Half) in the program logic flow . A pause is normally used in the program logic under some error conditions, or if forms had to be changed in the computer’s line printer during the processing of that program. www.AssignmentPoint.com

Input/Output The input / output symbol is used to denote any function of an input / output device in the program. If there is a program instruction to input data from a disk, tape ,terminal, or any other type of input device , that step will be indicated in the flowchart with an input / output symbol similarly, all output instruction whether it is output on a printer, magnetic tape, magnetic disk, terminal screen, or any output device, are indicated in the flowchart with an input / output symbol. www.AssignmentPoint.com

Processing A processing symbol is used in a flowchart to represent arithmetic and data movement instruction. Hence, all arithmetic processes of adding subtracting , multiplying and dividing are shown by a processing symbol. . The logical process of moving data from one location of the main memory to another is also denoted by this symbol . When more than one arithmetic and data movement instructions are to be executed consecutively, they are normally placed in the same processing box and they are assumed to be executed in the order of their appearance . www.AssignmentPoint.com

Decision The decision symbol is used in a flowchart to indicate a point at which a decision has to be made, and a branch to one of two or more alternative points is possible. Figure 11.2 (see book) shows three different ways in which a decision symbol can be used. It may be noted from these examples that the criterion for making the decision should be indicated clearly within the decision box. Moreover, the condition upon which each of the possible exit paths will be executed should be unidentified, and all the possible paths should be accounted for. During execution, the appropriate path is followed depending upon the result of the decision. www.AssignmentPoint.com

Flow Lines Flow lines with arrowheads are used to indicated the flow of operation, that is, the exact sequence in which the instructions are to be executed. The normal flow of flowchart is from top to bottom and left to right. Arrowheads are required only when the normal top to flow is not to be followed. However, as a good practice, and to avoid ambiguity, flow lines are usually drawn with an arrowhead at the point of entry to a symbol. Good practice also dictates that flow lines should not cross each other, and that such intersections should be avoided whenever possible. www.AssignmentPoint.com

Connectors Whenever a flowchart becomes complex enough that the number and direction of flow lines is confusing , or it spreads over more than one page, it is useful to utilize the connector symbol as a substitute for flow lines. This symbol represents an entry from, or an exit to another part of the flowchart. A connector symbol is represented by a circle, and a letter or digit is placed within the circle to indicate the link. www.AssignmentPoint.com

How to draw Flow Chart? www.AssignmentPoint.com

www.AssignmentPoint.com

www.AssignmentPoint.com

Flow Chart Rules Some of the rules and guide lines are as follows: First chart the main line of logic Then incorporate detail. Maintain a consistent level of detail for a given flowchart. Do not chart every details; otherwise, the flowchart will only be a graphic representation of the program. Details in the flowchart should be easy for anyone to understand. www.AssignmentPoint.com

An example Example: A student appears in an examination, which consists of total 10 subjects, each subjects having maximums marks of 100. The roll number of the student, his/her name, and the marks obtained by him/her in various subjects, are supplied as input data. Such a collection of related data items, which is treated as a unit, is known as a record. Draw a flowchart for the algorithm to calculate the percentage marks obtained by the student in this examination, and to print it along with his/her roll number and name. www.AssignmentPoint.com

Solution Start Read input data Add marks of all Subjects Giving total Write output Percentage = Total/10 Stop www.AssignmentPoint.com