Week 03: Digital Solutions - Application Design and Programming
Class Task and Information
Working with case statements or ElIf's in Flow charts.
Nesting decisions (how to create complex decision structures)
Single and Duel Criteria - Can we go ternary and quaternary or more?
What is the difference between && and OR
If Not - using a negative to drive a decision.
Design Thinking Tool: Pseudo Code
What is Pseudo Code?
What is the Anatomy of Pseudo code?
Dictionary of words for Pseudo Code.
What are the Conventions and Developer Principles?
Task 01: Develop an algorithm to work out the class average for a Maths test. Use the data and hyperthetical figures from your last maths test or exam.
Tasks 02: Develop a pay roll algorithm for Mr Marsden's Employment Services
When a employee works, they are required to record the total number of hours they work each day. At the conclusion of the week, all the hours are added up (Some times people will work 3.5 hours [3 and a half hours] in a shift). The total is then displayed to the employee and their wage is calculated by entering the hourly rate (e.g. $12). Then the total pay is displayed to the employee.
Task 03: Develop a Pseudo Code Algorithm for the following scenario -
You have been asked to develop a flowchart for the Tuck Shop at MFAC. When students purchase 3 or more items in one transaction they will receive a 5% discount and if students select a healthy lunch over $10 then they are given 20% off.
Developing a common vocabulary.
Looking at the task below what are the:
What processing is required generally?
How can we test the algorithm?
Write an algorithm using Pseudo Code for a automated train to stop collect passengers at a platform at Gympie:
Ideas for a Computational Thinking success:
Identify the Inputs or Event Triggers
What is the desired output?
What are the steps from start to finish?
Check the steps before submitting that they achieve a logical sequence
Think about anomalies:
What happens if there are no passengers waiting?
What is no one wants to get off?
Algorithm task 02: Continuing with the train theme (Big Bang Theory inspired)
The following is a representation of a train and road intersection. Develop an algorithm in Pseudo Code to ensure that the intersection works effectively.
Have another student check your solution before you submit your evidence online.
Algorithm task 03: Build A Bear
You have been asked to develop an algorithm in both Pseudo code and Flow chart to demonstrate the algorithm behind the Build A Bear Experience.