Flowcharts Amir Haider Lecturer NFC IEFR. Introduction The flowchart is a means of visually presenting the flow of data through an information processing.

Slides:



Advertisements
Similar presentations
ALGORITHMS AND FLOWCHARTS
Advertisements

CS 240 Computer Programming 1
PROBLEM SOLVING TECHNIQUES
How Are Algorithms Developed?
Prof. B. I. Khodanpur HOD – Dept. of CSE R. V. College of Engineering
Chapter 1 - An Introduction to Computers and Problem Solving
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Reference :Understanding Computers
Chapter 2 - Problem Solving
CS 240 Computer Programming 1
Flowchart TA. Maram Al-Khayyal.
Fundamentals of Algorithms MCS - 2 Lecture # 4
Flowcharts.
ITEC113 Algorithms and Programming Techniques
Chapter 2- Visual Basic Schneider
Developing logic (Examples on algorithm and flowchart)
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Chapter 3 Planning Your Solution
The Program Design Phases
Kalle Mikkolainen Presenting Flowchart POWERPOINT 2010.
PRE-PROGRAMMING PHASE
Programming Logic and System Analysis
Algorithm & Flowchart.
Fundamentals of C programming
Lecture # 8 ALGORITHMS AND FLOWCHARTS. Algorithms The central concept underlying all computation is that of the algorithm ◦ An algorithm is a step-by-step.
CSC141 Introduction to Computer Programming
PROGRAMMING LANGUAGES Prof. Lani Cantonjos. PROGRAM - set of step-by-step instructions that tells or directs the computer what to do. PROGRAMMING LANGUAGE.
Chapter 2 Problem Solving On A Computer 2.1 Problem Solving Steps Solving a problem on a computer requires steps similar to those followed when solving.
INTRODUCTION TO COMPUTING CHAPTER NO. 04. Programming Languages Program Algorithms and Pseudo Code Properties and Advantages of Algorithms Flowchart (Symbols.
1 Computer Programming (ECGD2102 ) Using MATLAB Instructor: Eng. Eman Al.Swaity Lecture (4): Control Flow (Chapter 2)
Visual Basic Programming
Chapter 2: General Problem Solving Concepts
Definition of Terms Software/Programs Programs that directs the operation of a computer system Set of instructions Codes Programming Process of planning,
Basic problem solving CSC 111.
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.
`. Lecture Overview Structure Programming Basic Control of Structure Programming Selection Logical Operations Iteration Flowchart.
Introduction to Flow Chart It is pictorial representation of process of a system or processes. Types of Flow charts –Program Flow Chart –System Flow chart.
Introduction to Computing Dr. Nadeem A Khan. Lecture 2.
Structured Programming (4 Credits)
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
FLOWCHARTING AND ALGORITHMS
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Program Design & Development EE 201 C7-1 Spring
 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.
Chapter One Problem Solving
GC101 Introduction to computers and programs
MANUPLATION OF FLOWCHARTS
Lesson 2 Flowcharting.
Unit 3: ALGORITHMS AND FLOWCHARTS
Chapter One Problem Solving
Flowcharting Guidelines
Chapter 2- Visual Basic Schneider
FLOWCHARTS.
CS111 Computer Programming
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
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
Computer Programming LAB 1 Tejalal Choudhary Asst. Prof, CSE Dept.
VISUAL BASIC – CHAPTER ONE NOTES An Introduction to Visual Basic
Chapter 2- Visual Basic Schneider
Manipulation of Charts with Visual Basic
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
Chapter 2- Visual Basic Schneider
Lecture 7 Algorithm Design & Implementation. All problems can be solved by employing any one of the following building blocks or their combinations 1.
Lecture 23 CS 507.
Presentation transcript:

Flowcharts Amir Haider Lecturer NFC IEFR

Introduction The flowchart is a means of visually presenting the flow of data through an information processing systems, the operations performed within the system and the sequence in which they are performed. The program flowchart can be likened to the blueprint of a building.

A designer draws a blueprint before starting construction on a building. Similarly, a programmer prefers to draw a flowchart prior to writing a computer program. As in the case of the drawing of a blueprint, the flowchart is drawn according to defined rules and using standard flowchart symbols prescribed by the American National Standard Institute, Inc.

Meaning of Flowchart A flowchart is a diagrammatic representation that illustrates the sequence of operations to be performed to get the solution of a problem. Flowcharts are generally drawn in the early stages of formulating computer solutions

Symbols

Guidelines

h.If the flowchart becomes complex, it is better to use connector symbols to reduce the number of flow lines. Avoid the intersection of flow lines if you want to make it more effective and better way of communication. i.Ensure that the flowchart has a logical start and finish. j.It is useful to test the validity of the flowchart by passing through it with a simple test data.

Advantages Communication: Flowcharts are better way of communicating the logic of a system to all concerned. Effective analysis: With the help of flowchart, problem can be analyzed in more effective way. Proper documentation: Program flowcharts serve as a good program documentation, which is needed for various purposes. Efficient Coding: The flowcharts act as a guide or blueprint during the systems analysis and program development phase. Proper Debugging: The flowchart helps in debugging process.

Basic Flowchart

Draw a flowchart to find the sum of first 50 natural numbers.

Draw a flowchart for computing factorial N (N!) Where N! = 1 ´ 2 ´ 3 ´ …… N.

Terminal Exercise Draw a flowchart to find the sum of given N numbers 75. Draw a flowchart to find the multiplication of given n number (15 and 25) Draw a flowchart to print all even numbers up to 100. Draw a flowchart to print all odd numbers up to 99.

THANKS