Algorithmic Thinking. 17/05/2016 Mike Clapper - Executive Director AMT

Similar documents
Unpacking Digital Technologies

Digital Devices in the Digital Technologies curriculum

Years 9 and 10 standard elaborations Australian Curriculum: Digital Technologies

Foundation - 2. Exploring how local products, services and environments are designed by people for a purpose and meet social needs

understand the hardware and software components that make up computer systems, and how they communicate with one another and with other systems

in the New Zealand Curriculum

Computing Scheme of Work Key Stage 1 Key Stage 2

Years 3 and 4 standard elaborations Australian Curriculum: Digital Technologies

Introduction to Computer Science - PLTW #9340

Computer Progression Pathways statements for KS3 & 4. Year 7 National Expectations. Algorithms

National Assessment Program ICT Literacy Years 6 & 10

LEARNING ABOUT MATH FOR GR 1 TO 2. Conestoga Public School OCTOBER 13, presented by Kathy Kubota-Zarivnij

junior Division Competition Paper

0-50. Bev Dunbar. Activities, blackline masters & assessment pages that are fun and easy to use

STREAMED PROGRAMS THE FUTURE IS IN GOOD HANDS:

Indiana K-12 Computer Science Standards

CSTA K- 12 Computer Science Standards: Mapped to STEM, Common Core, and Partnership for the 21 st Century Standards

Australian Curriculum: Digital Technologies

intermediate Division Competition Paper

Senior Math Circles February 10, 2010 Game Theory II

Third Grade: Mathematics. Unit 1: Math Strategies

LEARNING CENTRE INFORMATION GUIDE

The Mathematics of Playing Tic Tac Toe

Table of Contents. Table of Contents 1

TWO WELLS PRIMARY SCHOOL SPACE MISSION

Design, Technology and Engineering

Geometry. Learning Goals U N I T

Computing Overview Breadth of Study. Autumn Spring Summer

Teacher / Parent Guide for the use of Tantrix tiles with children of all ages

Information and Communication Technology

We can sort objects in lots of different ways. How do you think we have sorted these shapes? Can you think of another way we could sort them?

Jump, Frog, Jump. 3. If Freddie starts on 1, jumps to the right and takes hops of size 2, what

Grade 7 & 8 Math Circles. Mathematical Games

2014 New Jersey Core Curriculum Content Standards - Technology

Winthrop Primary School

Information for Parents/Carers Targets in Computing

Unit 7J Electrical circuits. About the unit. Expectations. Science Year 7. Where the unit fits in

Dice Activities for Algebraic Thinking

Investigating Australian Coins Lower Primary Unit of Work

Unit 6 - Number Games and Crayon Puzzles Unit 8 - Twos, Fives, and Tens Unit 7 - Color, Shape, and Size. Unit 9 - Blocks and Boxes.

Teachers Book. Techniquest Stuart Street Cardiff CF10 5BW. Tel:

LEARNING ABOUT MATH FOR K TO 5. Dorset Public School. April 6, :30 pm 8:00 pm. presented by Kathy Kubota-Zarivnij

Oct-09 Nov-09 Dec-09. Jan-10 Feb-10 Mar-10. Apr-10 May-10 Jun-10

Draft Shape of the Australian Curriculum: Technologies

MATHEMATICAL RELATIONAL SKILLS AND COUNTING 0 20

Acing Math (One Deck At A Time!): A Collection of Math Games. Table of Contents

Praxis Technology Education (5051) Study Plan Description of content

2016 Massachusetts Digital Literacy and Computer Science (DLCS) Curriculum Framework

Years 9 and 10 standard elaborations Australian Curriculum: Design and Technologies

Design and Technology Subject Outline Stage 1 and Stage 2

Reception. Mathematical Development A booklet for parents

Programming with Scratch

Removing the Fear of Fractions from Your Students Thursday, April 16, 2015: 9:30 AM-10:30 AM 157 A (BCEC) Lead Speaker: Joseph C.

Explore Create Understand

APPROVAL CRITERIA FOR GCE AS AND A LEVEL DESIGN AND TECHNOLOGY

Probability and Statistics

Programming Exam. 10% of course grade

Addition and Subtraction

2016 Massachusetts Digital Literacy and Computer Science (DLCS) Curriculum Framework

Years 5 and 6 standard elaborations Australian Curriculum: Design and Technologies

For Everyone Using dominoes to practice math, problem solve, and discover relationships between numbers.

Prepared by the YuMi Deadly Centre Faculty of Education, QUT. YuMi Deadly Maths Year 6 Teacher Resource: SP Loaded dice

Greenfield Primary School DESIGN TECHNOLOGY POLICY

Wainscott Primary School

Parent s Corner By Melinda Matthews, SPELD NSW Referral Officer

Student Book SERIES. Space and Shape. Name

SERIES Addition and Subtraction

BSc in Music, Media & Performance Technology

Wordy Problems for MathyTeachers

NWS P-12 PRIMARY SCHOOL Integrated Inquiry Learning Sequence P-6 ESSENTIAL QUESTIONS

Game, Set, and Match Carl W. Lee September 2016

A p p l i e d P r i n t M e d i a ( 1 2 D )

Objective: Investigate patterns in vertical and horizontal lines, and interpret points on the plane as distances from the axes.

CAREERS EDUCATION INFORMATION, ADVICE AND GUIDANCE

DRAFT 2016 CSTA K-12 CS

RIVERSDALE PRIMARY SCHOOL. Design & Technology Policy

STUDENT'S BOOKLET. Pythagoras Trips. Contents. 1 Squares and Roots 2 Straight Moves. 3 Game of Vectors. Meeting 6 Student s Booklet

Junior Questions: Part A

Correlation of Nelson Mathematics 2 to The Ontario Curriculum Grades 1-8 Mathematics Revised 2005

Australian Technologies curriculum. Jill Livett DATTA Vic

HOW TO PLAY LILY PADS

Lesson 4 The Middle Layer

Chapter 3 Chip Planning

Year 9 Product Design - Introduction

UK Junior Mathematical Challenge

Whole Numbers. Whole Numbers. Curriculum Ready.

Teacher / Parent Guide

Science and technologies in the Australian Curriculum: Making the connections for primary students

Accreditation Requirements Mapping

Bears on Wheels: A Bright and Early Counting Book. By Stan and Jan Berenstain Random House, New York, 1969

Has difficulty in partitioning, for example, 208 into 190 and 18 and 31 into 20 and 11

The game of Reversi was invented around 1880 by two. Englishmen, Lewis Waterman and John W. Mollett. It later became

1 Place value (1) Quick reference. *for NRICH activities mapped to the Cambridge Primary objectives, please visit

Addition and Subtraction Booklet 3.3: Strategies for Using Ten

Grand Avenue Primary and Nursery School. A Policy for Design and Technology. Contents

DESIGN AND TECHNOLOGY POLICY

2009 New Jersey Core Curriculum Content Standards - Technology

Situations Involving Multiplication and Division with Products to 50

How to Find a Work Experience Placement

During What could you do to the angles to reliably compare their measures?

Transcription:

Algorithmic Thinking

Structure of Session hat is an algorithm? hy is it important to promote algorithmic thinking in the mathematics classroom? Constructing some simple algorithms. Checking and testing algorithms. Incremental algorithmic design Resources for developing algorithmic thinking overview. The CAT competition as a resource types of questions and how to use them. Moving from algorithmic thinking to programming. Programming in the Maths classroom.

hat is an algorithm? An algorithm is a finite set of steps or operations which solve a particular problem or class of problems. eg To find the average of a set of numbers. Count how many numbers in the list (COUNT) Add up the numbers in the list (SUM) Divide the SUM by the COUNT (AVERAGE) Print AVERAGE

How can we represent algorithms? Everyday language Flowcharts Pseudocode Programming language

Flowcharts Start Count the numbers Call answer COUNT Find the sum of the numbers Call answer SUM Divide SUM by COUNT Call answer AVERAGE Print AVERAGE Stop

Making decisions Start Input NUMBER and DIVISOR Set TOTA to 0, set ANSER to 0 Add DIVISOR to TOTA Add 1 to ANSER Print ANSER Subtract 1 from ANSER No Is NUMBER bigger than TOTA? Yes Stop

Making decisions NUMBER DIVISOR TOTA ANSER 20 6 0 0

hy is algorithmic thinking important? Teaching algorithms alone can be very damaging Teaching students how to think algorithmically can be very powerful Algorithmic thinking is now a part of the Australian Curriculum

Australian Curriculum Digital Technologies (F 2) Knowledge and Understanding Processes and Production Skills Recognise and explore digital systems for a purpose Collect, explore and sort data, and use digital systems to present the data creatively Recognise and explore patterns in data and represent data as pictures, symbols and diagrams Follow, describe and represent a sequence of steps and decisions (algorithms) needed to solve simple problems Explore how people safely use common information systems to meet information, communication and recreation needs Create and organise ideas and information using information systems independently and with others, and share these with known people in safe online environment

Australian Curriculum Digital Technologies ( - 4) Knowledge and Understanding Processes and Production Skills Identify and explore a range of digital systems with peripheral devices for different purposes, and transmit different types of data Recognise different types of data and explore how the same data can be represented in different ways Collect, access and present different types of data using simple software to create information and solve problems Define simple problems, and describe and follow a sequence of steps and decisions (algorithms) needed to solve them Implement simple digital solutions as visual programs with algorithms involving branching (decisions) and user input

Australian Curriculum Digital Technologies ( - 4) cont. Knowledge and Understanding Processes and Production Skills Create and organise ideas and information using information systems independently and with others, and share these with known people in safe online environments Plan, create and communicate ideas and information independently and with others, applying agreed ethical and social protocols

Australian Curriculum Digital Technologies (5-6 ) Knowledge and Understanding Processes and Production Skills Examine the main components of common digital systems and how they connect together to form networks Examine how whole numbers are used to represent all data in digital systems Acquire, store and validate different types of data, and use a range of software to interpret and visualise data to create information Define problems in terms of data and functional requirements drawing on previously solved problems Design a user interface for a digital system Design, modify and follow simple algorithms involving sequences of steps, branching and iteration (repetition)

Knowledge and Understanding Australian Curriculum Digital Technologies (5-6 ) Processes and Production Skills Implement digital solutions as simple visual programs involving branching, iteration, and user input Explain how student solutions and existing information systems are sustainable and meet current and future local community needs Plan, create and communicate ideas and information, including collaboratively online, applying agreed ethical, social and technical protocols

Australian Curriculum Digital Technologies (7 8) Knowledge and Understanding Processes and Production Skills Investigate how data is transmitted and secured in wired, wireless and mobile networks, and how the specifications affect performance Investigate how digital systems represent text, image and audio data in binary Acquire data from a range of sources and evaluate authenticity, accuracy and timeliness Analyse and visualise data using a range of software to create information, and use structured data to model objects or events Define and decompose real-world problems taking into account functional requirements and economic, environmental, social, technical and usability constraints Design the user experience of a digital system, generating, evaluating and communicating alternative design

Knowledge and Understanding Australian Curriculum Digital Technologies (7 8) Processes and Production Skills Design algorithms represented diagrammatically and in English, and trace algorithms to predict output for a given input and to identify errors Implement and modify programs with user interfaces involving branching, iteration and functions in a generalpurpose programming language Evaluate how student solutions and existing information systems meet needs, are innovative, and take account of future risks and sustainability Plan and manage projects that create and communicate ideas and information collaboratively online, taking safety and social contexts into account

Australian Curriculum Digital Technologies (9 10) Knowledge and Understanding Processes and Production Skills Investigate the role of hardware and software in managing, controlling and securing the movement of and access to data in networked digital systems Analyse simple compression of data and how content data are separated from presentation Develop techniques for acquiring, storing and validating quantitative and qualitative data from a range of sources, considering privacy and security requirements Analyse and visualise data to create information and address complex problems, and model processes, entities and their relationships using structured data Define and decompose real-world problems precisely, taking into account functional and non-functional requirements and including interviewing stakeholders to identify needs Design the user experience of a digital system by evaluating alternative designs against criteria including functionality, accessibility, usability, and aesthetics

Knowledge and Understanding Australian Curriculum Digital Technologies (9 10) Processes and Production Skills Design algorithms represented diagrammatically and in structured English and validate algorithms and programs through tracing and test cases Implement modular programs, applying selected algorithms and data structures including using an object-oriented programming language Evaluate critically how student solutions and existing information systems and policies, take account of future risks and sustainability and provide opportunities for innovation and enterprise Create interactive solutions for sharing ideas and information online, taking into account safety, social contexts and legal responsibilities Plan and manage projects using an iterative and collaborative approach, identifying risks and considering safety and sustainability

Constructing some simple algorithms Arithmetic processes (work from high level to low level) Search algorithms Sort algorithms

Algorithmic efficiency - a simple search algorithm Start Guess =1 Too low? Yes Add 1 to guess No Print Guess Stop

Checking and testing algorithms Does it give the results you want? Trace the value of each variable using a table Carefully design test data to test each branch hat about special cases?

Incremental algorithmic design hen designing more complex algorithms: ork from high level design to low level design Consider solving a simpler problem Build the algorithm incrementally Get someone else (preferably fiendish) to test your algorithm

Resources for teaching algorithmic thinking Yourself Code.org: Anybody can learn Code Club Australia Australian Mathematics Trust: AMT Scratch - Imagine, Program, Share Codecademy mbots Bebras Australia Digital Careers Computational Thinking

AMT Informatics Program Designed to encourage algorithmic and logical thinking and to identify and encourage potential programmers in all students: 1. CAT (in March) a non-programming competition in algorithmic thinking, on-line or paper, Years 5 12 2. Programming training module through AMT website. AIO (September) open programming competition 4. AIIO (February) invitational programming competition 5. Selection schools and further invitational competitions leading to IOI

CAT (Computational and Algorithmic Thinking Competition) ate March 1 hour, 15 questions Emphasises algorithmic thinking. ill appeal to some students who do not shine in conventional mathematics. ill identify potential programmers. Online competition is free in 2016 Upper Primary, Junior, Intermediate, Senior Practice material available

Structure of Paper First six questions marks each traditional multiple-choice (5 options) Next nine questions - three-stage tasks 2 marks per stage A three-stage task consists of a small problem to solve where there are three sets of data The first data set is small or simple enough to be susceptible to ad-hoc techniques, but hopefully provides a basis for students to get a feeling for the problem and to develop an algorithm to be used in the remaining data sets. The answers are numbers in the range 0-999.

Question Types Rules testing the ability to follow a simple rule or algorithm ogic testing the ability to logically interpret the meaning of a situation or data set. This may include debugging an algorithm Analysis testing the ability to analyse the application of a given algorithm. This may include searching, sorting, analysing patterns or counting routes Algorithm Design there are a variety of types

Sample questions Junior 1 Junior 5 Senior Senior 4 Hrossan Quilts Emu Frog Musca

Junior 1. Hrossan Quilts Each hexagon and the two beneath it must be the same colour (R,G or B) or different colours. How many blue patches are there in the quilt below?

Junior 1. Hrossan Quilts Each hexagon and the two beneath it must be the same colour (R,G or B) or different colours. How many blue patches are there in the quilt below?

Junior 1. Hrossan Quilts Each hexagon and the two beneath it must be the same colour (R,G or B) or different colours. How many blue patches are there in the quilt below? R

Junior 1. Hrossan Quilts Each hexagon and the two beneath it must be the same colour (R,G or B) or different colours. How many blue patches are there in the quilt below? R

Junior 1. Hrossan Quilts Each hexagon and the two beneath it must be the same colour (R,G or B) or different colours. How many blue patches are there in the quilt below? R B

Junior 1. Hrossan Quilts Each hexagon and the two beneath it must be the same colour (R,G or B) or different colours. How many blue patches are there in the quilt below? B R G R R B G B G R R B B R R

Junior 1. Hrossan Quilts Each hexagon and the two beneath it must be the same colour (R,G or B) or different colours. How many blue patches are there in the quilt below? B R G R R B G B G R R B B R R

Junior 1. Hrossan Quilts Each hexagon and the two beneath it must be the same colour (R,G or B) or different colours. How many blue patches are there in the quilt below? 5 B R G R R B G B G R R B B R R

Junior 5. Emu Emus will take at most steps from the nesting burrow in search of food. They refuse to walk through water or even over water. B is the location of the burrow and the shaded cells are wet. An emu can cover up to 4 cells in one step, and a step may not turn a corner. In the diagram below, in how many dry cells will the emu NOT search for food?

Junior 5. Emu Emus will take at most steps from the nesting burrow in search of food. They refuse to walk through water or even over water. B is the location of the burrow and the shaded cells are wet. An emu can cover up to 4 cells in one step, and a step may not turn a corner. In the diagram below, in how many dry cells will the emu NOT search for food? 1 1 1 1 1

Junior 5. Emu Emus will take at most steps from the nesting burrow in search of food. They refuse to walk through water or even over water. B is the location of the burrow and the shaded cells are wet. An emu can cover up to 4 cells in one step, and a step may not turn a corner. In the diagram below, in how many dry cells will the emu NOT search for food? 1 2 2 1 1 1 1 2 2 2 2 2 2 2 2

Junior 5. Emu Emus will take at most steps from the nesting burrow in search of food. They refuse to walk through water or even over water. B is the location of the burrow and the shaded cells are wet. An emu can cover up to 4 cells in one step, and a step may not turn a corner. In the diagram below, in how many dry cells will the emu NOT search for food? 1 1 1 2 1 2 2 2 1 2 2 2 2 2 2

Junior 5. Emu Emus will take at most steps from the nesting burrow in search of food. They refuse to walk through water or even over water. B is the location of the burrow and the shaded cells are wet. An emu can cover up to 4 cells in one step, and a step may not turn a corner. In the diagram below, in how many dry cells will the emu NOT search for food? 9 1 1 1 2 1 2 2 2 1 2 2 2 2 2 2

Senior. Frog hite squares represent lily pads and grey squares represent water. A frog may jump from one lily pad to another, horizontally or vertically. It can jump over large spans of water, but it may not jump over another lily pad. Beginning on the lily pad marked F, what is the minimum number of jumps the frog needs in order to ensure that it can reach any other lily pad?

Senior. Frog hite squares represent lily pads and grey squares represent water. A frog may jump from one lily pad to another, horizontally or vertically. It can jump over large spans of water, but it may not jump over another lily pad. Beginning on the lily pad marked F, what is the minimum number of jumps the frog needs in order to ensure that it can reach any other lily pad? 1 1

Senior. Frog hite squares represent lily pads and grey squares represent water. A frog may jump from one lily pad to another, horizontally or vertically. It can jump over large spans of water, but it may not jump over another lily pad. Beginning on the lily pad marked F, what is the minimum number of jumps the frog needs in order to ensure that it can reach any other lily pad? 2 2 1 2 2 1 2

Senior. Frog hite squares represent lily pads and grey squares represent water. A frog may jump from one lily pad to another, horizontally or vertically. It can jump over large spans of water, but it may not jump over another lily pad. Beginning on the lily pad marked F, what is the minimum number of jumps the frog needs in order to ensure that it can reach any other lily pad? 2 2 1 2 2 1 2

Senior. Frog hite squares represent lily pads and grey squares represent water. A frog may jump from one lily pad to another, horizontally or vertically. It can jump over large spans of water, but it may not jump over another lily pad. Beginning on the lily pad marked F, what is the minimum number of jumps the frog needs in order to ensure that it can reach any other lily pad? 4 4 4 4 4 4 4 2 4 4 2 1 2 2 1 2 4

Senior. Frog hite squares represent lily pads and grey squares represent water. A frog may jump from one lily pad to another, horizontally or vertically. It can jump over large spans of water, but it may not jump over another lily pad. Beginning on the lily pad marked F, what is the minimum number of jumps the frog needs in order to ensure that it can reach any other lily pad? 4 4 5 4 5 4 4 5 5 4 4 4 2 2 1 5 4 2 2 1 2 4

Senior. Frog hite squares represent lily pads and grey squares represent water. A frog may jump from one lily pad to another, horizontally or vertically. It can jump over large spans of water, but it may not jump over another lily pad. Beginning on the lily pad marked F, what is the minimum number of jumps the frog needs in order to ensure that it can reach any other lily pad? 4 4 5 4 5 4 4 5 5 2 2 1 4 4 4 5 5 4 2 2 1 2 4

Senior 4. Musca Two players take turns to move a counter one or more cells to the left or down. The counter may not be moved onto or across a shaded cell. The winner is the player who moves the counter to the bottom left hand corner. Some cells will be winning cells for the player who goes first, and some will be losing cells. In the diagram below, how many of the cells marked are winning cells?

Senior 4. Musca Two players take turns to move a counter one or more cells to the left or down. The counter may not be moved onto or across a shaded cell. The winner is the player who moves the counter to the bottom left hand corner. Some cells will be winning cells for the player who goes first, and some will be losing cells. In the diagram below, how many of the cells marked are winning cells?

Senior 4. Musca Two players take turns to move a counter one or more cells to the left or down. The counter may not be moved onto or across a shaded cell. The winner is the player who moves the counter to the bottom left hand corner. Some cells will be winning cells for the player who goes first, and some will be losing cells. In the diagram below, how many of the cells marked are winning cells?

Senior 4. Musca Two players take turns to move a counter one or more cells to the left or down. The counter may not be moved onto or across a shaded cell. The winner is the player who moves the counter to the bottom left hand corner. Some cells will be winning cells for the player who goes first, and some will be losing cells. In the diagram below, how many of the cells marked are winning cells?

Senior 4. Musca Two players take turns to move a counter one or more cells to the left or down. The counter may not be moved onto or across a shaded cell. The winner is the player who moves the counter to the bottom left hand corner. Some cells will be winning cells for the player who goes first, and some will be losing cells. In the diagram below, how many of the cells marked are winning cells?

Senior 4. Musca Two players take turns to move a counter one or more cells to the left or down. The counter may not be moved onto or across a shaded cell. The winner is the player who moves the counter to the bottom left hand corner. Some cells will be winning cells for the player who goes first, and some will be losing cells. In the diagram below, how many of the cells marked are winning cells?

Senior 4. Musca Two players take turns to move a counter one or more cells to the left or down. The counter may not be moved onto or across a shaded cell. The winner is the player who moves the counter to the bottom left hand corner. Some cells will be winning cells for the player who goes first, and some will be losing cells. In the diagram below, how many of the cells marked are winning cells?

Senior 4. Musca Two players take turns to move a counter one or more cells to the left or down. The counter may not be moved onto or across a shaded cell. The winner is the player who moves the counter to the bottom left hand corner. Some cells will be winning cells for the player who goes first, and some will be losing cells. In the diagram below, how many of the cells marked are winning cells?

Senior 4. Musca Two players take turns to move a counter one or more cells to the left or down. The counter may not be moved onto or across a shaded cell. The winner is the player who moves the counter to the bottom left hand corner. Some cells will be winning cells for the player who goes first, and some will be losing cells. In the diagram below, how many of the cells marked are winning cells?

Resources for teaching algorithmic thinking Yourself Code.org: Anybody can learn Code Club Australia Australian Mathematics Trust: AMT Scratch - Imagine, Program, Share Codecademy mbots Bebras Australia Digital Careers Computational Thinking