Professional Documents
Culture Documents
(M2-FORMATIVE) Artigas & Jovellanos
(M2-FORMATIVE) Artigas & Jovellanos
CCS0006L
(COMPUTER PROGRAMMING 1)
EXERCISE
2
PROGRAM LOGIC DESIGN AND FORMULATION
Name Role
Members (if Group): Artus Artigas
Alec Jovellanos
TB02
Section:
Marie Luvett Goh
Professor:
Problem 1. A pseudocode and a flowchart that computes for the volume of rectangular prism.
Pseudocode Flowchart
Problem 2. A pseudocode and a flowchart that determines whether the number entered is an odd
number or not.
Pseudocode Flowchart
Pseudocode Flowchart
ENTER number
IF num mod 2 = 1
THEN DISPLAY “It is odd.”
ELSE DISPLAY “It is not odd.”
ENDIF
Problem 3. A pseudocode and a flowchart that prints the numbers 1 to 10 in descending order using
WHILE.
Pseudocode Flowchart
Pseudocode Flowchart
(in correct order) (in correct order)
SET number = 10
WHILE number >= 1
PRINT number
DECREMENT number
ENDWHILE