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

COMPUTER-PROGRAMMING-HR

The document outlines a pre-activity assignment for BSCE 1C students at Camarines Sur Polytechnic Colleges, focusing on designing flowcharts and algorithms for solving Civil Engineering problems. It includes three specific problems: calculating the area of a circle, finding the average of two numbers, and converting length from centimeters to inches, each with detailed algorithms and explanations. Students are required to submit their flowcharts and problem statements by July 7, 2025.

Uploaded by

elrodjosh350
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

COMPUTER-PROGRAMMING-HR

The document outlines a pre-activity assignment for BSCE 1C students at Camarines Sur Polytechnic Colleges, focusing on designing flowcharts and algorithms for solving Civil Engineering problems. It includes three specific problems: calculating the area of a circle, finding the average of two numbers, and converting length from centimeters to inches, each with detailed algorithms and explanations. Students are required to submit their flowcharts and problem statements by July 7, 2025.

Uploaded by

elrodjosh350
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Republic of the Philippines

Camarines Sur Polytechnic Colleges


Nabua, Camarines Sur

ISO 9001:2015

Name Herlly B. Ragasa Course & Section BSCE 1C

Pre- Activity – Flowchart & Algorithm

Objective: To designflowchartsthat outlinethecomputational logicforsolving Civil Engineering problems


involving numerical manipulation and formulas, enhancing problem-solving and programming
preparation
skills.

Instructions:

1. Individual Work: This pre-activity is to be completed individually.


2. Carefully analyze the problem and identify the inputs, processes (calculations), and
outputs.

3. Design a flowchart that visually represents the logical steps required to solve the problem.
Use standard flowchart symbols (e.g., oval for start/end, rectangle for processes,
diamond for decisions, parallelogram for input/output). Ensure your flowchart is clear,
concise, and

easy to follow. You can use online flowcharting tools (like draw.io, Lucid chart, or similar)
or draw them neatly by hand.

4. Documentation: For each problem, submit the following:


5. Submission: Google classroom before July 7, 2025
a. The problem statement itself.
b. Your neatly drawn or computer-generated flowchart.
c. Problem Statements

Problem 1: Area of a Circle


Problem 2: Average of Two Numbers
Problem 3: Length Conversion
PROBLEM 1: Area of a circle

Algorithm:
Input: Radius of a Circle
Output: Area of a Circle

Step 1: Start/ Begin.


Step 2: Input Radius (Read the Radius (r) of a circle).
Step 3: Compute the Area by Applying the Formula.
Step 4: Print/Display the area of the circle.
Step 5: Stop/End.

Problem Explaination:

Based on the problem 1, we must calculate the Area of a circle, in order for us to find out the missing area.
So, to compute the area of a circle, we should know the formula which is the "Area = π x r x r". It shows that
"π" is equivalent to 3.14159 or should I say 3.14. Using computer or any devices, the programmer was
the one who's capable to input the given formula and it will undergo a process to show the result which
indicated the caculated Area of a circle.
PROBLEM 2: Average of Two Numbers

Algorithm:
Input: n1 and n2
Output: Average Total

Step 1: Start/ Begin.


Step 2: Input (Number 1 and Number 2).
Step 3: Compute Average / Total (by adding the two numbers and divide it by 2.)
Step 4: Display/ Print Average.
Step 5: Stop/End.

Problem Explaination:

Based from problem no. 3, we must caculate the average of two numbers which is the Number 1
and Number 2. So, to start the process, the user need to input the n1 and n2 to the processor and
add, then divide it by 2, in order to compute or print the final average of it.
PROBLEM 3: Length Conversion

Algorithm:
Input: Lcm
Output: Lft

Step 1: Start/ Begin (the process).


Step 2: Input (Length in Centimeter).
Step 3: Compute/Calculate Length ("cm to inch" by multiplying it by 0.393701).
Step 4: Display/ Print Lft.
Step 5: Stop/End

Problem Explaination:

Based from the problem no. 3, it's talk about the Length Conversion which means to find the
exact length, like for example from Centimeter convert into Inch. So, to calculate it, the
user/programmer is the one will input the given length and to prove it right, it must be multiple
by "centimeter by 0.393701" and it will result the final answer of conversion.

You might also like