Download presentation
Presentation is loading. Please wait.
Published byDavid Willis Harper Modified over 9 years ago
2
II N T R O D U C T I O N PP R E T E S T DD E S I G N I N G A L G O R I T H M DD E S I G N I N G F L O W C H A R T GG E N E R A L R U L E S F O R F L O W C H A R T I N G PP O S T T E S T CC R E D I T S / A C K N O W L E D G E M E N T
4
INTRODUCTION Designing the right algorithm for a given application is a difficult job. It requires a major creative act, taking a problem and pulling a solution out of the ether. The key to algorithm design is to proceed by asking yourself a sequence of questions to guide your thought process.
6
1.What is a diagram made up of boxes, diamonds and other shapes ? A. FFLOW CHART B. AALGORITHM C. FFLOW CHART SYMBOL D. FFLOWCHARTING
7
2.What is a representation of a solution to a problem ? A. FFLOW CHART B. AALGORITHM C. FFLOW CHART SYMBOL D. FFLOWCHARTING
8
3.What is a tool developed in computer industry, for showing the steps involved in process ? A. FFLOWCHART B. AALGORITHM C. FFLOWCHART SYMBOL D. FFLOWCHARTING
9
4.What is a finite sequence of well defined instruction ? A. FFLOWCHART B. AALGORITHM C. FFLOWCHART SYMBOL D. PPROCEDURE
11
ALGORITHM An algorithm is a representation of a solution to a problem. If a problem can be defined as a difference between a desired situation and the current situation in which one is, then a problem solution is a procedure, or method, for transforming the current situation to the desired one.
12
An algorithm is procedure consisting of a finite set of unambiguous rules (instructions)which specify a finite sequence of operations that provides the solution to a problem, or to a specific class of problems for any allowable set of input quantities,In other word, an algorithm is a step-by-step procedure to solve a given Problem.
14
PROCEDURE A procedure is a finite sequence of well- defined instructions, each of which can be mechanically carried out in a finite amount of time. The procedure must break up the problem solution into parts that the recipient party can understand and execute.
16
FLOWCHART A flowchart is a diagram made up of boxes, diamonds and other shapes, connected by arrows - each shape represents a step in the process, and the arrows show the order in which they occur. Flowcharting combines symbols and flow lines, to show figuratively the operation of an algorithm.
18
FLOWCHARTING Flowcharting is a tool developed in the computer industry, for showing the steps involved in a process. Process improvement starts with an understanding of the process, and flowcharting is the first step towards process understanding.
20
FLOWCHART SYMBOLS There are 6 basic symbols commonly used in flowcharting of assembly language programs: Terminal, Process, input/output, Decision, Connector and Predefined Process. This is not a complete list of all the possible flowcharting symbols, it is the ones used Most often in the structure of Assembly language programming.
23
1. All boxes of the flowchart are connected with Arrows. (Not lines) 2. Flowchart symbols have an entry point on the top of the symbol with no other entry points. The exit point for all flowchart symbols is on the bottom except for the Decision symbol. 3. The Decision symbol has two exit points; these can be on the sides or the bottom and one side.
24
5.What is the ones used in the structure of assembly language programing ? A. FFLOWCHART B. AALGORITHM C. FFLOWCHART SYMBOL D. PPROCEDURE
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.