0% found this document useful (0 votes)
9 views4 pages

Algorithms and Flowcharts Performance Task

The document outlines a performance task for students to create algorithms, pseudocode, and flowcharts to solve real-life problems. Each group must submit a structured document detailing their problem, variables, pseudocode, flowchart, sample runs, and reflections on alternative algorithms. The grading rubric evaluates various aspects such as variable declaration, algorithm logic, pseudocode quality, flowchart accuracy, sample runs, reflection, and overall organization.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views4 pages

Algorithms and Flowcharts Performance Task

The document outlines a performance task for students to create algorithms, pseudocode, and flowcharts to solve real-life problems. Each group must submit a structured document detailing their problem, variables, pseudocode, flowchart, sample runs, and reflections on alternative algorithms. The grading rubric evaluates various aspects such as variable declaration, algorithm logic, pseudocode quality, flowchart accuracy, sample runs, reflection, and overall organization.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

CT9 Performance Task

Algorithms, Pseudocode, and Flowcharts

Performance Standard:
The learner independently demonstrates knowledge and skills in the fundamentals
of algorithms and flowcharts to achieve a given goal or to address a defined problem
or task.

Competencies:

• Creates Algorithms, Pseudocodes, and Flowcharts based on real-life


problems.
• Transforms Algorithms to Flowcharts and vice versa.
• Recognizes alternative algorithms in solving a given problem.

Task Overview

You will design a solution to a real-life problem using computational thinking. Each
group will:

1. Create an algorithm (pseudocode) and a flowchart that demonstrates the


use of variables, constants, sequence, selection, and basic iteration.
2. Submit a printed document on short bond paper with a proper structure
and explanation.

Document Format and Content

Each group must submit a short (letter size) printed document (2–3 pages max),
containing:

1. Cover Page – Group number, title, group members, subject, date.


2. Introduction – A short paragraph restating the problem in your own
words and stating your objective.
3. Declarations – List and describe your variables and constants (name,
type, purpose). Use camelCase naming.
4. Pseudocode – Clear, well-indented pseudocode using correct keywords.
5. Flowchart – Matching flowchart drawn neatly (can be inserted as a
scanned image).
6. Sample Runs – Two examples showing input and output.
7. Explanation – Explain how the algorithm works and how it uses
sequence, selection, and iteration.
8. Reflection – Describe an alternative algorithm and explain one
advantage or difference.
9. Signatures – All members must sign the document.

Scenarios

Each group must create its own variable names, constants, and conditions.

Group 1 — Daily Allowance Tracker


A student wants to track their daily allowance. Each day, they record how much
they spend and how much is left. After one week, the program should display the
total amount spent, the remaining balance, and whether they stayed within budget.
Include logic to warn if expenses exceed the weekly allowance.

Group 2 — Library Overdue Checker


The school library needs a small program to compute overdue fines for returned
books. The librarian enters how many days late each book was returned. The
system must calculate the fine for each book and total fines for the day. If a book is
not overdue, no fine is charged.

Group 3 — Canteen Sales Summary


The canteen records sales for three items daily (e.g., sandwich, drink, and snack).
The cashier enters how many of each item was sold. The program calculates the
total income and identifies which item earned the highest sales.

Group 4 — Grade Evaluator


A teacher needs a program that inputs a student’s score and prints the
corresponding remark based on grade ranges (A, B, C, D, E). The program should
handle multiple students and print how many passed and failed.

Group 5 — Grocery Checkout


A grocery store cashier inputs the prices of purchased items. The system computes
the total, applies a 5% discount if the total exceeds a certain amount, and displays
the final bill. The loop ends when the cashier enters a zero price.

Group 6 — Attendance Counter


The class president tracks attendance for one week. For each day, the program
records the number of students present. At the end of the week, it calculates the
average attendance and checks if the attendance rate is above a passing level (e.g.,
85%).

Group 7 — School Event Ticket Seller


A student council sells tickets for a school fair. Each buyer’s age is entered, and the
program assigns a price based on age group (child, adult, senior). After all buyers
are processed, the total sales and number of tickets sold per category are displayed.
Group 8 — Temperature Monitor
The program records the daily temperature for 5 days, computes the average, and
determines whether the average indicates “Cold,” “Warm,” or “Hot.” The logic
should classify temperatures correctly and loop through multiple readings.

Group 9 — Simple Bank Deposit System


A user starts with an initial balance. They can deposit or withdraw money until
they enter 0 to stop. The program prevents withdrawals that would make the
balance negative and shows the final balance and number of failed transactions.

Group 10 — Water Conservation Tracker


A household monitors daily water usage. Each day’s usage is entered and compared
with a target daily limit. The program should show if the family stayed within the
limit, exceeded it, or saved water overall at week’s end.

Group 11 — Quiz Result Analyzer


A quiz app asks for the number of questions and records each correct and incorrect
answer. After processing all questions, it computes the total score and percentage
and prints whether the user passed or failed.

Group 12 — Sports Team Practice Tracker


A coach wants to track a team’s practice attendance. For each player, mark whether
they attended (Y/N) for a week. At the end, display the total number of sessions
attended by each player and whether they qualify for the next game (minimum
attendance required).

Grading Rubric (Total: 50 points)

Criterion Excellent (Full Satisfactory Needs Point


Points) (Half Points) Improveme s
nt (0 Points)

1. Variables All variables/constants Most declared Poor or 8 pts


& Constants declared clearly, but with minor missing
(Declaration correctly typed, and errors or declarations.
s) justified. Uses missing
camelCase properly. justifications.

2. Algorithm Algorithm fully solves Algorithm Algorithm 12 pts


Logic & the problem using partially incorrect or
Correctness sequence, selection, works or incomplete.
and iteration correctly.
misses minor
logic steps.

3. Well-structured, clear Understandabl Unclear or 8 pts


Pseudocode pseudocode with e pseudocode poorly
Quality & proper indentation, but with formatted
Conventions consistent syntax, and inconsistencies pseudocode.
meaningful identifiers. .

4. Flowchart Flowchart matches Flowchart Inaccurate or 8 pts


Accuracy & pseudocode; correct mostly missing
Match symbols and flow. accurate; flowchart.
small
symbol/flow
issues.

5. Sample Two or more test cases At least one No valid test 4 pts
Runs / with accurate valid test case, cases or
Testing computation and but incomplete incorrect
expected outputs. or minor error. results.

6. Reflection Explains an Gives an Missing or 4 pts


& alternative algorithm alternative but irrelevant
Alternative and provides a clear unclear reflection.
Algorithm advantage/disadvantag explanation.
e.

7. Well-organized, Some Disorganized, 6 pts


Organization properly formatted, formatting or messy, or
& Neatness clear presentation, and clarity issues. incomplete
(Document signed by all members. submission.
Quality)

TOTAL 50 pts

Common questions

Powered by AI

Transforming an algorithm into a flowchart enhances understanding by providing a visual representation of the algorithm's logic. Flowcharts use symbols to depict different types of actions and their flow, making it easier for individuals, particularly those who are visual learners, to comprehend the sequence, selection, and iteration in the algorithm. It facilitates communication by offering a clear and concise depiction of the process that can be understood by stakeholders with varying levels of technical expertise .

A pseudocode algorithm can ensure accuracy in price assignment by implementing clear selection structures to categorize age groups. Using conditional statements (if-else), the program can assign correct prices by accurately checking the age entered against defined ranges for child, adult, and senior categories. The use of clearly named variables for age thresholds and prices helps maintain comprehension and reduce errors in logic .

Requiring signatures from group members on computational task documents fosters accountability, as it signifies personal agreement and responsibility for the work presented. This requirement encourages collaboration, as each member knows they must contribute effectively to ensure the group's output meets the standard. It also establishes a sense of ownership and integrity, as any deficiencies or errors are collectively owned, promoting a stronger team ethic and peer support structure .

An alternative algorithm for tracking attendance could use arrays or lists to store attendance data for each student for the entire week, instead of simple counters. This method allows for more complex data analysis, such as tracking trends over time or identifying patterns. It provides the advantage of being able to query individual student's attendance records and derive insights about attendance rates more efficiently compared to basic counting methods which only provide cumulative totals .

Reflection on alternative algorithms enhances learning by encouraging critical analysis of different methods to solve a problem. It fosters a deeper understanding of algorithm effectiveness and encourages developers to refine techniques, adapts to different contexts, and optimize performance. Evaluating alternatives leads to more robust software solutions as developers consider efficiency, scalability, and flexibility, leading to innovation in development practices .

In a canteen sales summary program, iteration can be applied to process daily sales data for each item type over multiple days. By using loops, the program can repeatedly calculate and tally sales totals, compare daily figures, and ultimately determine which item had the highest sales over the entire period. The benefit of this approach is that it automates the data processing, reducing manual errors, and providing comprehensive analytics for decision-making .

In the Daily Allowance Tracker, the sequence involves inputting daily expenses in a fixed order: recording spent amount and calculating remaining balance. Selection is used to check conditions such as whether the expenses exceeded the weekly allowance. Iteration is utilized when repeating the tracking for each day of the week and finally summarizing the total spent and remaining amount. Such structures ensure accurate tracking and conditional alerts when the budget is exceeded .

Correct use of variables and constants is crucial as they store dynamic data (number of days late) and fixed values (fine rates per day), respectively. Variables facilitate the computation of fines for each instance of an overdue book by holding the number of late days, while constants ensure the fine rate is applied uniformly across calculations, maintaining accuracy and consistency in fines computation .

Document structure and clarity play pivotal roles in the success of computational task projects as they determine how well the information is communicated. A well-organized document aids in presenting the logic and thought process behind algorithms and flowcharts comprehensibly, enabling peer reviewers and stakeholders to understand, evaluate, and provide feedback effectively. Clear documentation ensures that subsequent modifications can be made efficiently without misinterpretation, which is essential for maintaining project quality and integrity .

Including sample runs is significant because they validate the algorithm's functionality by demonstrating its behavior with real data. Sample runs serve as practical proofs that the logic performs as expected and helps to identify errors or inefficiencies. They also provide tangible outputs that can be compared against expected results to ensure the accuracy of the algorithm and the flowchart .

You might also like