Professional Documents
Culture Documents
PPT-Session 7
PPT-Session 7
nl
O
se
U
tre
en
C
h
ec
pt
Session 7- Structured
rA
Programming
Fo
y
nl
O
Define structured programming
se
Describe the benefits of structured programs
U
tre
Identify the modeling tool used for structured
en
programming
C
h
Explain the top-down structured technique used in
ec
program designing
pt
rA
se
Is also called as modular programming
U
Is a programming approach
tre
en
Applies a logical structure on a program to make it efficient
C
and easier to understand and modify
h
ec
se
• Modules can be used multiple times. This reduces
U
Code reuse complexity, saves time, and increases reliability
tre
• This equips programmers to confront problems
Modularity logically. By splitting a large problem solution into
en
smaller portions
Increased productivity time taken for error detection and error handling is
reduced
rA
se
hierarchical or layered program structure
U
tre
en
C
h
ec
pt
rA
Fo
y
nl
O
UML:
se
Is a popular, standardized modeling tool used in structured
U
programming and OOP systems
tre
Is used to specify, visualize, modify, construct, and
document the requirements and specifications of a
en
software system under development
C
Helps designers and developers to read and circulate
h
system structures
ec
se
UML diagrams are as follows:
U
tre
en
C
h
ec
pt
rA
Fo
y
nl
O
Modeling views offered by UML are as follows:
se
Sequence Diagrams
U
Collaboration Diagrams
tre
Activity Diagrams
en
State Chart Diagrams C
h
ec
Class Diagrams
pt
rA
Component Diagrams
Fo
Deployment Diagrams
y
nl
O
A structure chart is a graphic representation of the
se
decomposition of a problem
U
tre
It is a tool to assist in software designing
en
C
It is particularly helpful while solving large problems
h
ec
pt
sequence of tasks
Fo
y
nl
O
Is the process of dividing the overall task into smaller
se
components
U
Signifies breaking a difficult task down and solving
tre
pieces independently until every step can easily be
en
implemented
C
Emphasizes planning and a complete understanding
h
of the system
ec
modules
Fo
y
nl
O
Five basic elements• of programming
Variables represent thepresent
data in most
se
languages
Variables are as follows:
• The data can range from something very
simple, such as the age of a person, to
U
something very complex
tre
en
• Loops allow carrying out execution of a group
Loops h
C of commands a certain number of times
ec
pt
tre
en
Subroutines C
h
• This will allow putting frequently used snippets of
code into one location, which can then be used
ec
se
comprehend and modify
U
tre
UML is a popular modeling language used to specify, visualize, modify,
construct, and document the requirements and specification of an object-
en
oriented software system
C
h
A structure chart is a graphical representation of the decomposition of a
ec