0% found this document useful (0 votes)
69 views18 pages

Program Development Life Cycle: Title Page

The document outlines the software development life cycle process which includes problem definition, problem analysis, algorithm design and representation, coding, and debugging. It provides examples walking through each step to solve the problem of determining how many times a name occurs in a list. The examples demonstrate expressing the algorithm in human language, flowcharts, and pseudocode to design a solution before moving to the coding and debugging stage.

Uploaded by

Rhexel Reyes
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views18 pages

Program Development Life Cycle: Title Page

The document outlines the software development life cycle process which includes problem definition, problem analysis, algorithm design and representation, coding, and debugging. It provides examples walking through each step to solve the problem of determining how many times a name occurs in a list. The examples demonstrate expressing the algorithm in human language, flowcharts, and pseudocode to design a solution before moving to the coding and debugging stage.

Uploaded by

Rhexel Reyes
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 18

Title Page

Program
Guide Card Development Life
Cycle
Activity

Generalization

Enrichment
Activity
Title Page
Program Development Life Cycle
- Process followed on the creation of a software.
Guide Card
● Basic steps in trying to solve a problem on the
computer:
Activity 1. Problem Definition
2. Problem Analysis
3. Algorithm design and representation
Generalization
(Pseudocode or flowchart)
4. Coding and debugging
Enrichment
Activity Introduction
Problem Problem Algorithm
Coding
Definition Analysis Design
Title Page
1. Problem Definition

Guide Card ● A clearly defined problem is already half the


solution.
● Computer programming requires us to define
Activity the problem first before we even try to create a
solution.
● Let us now define our example problem:
Generalization “Create a program that will determine the
number of times a name occurs in a list.”
Enrichment
Activity Introduction
Problem Problem Algorithm
Coding
Definition Analysis Design
Title Page

2. Problem Analysis
Guide Card
● After the problem has been adequately defined,
the simplest and yet the most efficient and effective
Activity approach to solve the problem must be formulated.

● Usually, this step involves breaking up the


Generalization problem into smaller and simpler sub-problems.
NEXT
Enrichment
Activity Introduction
Problem Problem Algorithm
Coding
Definition Analysis Design
Title Page
● Example Problem:

Guide Card – Determine the number of times a name


occurs in a list
● Input to the program:
Activity – list of names (let's call this nameList)
– name to look for (let's call this keyName)
● Output of the program:
Generalization
– the number of times the name occurs in a list

Enrichment
Activity Introduction
Problem Problem Algorithm
Coding
Definition Analysis Design
Title Page
3. Algorithm Design and representation

Guide Card ● Algorithm


– a clear and unambiguous specification of the
steps needed to solve a problem.
Activity – It may be expressed in either :
● Human language (English, Tagalog)
● Graphical representation like a flowchart
Generalization ● Pseudocode - which is a cross between human
language and a programming language NEXT
Enrichment
Activity Introduction
Problem Problem Algorithm
Coding
Definition Analysis Design
Title Page
● Expressing our solution through Human language:
1. Get the list of names, let's call this nameList
Guide Card 2. Get the name to look for, let's call this the keyname
3. Compare the keyname to each of the names in
nameList
Activity 4. If the keyname is the same with a name in the list,
add 1 to the
count
Generalization 5. If all the names have been compared, output the
result
NEXT
Enrichment
Activity Introduction
Problem Problem Algorithm
Coding
Definition Analysis Design
Title Page
● Expressing our solution through a flowchart:

Guide Card

Activity

Generalization

NEXT
Enrichment
Activity Introduction
Problem Problem Algorithm
Coding
Definition Analysis Design
Title Page
Flowchart Symbols

Guide Card

Activity

Generalization

NEXT
Enrichment
Activity Introduction
Problem Problem Algorithm
Coding
Definition Analysis Design
Title Page

Guide Card

Activity

Generalization

NEXT
Enrichment
Activity Introduction
Problem Problem Algorithm
Coding
Definition Analysis Design
Title Page

Guide Card

Activity

Generalization

NEXT
Enrichment
Activity Introduction
Problem Problem Algorithm
Coding
Definition Analysis Design
Title Page
● Expressing our solution through pseudocode:

Guide Card Let nameList = List of Names


Let keyName = the name to be sought
Let Count = 0
Activity For each name in NameList do the following
if name == keyName
Generalization
Count = Count + 1
Display Count

Enrichment
Activity Introduction
Problem Problem Algorithm
Coding
Definition Analysis Design
Title Page
4. Coding and Debugging

Guide Card ● After constructing the algorithm, it is now possible


to create the source code. Using the algorithm as
basis, the source code can now be written using the
Activity
chosen programming language.
● Debugging
Generalization
– The process of fixing some errors (bugs) in your
program

Enrichment
Activity Introduction
Problem Problem Algorithm
Coding
Definition Analysis Design
Title Page

Help me travel
Guide Card from my house to
the Krusty Krab

Activity

Generalization Lets Go!

Enrichment
Activity
Title Page
QUESTION 1:
QUESTION 2 4
QUESTION
QUESTION 5 3
Guide Card The problem definition is the first
Problem
The square analysis
shape is involves
represent the
Algorithm
part inand
Coding is
solving a cross between
a programming
debugging is the last
breaking up the
terminal problem
symbol into
human
part of languagedevelopment
problem.
the software and a
Activity smaller and simpler sub-problems
programming language
life cycle.
TRUE
TRUE
FALSE
TRUE
TRUE
Generalization FALSE
FALSE
FALSE

Enrichment
Activity
Title Page

Guide Card

Activity

Generalization

Enrichment
Activity
Title Page

Guide Card

Software Development Life Cycle offers a


Activity
systematic process for building as well as
delivering software applications. It is a
Generalization multistep, iterative process. Development
teams rely on a system development life
cycle to create efficacious software with
Enrichment
Activity
as little issues as possible.
Title Page
Using what you
Guide Card have learned from this
module. Identify a
Activity problem and then
perform the steps of the
Generalization software development
life cycle.
Enrichment
Activity

You might also like