Algorithm & Flowchart & Pseudo code. Staff Incharge: S.Sasirekha

Similar documents
PROG0101 Fundamentals of Programming PROG0101 FUNDAMENTALS OF PROGRAMMING. Chapter 3 Algorithms

Chapter 13: Program Development and Programming Languages

Course MS10975A Introduction to Programming. Length: 5 Days

Chapter 2: Algorithm Discovery and Design. Invitation to Computer Science, C++ Version, Third Edition

Chapter 13: Program Development and Programming Languages

Chapter 12 Programming Concepts and Languages

Algorithms, Flowcharts & Program Design. ComPro

KS3 Computing Group 1 Programme of Study hours per week

Chapter 13 Computer Programs and Programming Languages. Discovering Computers Your Interactive Guide to the Digital World

Total Quality Management (TQM) Quality, Success and Failure. Total Quality Management (TQM) vs. Process Reengineering (BPR)

Chapter 14. Programming and Languages. McGraw-Hill/Irwin. Copyright 2008 by The McGraw-Hill Companies, Inc. All rights reserved.

Chapter 1 An Introduction to Computers and Problem Solving

Flowchart Techniques

Notes on Algorithms, Pseudocode, and Flowcharts

Instructor Özgür ZEYDAN (PhD) CIV 112 Computer Programming

Modeling, Computers, and Error Analysis Mathematical Modeling and Engineering Problem-Solving

2 SYSTEM DESCRIPTION TECHNIQUES

Java Programming (10155)

Computer Programming Lecturer: Dr. Laith Abdullah Mohammed

ALGORITHMS AND FLOWCHARTS. By Miss Reham Tufail

EKT150 Introduction to Computer Programming. Wk1-Introduction to Computer and Computer Program

Software Engineering. What is a system?

Programming Languages The McGraw-Hill Companies, Inc. All rights reserved.

Computer Programming

Programming Languages

NUMBER SYSTEMS. William Stallings

MICHIGAN TEST FOR TEACHER CERTIFICATION (MTTC) TEST OBJECTIVES FIELD 050: COMPUTER SCIENCE

EMC Publishing. Ontario Curriculum Computer and Information Science Grade 11

Sources: On the Web: Slides will be available on:

Describe the process of parallelization as it relates to problem solving.

Chapter One Introduction to Programming

COMPUTER SCIENCE (5651) Test at a Glance

How To Understand Programming Languages And Programming Languages

Name: Class: Date: 9. The compiler ignores all comments they are there strictly for the convenience of anyone reading the program.

TECHNOLOGY Computer Programming II Grade: 9-12 Standard 2: Technology and Society Interaction

Computer Technology Computer Programming II (Joint Course with Business Technology Approved 10/29/10 for that area)

NATIONAL CERTIFICATES (VOCATIONAL)

Programming and Software Development (PSD)

McGraw-Hill The McGraw-Hill Companies, Inc.,

Programming and Software Development CTAG Alignments

50 Computer Science MI-SG-FLD050-02

3 SOFTWARE AND PROGRAMMING LANGUAGES

OKLAHOMA SUBJECT AREA TESTS (OSAT )

Software Development Life Cycle

Stage 5 Information and Software Technology

Objectives. The software process. Basic software process Models. Waterfall model. Software Processes

Overview. Essential Questions. Precalculus, Quarter 4, Unit 4.5 Build Arithmetic and Geometric Sequences and Series

Instructor Özgür ZEYDAN BEU Dept. of Enve. Eng. CIV 112 Computer Programming Lecture Notes (1)

Curriculum Map. Discipline: Computer Science Course: C++

Application Architectures

Computer Programming

Fundamentals of Programming and Software Development Lesson Objectives

Software Development. Topic 1 The Software Development Process

ALGORITHMS AND FLOWCHARTS

Software Engineering. Software Development Process Models. Lecturer: Giuseppe Santucci

Software development and programming. Software

The Elective Part of the NSS ICT Curriculum D. Software Development

2667A - Introduction to Programming

Topics. Introduction. Java History CS 146. Introduction to Programming and Algorithms Module 1. Module Objectives

Problem Solving Basics and Computer Programming

Course Objectives Course Requirements Methods of Grading S/N Type of Grading Score (%) Course Delivery Strategies Practical Schedule LECTURE CONTENT

RARITAN VALLEY COMMUNITY COLLEGE COURSE OUTLINE. CISY 103 Computer Concepts and Programming

UML for the C programming language.

ADVANCED SCHOOL OF SYSTEMS AND DATA STUDIES (ASSDAS) PROGRAM: CTech in Computer Science

WESTMORELAND COUNTY PUBLIC SCHOOLS Integrated Instructional Pacing Guide and Checklist Computer Math

AQA GCSE in Computer Science Computer Science Microsoft IT Academy Mapping

COMPUTER PROGRAMMING DCSA 1303 SCHOOL OF SCIENCE AND TECHNOLOGY

To introduce software process models To describe three generic process models and when they may be used

1 Introduction. 2 Overview of the Tool. Program Visualization Tool for Educational Code Analysis

Instructional Design Framework CSE: Unit 1 Lesson 1

Numeracy and mathematics Experiences and outcomes

UNIT 1 INTRODUCTION TO NC MACHINE TOOLS

MATLAB Programming. Problem 1: Sequential

CGN Computer Methods

Datavetenskapligt Program (kandidat) Computer Science Programme (master)

Base Conversion written by Cathy Saxton

Linear Motion and Assembly Technologies Pneumatics Service. Understanding the IEC Programming Languages

Understanding Data Flow Diagrams Donald S. Le Vie, Jr.

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

Sequence Diagrams. Massimo Felici. Massimo Felici Sequence Diagrams c

Course Title: Software Development

ARIZONA CTE CAREER PREPARATION STANDARDS & MEASUREMENT CRITERIA SOFTWARE DEVELOPMENT,

Appendix M INFORMATION TECHNOLOGY (IT) YOUTH APPRENTICESHIP

Manage Software Development in LabVIEW with Professional Tools

Mathematics B (2008) Sample assessment instrument and student responses

6-1. Process Modeling

A flowchart is not a state machine

Fourth generation techniques (4GT)

COMPUTER SCIENCE TRIPOS

El Dorado Union High School District Educational Services

Announcements. SE 1: Software Requirements Specification and Analysis. Review: Use Case Descriptions

Instructional Systems Design

ARIZONA CTE CAREER PREPARATION STANDARDS & MEASUREMENT CRITERIA SOFTWARE DEVELOPMENT,

Scheduling. Getting Started. Scheduling 79

Digital Electronics Detailed Outline

Prentice Hall Mathematics: Course Correlated to: Arizona Academic Standards for Mathematics (Grades 6)

Transcription:

Algorithm & Flowchart & Pseudo code Staff Incharge: S.Sasirekha

Computer Programming and Languages Computers work on a set of instructions called computer program, which clearly specify the ways to carry out a specific task.

Program Development Cycle Development cycle of a program includes: Analyse/Define the Problem Task Analysis Developing Algorithm Testing the Algorithm for Accuracy Coding the Solution Test and Debug the Program Documentation Implementation Maintenance and Enhancement

Program Development Cycle

ALGORITHM An algorithm is defined as a finite sequence of explicit instructions, which when provided with a set of input values produces an output and then terminates. To be an algorithm, the steps must be unambiguous and after a finite number of steps, the solution of the problem is achieved.

FLOWCHART A flowchart is a pictorial representation of an algorithm in which the steps are drawn in the form of different shapes of boxes and the logical flow is indicated by interconnecting arrows. The boxes represent operations and the arrows represent the sequence in which the operations are implemented.

Benefits of Flowcharts Makes Logic Clear Communication Effective Analysis Useful in Coding Proper Testing and Debugging Appropriate Documentation

Limitations of Flowcharts Complex Costly Difficult to Modify No Update

Flowchart Symbols A flowchart uses special shapes to represent different types of actions or steps in a process. Some standard symbols, which are frequently required for flowcharts, are:

PSEUDOCODE Pseudo code is a generic way of describing an algorithm without using any specific programming language-related notations. It is an outline of a program, written in a form, which can easily be converted into real programming statements.

Benefits of Pseudocode Pseudocode provides a simple method of developing the program logic as it uses everyday language to prepare a brief set of instructions in the order in which they appear in the completed program. Language independent Easier to develop a program from pseudocode than a flowchart Easy to translate pseudocode into a programming language Pseudocode is compact and does not tend to run over many pages Pseudocode allow programmers who work in different computer languages

Limitations of Pseudo code The main disadvantage is that it does not provide visual representation of the program s logic. No accepted standards style of writing pseudo codes. Cannot be compiled or executed and there are no real formatting or syntax rules.

PROGRAM CONTROL STRUCTURES Program statements that affect the order in which statements are executed, or that affect whether statements are executed, are called control structures. There are three control structures. They are sequential, selection, and repetition. Sequence construct is a linear progression where one task is performed sequentially after another. Selection (Decision) structure allows the program to make a choice between two alternate paths, whether it is true or false. Repetition (Looping) causes an interruption in the normal sequence of processing and directs the system to loop back to a previous statement in the program, repeating the same sequence again.

PROGRAMMING PARADIGMS Programming paradigm refers to how a program is written in order to solve a problem. Programming can be classified into three categories: 1. Unstructured Programming 2. Structural Programming 3. Object-Oriented Programming

Unstructured Programming Unstructured style of programming refers to writing small and simple programs consisting of only one main program. All the actions such as inputs, outputs, and processing are done within one program only.

Structural Programming Using structural programming, a program is broken down into small independent tasks that are small enough to be understood easily, without having to understand the whole program at once. Each task has its own functionality and performs a specific part of the actual processing. These tasks are developed independently, and each task can carry out the specified task on its own, without the help of any other task. When these tasks are completed, they are combined together to solve the problem.

Object-Oriented Programming Object-oriented programming is a style of computer programming, which promotes building of independent pieces of code that interact with each other. It allows pieces of programming code to be reused and interchanged between programs.