SlideShare a Scribd company logo
Chapter 1
Program Development Cycle
Designing a Program
 Design requires planning…that follows the above steps
 Called Program Development Cycle
 Cycle is repeated until NO errors appear in the program.
Design the program Write the methods Test the methods Debug the methods
Designing the Program
 Determine what the app is supposed to do.
 Read a problem statement that describes the which objects will
appear in the app, and the actions that are to take place.
 What is the “Story”?
Design the program Write the methods Test the methods Debug the methods
Designing the Program
 Break the problem
statement down
into series of steps
 Pseudocode
 Algorithm
or
 Flowchart
Design the program Write the methods Test the methods Debug the methods
Writing the methods
 Design steps (pseudocode or flowchart) provides model for writing
the methods
 Drag tiles into Editor to assemble instructions
 Instructions should follow the order of the Design steps
 Pseudocode and flowchart may NOT be at the detail of the final
instructions
 This step becomes more involved when you begin to write your own
methods.
Design the program Write the methods Test the methods Debug the methods
Testing
 Test to make sure it meets the following criteria:
 Does it do what it was intended to do?
 Does it have any errors? Any undesired results?
 Is it efficient? Are there unnecessary steps?
 If the criteria are NOT met, then debugging occurs
 Always create the program in small parts to make testing easier
Design the program Write the methods Test the methods Debug the methods
TEST! TEST! TEST!
Designing a Program
 Debugging means to determine what must be corrected or modified to
get the program to work correctly
 Logical errors (bug) is a mistake
that produces an incorrect result,
but the program still runs.
 Instructions in an incorrect order
may produce incorrect results
 Passing incorrect values as arguments
can cause logical errors
 What is the logical error?
 Syntax errors are instructions written
incorrectly in a language
Alice has no syntax
Design the program Write the methods Test the methods Debug the methods
Checkpoint
 1. What are the steps in the program
development cycle?
 2. What are two tools that you can use to
break down a problem into a series of steps?
 3. What is a logical error?
 4. When testing a method, what are three
criteria that you should make sure the method
meets?
2-8
2.3

More Related Content

PPT
Project
PPTX
The four generations of test automation
PDF
Engl 317 Project 1 Schedule Steps Summer 2021
PDF
Project3 Schedule Steps Engl317 Summer2021
PDF
Project4 Schedule Steps Engl317 Summer2021
PPT
Presentation_TDD
PPTX
Testing challenges in a continuous delivery world
Project
The four generations of test automation
Engl 317 Project 1 Schedule Steps Summer 2021
Project3 Schedule Steps Engl317 Summer2021
Project4 Schedule Steps Engl317 Summer2021
Presentation_TDD
Testing challenges in a continuous delivery world

What's hot (18)

PDF
The 5 Stages of Software Development
PDF
Eng 317 Project1 Schedule Steps Engl317 Summer2021
PDF
Eng 317 Syllabus Summer 2021
PPTX
How to develop a project or application
PPTX
5 top pain points of test automation
PPT
Aditdem
PPTX
Phases of software development
PDF
Project5 Schedule Steps Engl317 Summer2021
PDF
Project2 Schedule Steps Engl317 Summer 2021
PPT
Lessons learned on software testing automation
PPTX
Continuous delivery test strategies
PPTX
The thought process of non technical person while approaching
PDF
The art of being an agile programmer
PPT
Lesson 4 variables in Python
PPT
Five essential elements for successful software development
PPTX
Project Onion unit test environment
PDF
Software Defect Prevention
PDF
Software testing enhance quality and performance of software
The 5 Stages of Software Development
Eng 317 Project1 Schedule Steps Engl317 Summer2021
Eng 317 Syllabus Summer 2021
How to develop a project or application
5 top pain points of test automation
Aditdem
Phases of software development
Project5 Schedule Steps Engl317 Summer2021
Project2 Schedule Steps Engl317 Summer 2021
Lessons learned on software testing automation
Continuous delivery test strategies
The thought process of non technical person while approaching
The art of being an agile programmer
Lesson 4 variables in Python
Five essential elements for successful software development
Project Onion unit test environment
Software Defect Prevention
Software testing enhance quality and performance of software
Ad

Similar to Software Development Life Cycle (20)

PPTX
PPT
Grade 10 program development cycle
PPT
Testing concepts ppt
PPT
Testing concepts ppt
PPSX
Developers Border Line: Unit Testing
PPT
La5 Program Phases
PPT
SE chapter 5
PPT
Slides chapter 5
PPTX
Presentation on debugging
PPTX
Mobile app project
PPTX
Software Testing overview jay prakash maurya.pptx
PPTX
Development of computer program
PPT
software-testing-strategies888888888.ppt
DOC
Notacd08
PDF
Programming part2
PDF
Notacd081
PPT
Unit 1, PART 1 Software testing methodologies
DOCX
Mi0033 software engineering
PDF
Easy & Step-By-Step Ways of Finding Bugs in Software.pdf
PPTX
10 lesson8
Grade 10 program development cycle
Testing concepts ppt
Testing concepts ppt
Developers Border Line: Unit Testing
La5 Program Phases
SE chapter 5
Slides chapter 5
Presentation on debugging
Mobile app project
Software Testing overview jay prakash maurya.pptx
Development of computer program
software-testing-strategies888888888.ppt
Notacd08
Programming part2
Notacd081
Unit 1, PART 1 Software testing methodologies
Mi0033 software engineering
Easy & Step-By-Step Ways of Finding Bugs in Software.pdf
10 lesson8
Ad

More from primeteacher32 (20)

PPTX
Variable Scope
PPTX
Returning Data
PPTX
Intro to Functions
PPTX
Introduction to GUIs with guizero
PPTX
Function Parameters
PPTX
Nested Loops
PPT
Conditional Loops
PPTX
Introduction to Repetition Structures
PPTX
Input Validation
PPTX
Windows File Systems
PPTX
Nesting Conditionals
PPTX
Conditionals
PPT
Intro to Python with GPIO
PPTX
Variables and Statements
PPTX
Variables and User Input
PPT
Intro to Python
PPTX
Raspberry Pi
PPT
Hardware vs. Software Presentations
PPTX
Block chain security
PPTX
Variable Scope
Returning Data
Intro to Functions
Introduction to GUIs with guizero
Function Parameters
Nested Loops
Conditional Loops
Introduction to Repetition Structures
Input Validation
Windows File Systems
Nesting Conditionals
Conditionals
Intro to Python with GPIO
Variables and Statements
Variables and User Input
Intro to Python
Raspberry Pi
Hardware vs. Software Presentations
Block chain security

Recently uploaded (20)

PDF
Blue-Modern-Elegant-Presentation (1).pdf
PPTX
_Dispute Resolution_July 2022.pptxmhhghhhh
PPTX
OnePlus 13R – ⚡ All-Rounder King Performance: Snapdragon 8 Gen 3 – same as iQ...
PDF
LSR CASEBOOK 2024-25.pdf. very nice casbook
PPTX
Autonomic_Nervous_SystemM_Drugs_PPT.pptx
PPTX
DPT-MAY24.pptx for review and ucploading
PPTX
1751884730-Visual Basic -Unitj CS B.pptx
PPTX
chapter 3_bem.pptxKLJLKJLKJLKJKJKLJKJKJKHJH
PPTX
Surgical thesis protocol formation ppt.pptx
DOCX
mcsp232projectguidelinesjan2023 (1).docx
PDF
Why Today’s Brands Need ORM & SEO Specialists More Than Ever.pdf
PPT
notes_Lecture2 23l3j2 dfjl dfdlkj d 2.ppt
PPTX
Slideham presentation for the students a
PPTX
Prokaryotes v Eukaryotes PowerPoint.pptx
PPTX
Definition and Relation of Food Science( Lecture1).pptx
PDF
esg-supply-chain-webinar-nov2018hkhkkh.pdf
PDF
Biography of Mohammad Anamul Haque Nayan
PPT
ALLIED MATHEMATICS -I UNIT III MATRICES.ppt
PPTX
PE3-WEEK-3sdsadsadasdadadwadwdsdddddd.pptx
PDF
iTop VPN Crack Latest Version 2025 Free Download With Keygen
Blue-Modern-Elegant-Presentation (1).pdf
_Dispute Resolution_July 2022.pptxmhhghhhh
OnePlus 13R – ⚡ All-Rounder King Performance: Snapdragon 8 Gen 3 – same as iQ...
LSR CASEBOOK 2024-25.pdf. very nice casbook
Autonomic_Nervous_SystemM_Drugs_PPT.pptx
DPT-MAY24.pptx for review and ucploading
1751884730-Visual Basic -Unitj CS B.pptx
chapter 3_bem.pptxKLJLKJLKJLKJKJKLJKJKJKHJH
Surgical thesis protocol formation ppt.pptx
mcsp232projectguidelinesjan2023 (1).docx
Why Today’s Brands Need ORM & SEO Specialists More Than Ever.pdf
notes_Lecture2 23l3j2 dfjl dfdlkj d 2.ppt
Slideham presentation for the students a
Prokaryotes v Eukaryotes PowerPoint.pptx
Definition and Relation of Food Science( Lecture1).pptx
esg-supply-chain-webinar-nov2018hkhkkh.pdf
Biography of Mohammad Anamul Haque Nayan
ALLIED MATHEMATICS -I UNIT III MATRICES.ppt
PE3-WEEK-3sdsadsadasdadadwadwdsdddddd.pptx
iTop VPN Crack Latest Version 2025 Free Download With Keygen

Software Development Life Cycle

  • 2. Designing a Program  Design requires planning…that follows the above steps  Called Program Development Cycle  Cycle is repeated until NO errors appear in the program. Design the program Write the methods Test the methods Debug the methods
  • 3. Designing the Program  Determine what the app is supposed to do.  Read a problem statement that describes the which objects will appear in the app, and the actions that are to take place.  What is the “Story”? Design the program Write the methods Test the methods Debug the methods
  • 4. Designing the Program  Break the problem statement down into series of steps  Pseudocode  Algorithm or  Flowchart Design the program Write the methods Test the methods Debug the methods
  • 5. Writing the methods  Design steps (pseudocode or flowchart) provides model for writing the methods  Drag tiles into Editor to assemble instructions  Instructions should follow the order of the Design steps  Pseudocode and flowchart may NOT be at the detail of the final instructions  This step becomes more involved when you begin to write your own methods. Design the program Write the methods Test the methods Debug the methods
  • 6. Testing  Test to make sure it meets the following criteria:  Does it do what it was intended to do?  Does it have any errors? Any undesired results?  Is it efficient? Are there unnecessary steps?  If the criteria are NOT met, then debugging occurs  Always create the program in small parts to make testing easier Design the program Write the methods Test the methods Debug the methods TEST! TEST! TEST!
  • 7. Designing a Program  Debugging means to determine what must be corrected or modified to get the program to work correctly  Logical errors (bug) is a mistake that produces an incorrect result, but the program still runs.  Instructions in an incorrect order may produce incorrect results  Passing incorrect values as arguments can cause logical errors  What is the logical error?  Syntax errors are instructions written incorrectly in a language Alice has no syntax Design the program Write the methods Test the methods Debug the methods
  • 8. Checkpoint  1. What are the steps in the program development cycle?  2. What are two tools that you can use to break down a problem into a series of steps?  3. What is a logical error?  4. When testing a method, what are three criteria that you should make sure the method meets? 2-8 2.3