Text based programming
Master Teacher Training
Day 2 Session 2
4 April 2014
Why Programming?
the practical experience of programming, [is] almost certainly the best way for primary pupils to learn about
computer science
KS1
KS2
Ofsted
Most of the Key Stage 1 pupils observed were able to learn programming through devising and testing sequences of instructions for floor robots. However, in Key Stage 2, pupils in the majority of schools visited had insufficient opportunities to develop their understanding and use of programming, and data logging and handling. In some schools this weakness arose from the limited skills and understanding of teachers.
Programming = Algorithms + Code
A Computing Mantra
There’s more to technology than computing
There’s more to computing than CS
There’s more to CS than coding
There’s more to coding than Scratch
There’s actually more to Scratch than Scratch.
Programming
Physical
Pictorial
Textual
print "Hello, world!"
Text OR Pictorial
print "Hello, world!"
More to coding than Scratch
Pictorial: Scratch based
S4A, Kinect 2 Scratch, Enchanting, Snap!, Scratch Jr
Pictorial
Kodu, Blockly, StarLogo TNG, App Inventor, Alice
Other
Apps
Cato's Hike, CargoBot, Daisy the Dinosaur, Hopscotch
Textual
Logo, Small Basic, TouchDevelop, Python, Javascript, Ruby, Java, Haskell, Excel!
Which textual language?
Kemp, 2014 (in press)
Our first program - Sequence
Write some things to the screen:
print("Hello world!")
Extension:
import winsound
Freq = 2500
Dur = 1000
winsound.Beep(Freq,Dur)
Setting up Python
Angles and art!
Program or be programmed?
In many schools today, the phrase "computer-aided instruction" means making the computer teach the child. One might say the computer is being used to program the child. In my vision, the child programs the computer and, in doing so, both acquires a sense of mastery over a piece of the most modern and powerful technology and establishes an intimate contact with some of the deepest ideas from science, from mathematics, and from the art of intellectual model building.
.
Logo turtles
How to teach: Learning spies
Seek out other people’s great ideas and share them
How to teach: Learning saboteurs
How to teach: Conducting
How to teach: Pair programming
How to teach: BBBT