WRITING AN ALGORITHM, PSEUDOCODE, AND FLOWCHART LESSON 2.

Slides:



Advertisements
Similar presentations
Ch13QQ T F 1. The first step in the program development life cycle (PDLC) is problem analysis. T F 2. The use of structured programming typically.
Advertisements

PSEUDOCODE & FLOW CHART
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
INTRODUCTION TO PROGRAMMING
Al-Karma Language School Computer Department Prep. 3.
Chapter 2- Visual Basic Schneider
Programming Tools Flowcharts Pseudocode Algorithm Chapter 2.
Program Flow Charting How to tackle the beginning stage a program design.
Program Flow Charting How to tackle the beginning stage a program design.
Algorithm Design CS105. Problem Solving Algorithm: set of unambiguous instructions to solve a problem – Breaking down a problem into a set of sub- problems.
Flowcharts and programming Techniques
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Chapter 3 Planning Your Solution
The Program Design Phases
Computer Programming 12 Lesson 2 - Organizing the Problem By Dan Lunney.
Flow Charting. Goals Create Algorithms using Flow Charting procedures. Distinguish between Flow Charting and Pseudocode. Top-Down Design Bottom-up Design.
Design the program Create a detailed description of program –Use charts or ordinary language (pseudocode) Identify algorithms needed –Algorithm: a step-by-step.
Chapter 3 Developing an algorithm. Objectives To introduce methods of analysing a problem and developing a solution To develop simple algorithms using.
Describe the Program Development Cycle. Program Development Cycle The program development cycle is a series of steps programmers use to build computer.
Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and Elizabeth Drake Chapter 2: Flowcharts.
© 2011 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Stewart Venit ~ Elizabeth Drake Developing a Program.
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.
IXA 1234 : C++ PROGRAMMING CHAPTER 1. PROGRAMMING LANGUAGE Programming language is a computer program that can solve certain problem / task Keyword: Computer.
Chapter 1 Introduction Chapter 1 Introduction 1 st Semester 2015 CSC 1101 Computer Programming-1.
Flowcharts. Problem Solving Computer programs are written to solve problems or perform tasks Programmers translate the solutions or tasks into a language.
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.
Programming at a high level. Developing a Computer Program Programmer  Writes program in source code (VB or other language) Compiler  Converts source.
Definition of Terms Software/Programs Programs that directs the operation of a computer system Set of instructions Codes Programming Process of planning,
Cs413_design04.ppt Design and Software Development Design : to create a functional interface that has high usability Development : an organized approach.
Programming at a high level. Developing a Computer Program Programmer  Writes program in source code (VB or other language) Compiler  Converts source.
1 Programming Tools Flowcharts Pseudocode Hierarchy Chart Direction of Numbered NYC Streets Algorithm Class Average Algorithm.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Introduction to Computers Lesson 13A. home Computer Program A set of instructions or statements, also called code, to be carried out by the computer’s.
Problem Solving.  Similar to Solving Math Word Problem  Read the Problem  Decide how to go about Solving the Problem  Solve the Problem  Test the.
PROGRAMMING FUNDAMENTALS INTRODUCTION TO PROGRAMMING. Computer Programming Concepts. Flowchart. Structured Programming Design. Implementation Documentation.
INTRODUCTION TO COMPUTER PROGRAMMING(IT-303) Basics.
Progression in KS3/4 Algorithms MONDAY 30 TH NOVEMBER SUE SENTANCE.
How Computers Solve Problems Computers also use Algorithms to solve problems, and change data into information Computers can only perform one simple step.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Chapter 2- Visual Basic Schneider1 Programming Languages: Machine Language Assembly Language High level Language.
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.
Algorithms and Flowcharts
Chapter One Problem Solving
ICS 3UI - Introduction to Computer Science
Programming Languages
CSCI-235 Micro-Computer Applications
Chapter 2- Visual Basic Schneider
FLOWCHARTS.
System Design.
Introduction to Computing
Unit 2 Smarter 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.
Introduction to Computer Programming
Unit# 9: Computer Program Development
Problem Solving Techniques
Introduction to Algorithms
1) C program development 2) Selection structure
Chapter 2- Visual Basic Schneider
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
Chapter 2- Visual Basic Schneider
The Programming Process
Flowcharts and Pseudocode
Flowcharting & Algorithms
A programming language
Click to add Text Computers & Instructions. Computers are given instructions in the form of computer programs that are created through the development.
Introduction to programming
Lecture 7 Algorithm Design & Implementation. All problems can be solved by employing any one of the following building blocks or their combinations 1.
ICT Gaming Lesson 2.
Introduction to Programming
Presentation transcript:

WRITING AN ALGORITHM, PSEUDOCODE, AND FLOWCHART LESSON 2

OBJECTIVES SHOULD BE ABLE TO explain what an algorithm, pseudocode and flowchart are; Recognize the important of an algorithm, pseudocode, and flowchart; Create an algorithm, pseudocode, and flowchart.

THINK ABOUT IT! Following instructions in a cookbook is same as following instructions using an algorithm, pseudocode, or flowchart. These are programming tools that show the step-by-step procedure in solving computer programs.

PROCESS I SOLVING PROGRAMMING PROBLEMS problem analysis algorithm coding complier linker execution output library

WHAT IS ALGORITHM?

ALGORITHM An algorithm is a step-by-step procedure to solve the problems. It makes the whole procedure more efficient and consistent. It also helps in identifying decision points, processes, and essential variables to solve the problem. A programmer can also see and determine easily the errors in a particular process using algorithm.

WHAT IS PSEUDOCODE?

PSEUDOCODE A pseudocode is a description of an algorithm using natural language, which makes reading of the program easier. It uses short English-like statements to write codes for programs before you actually create it in a specific language.

WHAT IS A FLOWCHART?

FLOWCHART A flowchart is a diagram presenting the logical sequence in which a combination of steps or operations is to be performed.

BASIC SYMBOLS USED IN FLOWCHARTING