Pencil code

Pencil Code uses visual blocks and various programming languages to introduce and develop basic programming concepts through drawing art, playing music, and creating games. This site allows students to experiment with coding, build from example projects and save their programs publicly. It contains student handouts graded for beginners, intermediate and advanced levels of experience, teacher notes, example programs and a detailed unit plan. The concepts covered include input and output, loops, conditional statements, nesting, recursion, basic data structures and differing programming languages and where they are used.

Additional details

Year band(s) 5-6, 7-8
Content type Tools for learning
Format Web page
Core and overarching concepts Implementation (programming)
Australian Curriculum Digital Technologies code(s)

Implement algorithms as visual programs involving control structures, variables and input


Design algorithms involving multiple alternatives (branching) and iteration


Design algorithms involving nested control structures and represent them using flowcharts and pseudocode


Trace algorithms to predict output for a given input and to identify errors


Implement, modify and debug programs involving control structures and functions in a general-purpose programming language

Technologies & Programming Language​s other programming languages
Keywords Programming, Algorithms, Computational thinking, Conditional statements, Variables, Procedures, Data structures, Website, Web page, Visual programming

Pencil Code Foundation


Pencil Code Foundation. Free-for-education material.