Beruflich Dokumente
Kultur Dokumente
I. Essential Ideas
Program Design Process - describes the algorithm for the solution of the problem.
1. Algorithm specifies what actions and operations a program will do.
* Pseudo-coding (pseudo means false) – is writing the code for a program using human-language
statement to describe logic and processing flow.
Example:
Write a program that accepts the length of time and the average speed travelled by a car. The program
will then output the distance the car had travelled.
1. Start
2. Input the length of time (time)
3. Input the average speed (speed)
4. Compute distance = speed / time
5. Output or display the result of the computation (distance)
6. End.
A. Clarifying Understanding
Directions: Arrange in chronological order the given pseudo code. Use the number (1-6)
Find the area of a triangle
End
Compute Area of a triangle = (base*height)/2
Input the base of a triangle
Start
Output the area of a triangle
Input the height of a triangle
Find the equivalent of Php 2,500.00 in US Dollar.
Compute money =2500 / exchange rate
Start
Input the exchange rate
End
Output money in dollar
B. Framing Concepts
A. Lifelong Learning
______________________________________________________
______________________________________________________
______________________________________________________
______________________________________________________
_____________________________________________________
Exercises:
Directions: Given the study problem, write a pseudo code.
1. A taxi charges a fixed rate of P25 for every 3 kilometers it travels. Input the distance in
kilometers that a taxi traveled and output the cost of the trip.
2. Mega Mart is having an inventory sale and is giving 15% discount on all items. Input the
price of an item bought, compute, and print the new price to pay.
3. Bottled water costs P10 each. Input the number of bottled water bought, print how much the
change is if you pay P200.
Mrs. Cristy DR. Gumera Ms. Adelle Lyne B. Fernando Ms. Daisy B. Natividad
Grade 10 CE Teacher CE/TLE Subject Area Coordinator High School Principal