The basics of the programming process The development of programming languages to improve software development Programming languages that the average user.

Slides:



Advertisements
Similar presentations
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Advertisements

Starting Out with C++, 3 rd Edition 1 Chapter 1. Introduction to Computers and Programming.
© Janice Regan Problem-Solving Process 1. State the Problem (Problem Specification) 2. Analyze the problem: outline solution requirements and design.
Chapter 2- Visual Basic Schneider
Program Flow Charting How to tackle the beginning stage a program design.
Program Flow Charting How to tackle the beginning stage a program design.
Chapter 1 Principles of Programming and Software Engineering.
Chapter 2: Developing a Program Extended and Concise Prelude to Programming Concepts and Design Copyright © 2003 Scott/Jones, Inc.. All rights reserved.
Programming Logic and Design, Introductory, Fourth Edition1 Understanding Computer Components and Operations (continued) A program must be free of syntax.
© 2006 Pearson Addison-Wesley. All rights reserved2-1 Chapter 2 Principles of Programming & Software Engineering.
1414 CHAPTER PROGRAMMING AND LANGUAGES. © 2005 The McGraw-Hill Companies, Inc. All Rights Reserved Competencies Describe the six steps of programming.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
BPC.1 Basic Programming Concepts
PRE-PROGRAMMING PHASE
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and.
Tools make jobs easier to do -A computer is a tool used by many professions A computer can do many different jobs because they are programmable - Machine.
DCT 1123 PROBLEM SOLVING & ALGORITHMS INTRODUCTION TO PROGRAMMING.
6 Steps of the Programming Process
Chapter 2: Developing a Program Prelude to Programming Concepts and Design Copyright © 2001 Scott/Jones, Inc.. All rights reserved. 1 Chapter 2 Developing.
CS 0004 –Lecture 8 Jan 24, 2011 Roxana Gheorghiu.
Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and Elizabeth Drake Chapter 2: Developing a Program.
สาขาวิชาเทคโนโลยี สารสนเทศ คณะเทคโนโลยีสารสนเทศ และการสื่อสาร.
หลักการโปรแกรม เพื่อแก้ปัญหาโดยใช้คอมพิวเตอร์
The Program Development Cycle
Programming Lifecycle
Describe the Program Development Cycle. Program Development Cycle The program development cycle is a series of steps programmers use to build computer.
© 2011 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Stewart Venit ~ Elizabeth Drake Developing a Program.
1 Life Cycle of Software Specification Design –Risk Analysis –Verification Coding Testing –Refining –Production Maintenance.
C++ Programming Language Lecture 2 Problem Analysis and Solution Representation By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
Problem Solving using the Science of Computing MSE 2400 EaLiCaRA Spring 2015 Dr. Tom Way.
Top-Down Design and Modular Development. The process of developing methods for objects is mostly a process of developing algorithms; each method is an.
Program Development Cycle Modern software developers base many of their techniques on traditional approaches to mathematical problem solving. One such.
The Programming Process Define the problem* Make or buy software? Design the program * Code (write) the program Test (debug) the program Document the.
1 5.4 Modular Design Top-Down Design Structured Programming Advantages of Structured Programming.
© 2006 Pearson Addison-Wesley. All rights reserved2-1 Chapter 2 Principles of Programming & Software Engineering.
Program Development C# Programming January 30, 2007 Professor J. Sciame.
© 2006 Pearson Addison-Wesley. All rights reserved 2-1 Chapter 2 Principles of Programming & Software Engineering.
Program Development Cycle
The Art of Programming. The process of breaking problems down into smaller, manageable parts By breaking the problem down, each part becomes more specific.
How to Program? -- Part 1 Part 1: Problem Solving –Analyze a problem –Decide what steps need to be taken to solve it. –Take into consideration any special.
ICS124 Session 8 Structured Programming 1. By the end of this section the student will be able to:  List the steps of a model Systems Development Life.
Chapter 14 Programming and Languages McGraw-Hill/Irwin Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved.
CSI 1340 Introduction to Computer Science II Chapter 1 Software Engineering Principles.
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
The Hashemite University Computer Engineering Department
Problem-solving with Computers. 2Outline  Computer System  5 Steps for producing a computer program  Structured program and programming  3 types of.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
MIT App Inventor Lesson 3 Algorithms Variables Procedures.
CMSC 2021 Software Development. CMSC 2022 Software Development Life Cycle Five phases: –Analysis –Design –Implementation –Testing –Maintenance.
CSCI 161 Lecture 3 Martin van Bommel. Operating System Program that acts as interface to other software and the underlying hardware Operating System Utilities.
PROGRAMMING. Computer Programs  A series of instructions to the computer  pre-written/packaged/off-the-shelf, or  custom made  There are 6 steps to.
Evolution of C and C++ n C was developed by Dennis Ritchie at Bell Labs (early 1970s) as a systems programming language n C later evolved into a general-purpose.
PROGRAMMING FUNDAMENTALS INTRODUCTION TO PROGRAMMING. Computer Programming Concepts. Flowchart. Structured Programming Design. Implementation Documentation.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 1 An Introduction to Visual Basic.NET and Program Design.
CIS 365: Visual Application Development Introduction to Computers and Programming.
Principles of Programming & Software Engineering
ICS 3UI - Introduction to Computer Science
CSCI-235 Micro-Computer Applications
Chapter 2- Visual Basic Schneider
Understand the Programming Process
An Introduction to Visual Basic .NET and Program Design
Problem Solving Techniques
Chapter 2- Visual Basic Schneider
Chapter 1 Introduction(1.1)
Chapter 2- Visual Basic Schneider
The Programming Process
Understand the Programming Process
Chapter 2. Problem Solving and Software Engineering
Programming Logic and Design Eighth Edition
Presentation transcript:

The basics of the programming process The development of programming languages to improve software development Programming languages that the average user can employ to enhance working with a computer Putting Computers to Work: Software …

Analyzing and understanding the problem (steps 1-2) Devising a plan (algorithm) to solve the problem (steps 3-7) Creating an executable program that implements the plan (translate the algorithm to a program) (steps 8-9) Testing and debugging (correcting) the program (steps 10-11) The Software Development Cycle

Analyzing 1. Identify –Purpose – input, –Processing – output 2. Visualize – imagine what screen looks like if program is running

Design 3. Use tools – hierarchy charts, pseudocode, flowcharts 4. Check model for logic errors – trace or walkthrough

Algorithms Problem: Compute amount earned on an investment Algorithm: –Get data –Compute amount –Output amount -Get data Get principal Get APR Get number years -Compute amount Compute interest rate Compute days Compute amount -Output amount

Algorithms Algorithms may be expressed using a variety of methods and techniques A flowchart pseudocode

Implement 5. Write the code –Translate algorithm into programming language 6. Compile 7. Correct syntax errors (recompile)

A Sample Program

Link and Execute 8. Link 9. Run the program using test data for input 10. Correct any errors 11. Validate resutls

Modular Design Break huge project into small pieces (modules) Process is Modular Design 1 st way – top-down design (step-wise refinement) 2 nd way – object oriented design –Encapsulation –Properties –Behaviors

Quality Objectives Execution efficiency Programming efficiency –Use high level concepts Maintainability –Readable –Documented (internally and externally) Reusability –Modularize –generalize