Villagers Montessori College
18 Dalsol Street, GSIS Village, Barangay Sangandaan, Quezon City, Philippines 1116
Tel. Nos. 8-926-2431 / 8-929-0856
Telefax 8-929-0857
https://www.vmc.edu.ph
BASIC EDUCATION DEPARTMENT
Activity Title: Algorithm and Flowchart Challenge
Objective:
Develop a logical approach to problem-solving.
Create flowcharts and pseudocode for given problems.
Understand basic programming structures: sequence, selection, and iteration.
Instructions:
1. Algorithm Writing: Write step-by-step instructions (pseudocode) for the following problems.
2. Flowchart Creation: Draw a flowchart that represents the process visually.
3. Code Tracing: Given a set of pseudocode, determine the output for specific inputs.
Activity Problems:
Problem 1: Even or Odd Checker
Write an algorithm and flowchart that asks the user for a number and determines if it is even or odd.
Problem 2: Simple Grade Calculator
Create a flowchart and algorithm that accepts three subject grades, calculates the average, and determines if
the student passes (≥75) or fails (<75).
Problem 3: Factorial Finder
Write an algorithm and flowchart to compute the factorial of a given number (e.g., 5! = 5×4×3×2×1).
Problem 4: Reverse a Word
Develop an algorithm that takes a word as input and prints it in reverse order. Example: Input = "HELLO", Output
= "OLLEH".
Problem 5: Simulated ATM Withdrawal
Design a process where a user enters a PIN and a withdrawal amount. If the PIN is correct and the amount is
available, dispense cash; otherwise, display an appropriate message.
Expected Output:
Students submit their handwritten pseudocode and flowchart for at least 3 of the problems.
Each problem is evaluated based on logical correctness, clarity, and completeness.