0% found this document useful (0 votes)
6 views1 page

Chapter 7 Algorithm

Chapter 7 discusses the program development life cycle, highlighting key stages such as analysis, design, coding, and testing. It emphasizes the importance of defining the problem, using abstraction and decomposition, and employing testing methods like dry runs and trace tables to ensure program requirements are met. The chapter also covers the use of flowcharts and structure diagrams to represent program logic and relationships between components.

Uploaded by

Fouad Attia
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

Chapter 7 Algorithm

Chapter 7 discusses the program development life cycle, highlighting key stages such as analysis, design, coding, and testing. It emphasizes the importance of defining the problem, using abstraction and decomposition, and employing testing methods like dry runs and trace tables to ensure program requirements are met. The chapter also covers the use of flowcharts and structure diagrams to represent program logic and relationships between components.

Uploaded by

Fouad Attia
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

chapter 7

The program development life Cycle

coding n Analysis Stage

in this stage, the programmer in this stage, the problem is clearly defined

wrote the modules using one of and the program requirements are identified
)
5 high level languages.
this stage use Abstraction is the process of keeping the elements required for solution
decomposition and remove the unneccery details
✓ Testing

the process of Breaking dowen lang, complex problem


in the testing phase, we checking wheather
into smaller, more manageable parts
r the program meet the requirements and work
correct in real situation. ③ Design stage

• to do that we use "set of test data" this stage show how the program should developed.
• and ensure that it meet the specification from the
- which is 1- Normal Data 3 Bounding Data
analysis stage.
③Abnormal Data 4 Extreme Data.

• and use Dry Run & Trace tables • This Can Be done through

structure chants = structure Diagram


@
it is a hirarchial Diagram, that Breaks dowen the
it is a manual simulation it is text-based method
Zo do code low chants system into smaller modules or Components, showing
of a program execution describes what the algorithm does
the relationships Between them
By
- where the programmer goes through
using English key words the very similar ex: main
the "flowchart" or "Zo do code" step by step system you
to those used in high level languages.
without actually running it on computer might
it is a diagram the
- - -- o - - get
- this done By using the "set of test Data' represent the sequence of steps sub- if -2
'still sub-3 questions
to containu or decisions in a process using the
askings
• The Trace Tables following symbols
you
is a tool used during the Dry run to sub -l-l sub -l- sub 3-2 sub 3- to
start / END
systematically record values of variables & Draw

the program state at eache step of execution. process or fast "S fracture Diagram"

using the "set of Data"

sub 3-14 Sub-3-1-2


Input/output

represent
o /
Fact • Diamon the Decision point

The Trace table question is always yes

included in the exam, and it usually

provides either a flowchart or zodo code

You might also like