Programming Tools Flowcharts Pseudocode Algorithm Chapter 2.

Slides:



Advertisements
Similar presentations
Program Development Cycle Prof. Carlos Rodríguez Sánchez.
Advertisements

CE 311 K Introduction to Computer Methods VB Controls and Events Daene C. McKinney.
CS101: Introduction to Computer programming
PROBLEM SOLVING TECHNIQUES
CHAPTER 2 GC101 Program’s algorithm 1. COMMUNICATING WITH A COMPUTER  Programming languages bridge the gap between human thought processes and computer.
Introductory Computer Sciences
1.4 Programming Tools Flowcharts Pseudocode Hierarchy Chart
PSEUDOCODE & FLOW CHART
Chapter 1 - An Introduction to Computers and Problem Solving
Chapter 2 - Problem Solving
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Mathematics for Computing Lecture 4: Algorithms and flowcharts Dr Andrew Purkiss-Trew Cancer Research UK
Chapter 2 - Problem Solving
INTRODUCTION TO PROGRAMMING
PowerPoint ® Presentation Chapter 3 Calculating Measurements Section 3-1 Whole Number Measurements Section 3-1 Whole Number Measurements.
Chapter 1 - An Introduction to Computers and Problem Solving
Chapter 2- Visual Basic Schneider
Introduction to Computing Dr. Nadeem A Khan. Lecture 4.
The Program Development Cycle and Program Design Tools
Introduction to Computing Dr. Nadeem A Khan. Lecture 5.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Introduction to Computers and Programming
Computer Programming 12 Lesson 2 - Organizing the Problem By Dan Lunney.
1 Chapter 1 - An Introduction to Computers and Problem Solving 1.1 An Introduction to Computers 1.2 Windows, Folders, and Files 1.3 Program Development.
IE 212: Computational Methods for Industrial Engineering
CS 0004 –Lecture 8 Jan 24, 2011 Roxana Gheorghiu.
1 Grade Chapter  To know Parts of the computer, follow these steps as shown below:
Chapter 2: Beginning the Problem-Solving Process
Chapter 1 - VB 2008 by Schneider1 Chapter 1 - An Introduction to Computers and Problem Solving 1.1 An Introduction to Computers 1.2 Windows, Folders, and.
PROBLEM SOLVING The first step in writing instructions to carry out a task is to determine what the output should be (What should the task produce?)
Chapter 2 - VB.NET by Schneider1 Chapter 2 - Problem Solving Program Development Cycle Programming Tools.
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.
Flowcharts. Problem Solving Computer programs are written to solve problems or perform tasks Programmers translate the solutions or tasks into a language.
Programming at a high level. Developing a Computer Program Programmer  Writes program in source code (VB or other language) Compiler  Converts source.
Chapter 11 Chapter 1 - An Introduction to Computers and Problem Solving 1.1 An Introduction to Computers 1.2 Windows, Folders, and Files 1.3 Program Development.
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 1 - VB 2008 by Schneider1 Chapter 1 - An Introduction to Computers and Problem Solving 1.1 An Introduction to Computers 1.2 Windows, Folders, and.
Introduction to Computing Dr. Nadeem A Khan. Lecture 2.
COP1220/CGS2423 Introduction to C++/ C for Engineers Professor: Dr. Miguel Alonso Jr. Fall 2008.
Chapter 2 - VB 2005 by Schneider- modified by S. Jane '081 Chapter 2 - Problem Solving 2.1 Program Development Cycle 2.2 Programming Tools.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Expressing Algorithms as Flowcharts and Pseudocode
FLOWCHARTING AND ALGORITHMS
Flowcharts C++ Lab. Algorithm An informal definition of an algorithm is: a step-by-step method for solving a problem or doing a task. Input data A step-by-step.
MIT App Inventor Lesson 3 Algorithms Variables Procedures.
Problem Solving.  Similar to Solving Math Word Problem  Read the Problem  Decide how to go about Solving the Problem  Solve the Problem  Test the.
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.
An Introduction to Programming with C++1 Beginning the Problem- Solving Process Tutorial 2.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 1 An Introduction to Visual Basic.NET and Program Design.
 Problem Analysis  Coding  Debugging  Testing.
Algorithms and Flowcharts
Visual Basic Programming Introduction to Computers Programming.
Program Development Cycle
Chapter 2- Visual Basic Schneider
Introduction to Computing
CS111 Computer Programming
CS1001 Programming Fundamentals 3(3-0) Lecture 2
An Introduction to Visual Basic .NET and Program Design
VISUAL BASIC – CHAPTER ONE NOTES An Introduction to Visual Basic
Designing an Algorithm
Introduction to Algorithms
Chapter 2- Visual Basic Schneider
Introduction to Algorithms and Programming
Chapter 1 - An Introduction to Computers and Problem Solving
Flowcharts and Pseudocode
WRITING AN ALGORITHM, PSEUDOCODE, AND FLOWCHART LESSON 2.
Introduction to Programming
Presentation transcript:

Programming Tools Flowcharts Pseudocode Algorithm Chapter 2

Programming Tools Flowchart Pseudocode Two tools are used to convert algorithms into computer programs: Flowchart Pseudocode Chapter 2

Algorithm A step by step series of instructions for solving a problem (a recipe is an example) Chapter 2

Problem Solving Example How many stamps do you use when mailing a letter? Use one stamp for every five sheets of paper or fraction thereof. Chapter 2

Algorithm 1. Request the number of sheets of paper; call it Sheets. (input) 2. Divide Sheets by 5. (processing) 3. Round the quotient up to the next highest whole number; call it Stamps. (processing) 4. Reply with the number Stamps. (output) Chapter 2

Flowcharts Graphically depict the logical steps to carry out a task and show how the steps relate to each other. Chapter 2

Flowchart symbols Chapter 2

Flowchart symbols continued Chapter 2

Flowchart example Chapter 2

Pseudocode Uses English-like phrases with some Visual Basic terms to outline the task. Chapter 2

Pseudocode example Determine the proper number of stamps for a letter Read Sheets (input) Set the number of stamps to Sheets / 5 (processing) Round the number of stamps up to the next whole number (processing) Display the number of stamps (output) Chapter 2