Off to the movies
Create a simple program using a text-based programming language to generate an output based on two possible input options. This is a simple Boolean (true/false) application where its asks the user’s age - if you are over 15 then you can watch G and M rated movies - if you are under 15, then you can only watch G rated movies. This lesson was designed in collaboration with Jason Vearing QSITE (Gold Coast Chapter).
Additional details
Year band(s) | 7-8 |
---|---|
Content type | Lesson ideas |
Format | Web page |
Core and overarching concepts | Specification (decomposing problems), Algorithms, Implementation (programming) |
Australian Curriculum Digital Technologies code(s) |
AC9TDI8P07
Design the user experience of a digital system
AC9TDI8P05
Design algorithms involving nested control structures and represent them using flowcharts and pseudocode
AC9TDI8P10
Evaluate existing and student solutions against the design criteria, user stories and possible future impact |
Technologies & Programming Languages | JavaScript JS |
Keywords | AlgorithmsCode, Branching, User input, JavaScript, Text based programming, General purpose programming, Code, Code editor, W3Schools, Functions, Variables, String |
Organisation | ESA |
Copyright | Creative Commons Attribution 4.0, unless otherwise indicated. |
Related resources
-
A matter of style
In this lesson sequence, students using the Zen Garden website reflect on criteria for effective design.
-
Google CS First: Storytelling
CS First: Storytelling guides students to use block-based coding in Scratch projects through a series of themed activities.
-
Baringa State Primary School: Implementation of STEM
Baringa PS uses a cross-disciplinary approach that integrates STEM disciplines around relevant contexts (ie a problem, question, product or issue).
-
Parramatta Marist High: Building a programming mindset
Kelly Bauer explains how video games are the starting point for Year 7 students at Parramatta Marist High to learn about coding.
-
Torrens Valley Christian School: New subject at Year 10
Fiona Clayton describes how their Year 10 Digital Technologies subject has had an impact on numbers opting to go on and study in this area.