You are on page 1of 5

COURSE CODE BFC20802

COURSE NAME COMPUTER PROGRAMMING

FACULTY OF CIVIL ENGINEERING AND BUILT


FACULTY ENVIRONMENT
1.
1.

SECTION 4

LECTURER NAME TS. DR. NICKHOLAS ANTING ANAK GUNTOR

DUE DATE 10 JUNE 2021


ASSIGNMENT PROPOSAL

ASSIGNMENT
MARKS

PROPOSAL ASSIGNMENT.

1. Description of the project. Describe based on PDLC elements.


Requirement Analysis
Gathering data and disscuss
the purpose of the conducted
project.

Operation and Defining


maintenaince use both pseudocode and
some problem may be flowchart to propose the
occur. If there any error design stage.
on the program, it should
be corrected and adding
some improvements.

Designing
Use the Python program to
do the coding of the project
data.

Program Testing
Observavtion on how the
program operates after
conducted from the start Coding Implementation.
until end based on required Test the program coding
outputs with appropriate whether it run properly or not
input data. and analyse if there any error
occur throughout the
program.

2. Algorithm design – pseudocode and flowchart.


 Apply control structure: sequential/selection/repetition with at least one-level
nested condition.

(a) PSEUDOCODE

START
ENTER FLOAT V / g / D
V
CALCULATE Fr =
g √D
UPDATE ROUND ( Fr , 2 )
IF 𝐹𝑟 = 1:
PRINT (“{} is Critical Flow”.format (𝐹𝑟))
ELIF 𝐹𝑟<1:

PRINT (“{} is Sub-Critical Flow”.format (𝐹𝑟))


ELIF 𝐹𝑟>1:

PRINT (“{} is Super-Critical Flow”.format (𝐹𝑟))


ELSE g =! 9.81:
PRINT (“Please reinput gravity value”)
END

(b) Flowchart
start
Update round Fr =1 CRITICAL FLOW

false
If G=/=9.81 Fr <1 SUB-CRITICAL FLOW

Enter gravity value again


Fr >1 SUPER CRITICAL FLOW

End

You might also like