0% found this document useful (0 votes)
263 views

Course Code BFC20802 Course Name Computer Programming Faculty of Civil Engineering and Built Environment 1. 1

This document provides information for a computer programming course assignment. It includes the course code, name, faculty, section, lecturer name, and due date. For the assignment, students are asked to: 1) Describe a project based on the project development life cycle elements of requirement analysis, design, implementation, testing and operation/maintenance. 2) Design an algorithm using pseudocode and a flowchart to classify different types of flow (critical, sub-critical, super-critical) based on a Froude number calculation. The pseudocode and flowchart demonstrate the use of sequential, selection and repetition control structures, including a nested conditional.

Uploaded by

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

Course Code BFC20802 Course Name Computer Programming Faculty of Civil Engineering and Built Environment 1. 1

This document provides information for a computer programming course assignment. It includes the course code, name, faculty, section, lecturer name, and due date. For the assignment, students are asked to: 1) Describe a project based on the project development life cycle elements of requirement analysis, design, implementation, testing and operation/maintenance. 2) Design an algorithm using pseudocode and a flowchart to classify different types of flow (critical, sub-critical, super-critical) based on a Froude number calculation. The pseudocode and flowchart demonstrate the use of sequential, selection and repetition control structures, including a nested conditional.

Uploaded by

Ezanie Izyan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 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