UNIVERSITY OF MAKATI
College of Computing and Information Sciences
DSP Department
CASE STUDY 1
Year/Section
Student Name 1
Student Name 2
Student Name 3
Program
Date/Time Finished
Instructor
I/we certify with all honesty that this activity has no other copies and
that I/we have dedicated my time and effort for this to be accomplished.
I/we am/are confident and willing to answer all questions regarding this activity
and I/we will not take credit on things that I/we did not do.
Student 1 Student 2 Student 3
__________________________ __________________________ __________________________
Signature above printed name Signature above printed name Signature above printed name
GENERAL INSTRUCTION: Please provide the flowchart of the following pseudocode. Remember the
symbols to be used are square (for process), flowlines, diamond (for decision), terminal (for start/end), on-
page connector. SOLVE THIS ON YOUR OWN (BE HONEST!)
You can use your own handwriting or computerize if you are not satisfied. You can use
https://www.nchsoftware.com/chart/index.html or other software for flowchart creation. Neat and clean
drawings are expected.
General Instruction: Please provide the flowchart of the following pseudocode. Remember the symbols to
be used are square (for process), flowlines, diamond (for decision), terminal (for start/end). SOLVE THIS ON
YOUR OWN (BE HONEST!)
This covers the 3 basic control structures: Sequence, Decision/Selection and Repetition/Iteration. Take note also of
two types of decision structure: (a) Single alternative (using IF statement) and Dual alternative (using IF…ELSE). Two
types of repetition/iteration structure: (a) Pretest and (b) Post test. Identify the structures in the problem (label them and
also write if it is STACKING or NESTING)
Problem #1
START
Do step X
While condition Z is true
IF condition Y is true
Do
step Q, B, I
While condition U is true
While condition O is true
While condition M is true
Do step L
Do step N
End while
IF condition J is true
Do step W
Else
IF condition P is true
While condition C is true
Do step K
Do step R
End while
Do step S
Else
Do step T
End if
Do step V
End if
End while
IF condition Q is true
Do step M
Else
Do step N
End if
End while
End If
End while
STOP
Problem #2
START
Do
Step A, B, C
While condition X is true
IF condition Y is true
While condition Z is true
IF condition W is true
Do step D
Do step E
Else
Do step F
Do step G
End if
End while
While condition U is true
Do step V
Do step B
End while
Else
Do
Step A
IF condition W is true
Do Step H
End if
IF condition I is true
Do step J
End if
While condition K is true
End if
Do step L
Do step M
End while
IF condition S is true
IF condition T is true
Do step V
End if
Else
IF condition W is true
Do step X
End if
End if
While condition H is true
STOP
Problem #3
START
Do step Z
Do step Y
IF condition A is true
Do step X
Do step W
IF condition B is true
Do step V
End if
Do step U
Do step T
Else
While condition C is true
Do
Step S, R, Q
While condition D is true
Do step P, O, N
While condition E is true
Do step M
Do step L
End while
IF condition F is true
Do step K
Else
IF condition G is true
Do step J
Else
IF condition F is true
Do step I
Else
IF condition E is true
Do step H
Else
Do step G
End if
End if
Do step F
End if
Do step E
End if
End while
While condition D is true
Do step D
End while
End if
STOP
PROBLEM #4 (Flowchart to Pseudocode)
PROBLEM #5 (Flowchart to Pseudocode)
PROBLEM #6 (Flowchart to Pseudocode)