Heads or tails
In this lesson we show how to transition from a visual based programming language to using a text-based programming language using the example of a heads or tails coin toss application.
Additional details
Year band(s) | 5-6, 7-8 |
---|---|
Content type | Lesson ideas |
Format | Web page |
Keywords | Algorithms, Branching, User input, JavaScript, Text based programming, General purpose programming, Code, Code editor, W3Schools, Random, Variables, String, Transition, Scratch, Visual programming, Repetition |
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.
-
Scope and sequence overview
This resource provides a possible set of sequenced topics that could be used in teaching the Australian Curriculum Digital Technologies curriculum to address the content descriptions of the curriculum.
-
F-2: Digital systems: Hardware and software
At the F-2 level, students develop understandings of digital systems (hardware and software) when they use some key functions to undertake authentic curriculum tasks.
-
F-2: Digital systems: Changes in Technology
Changes to technology over time has affected many aspects of life.