Code Clubs @ StAC

2015 has seen two Code Clubs start at St Andrew’s College with Mr Phil Adams running one in the Secondary School since the start of the year and Mrs Vicki Pettit alongside Mr Wilj Dekkers starting one in the Preparatory School during Term 2.

Preparatory School:

CodeClub_LogoThe Preparatory school are using the resources provided via Code Club Aotearoa and there are around 20 students that attend regularly, within which there is a reasonably even break down of beginners and intermediate coders with 2-3 advanced coders.

The resources on the Code Club Aotearoa website are perfect for beginning and intermediate students however, Mrs Pettit is exploring options for the more advanced students and in what areas they can possibly start to apply their skills e.g. robotics, Raspberry Pi projects and possibly entering them into the Canterbury Core Education Digi Awards. The other pathway recently made available to these Prep students is Monday lunchtimes with Mr Adams in the secondary school code club.

Secondary School:

In Term 1 2015 Mr Adams started the Code Club for students that were interested in learning more about programming and were prepared to attend during their lunchtimes. His motivation was twofold:

  1. There was currently no option in the Junior curriculum (Years 9-10) for programming which means when students can take this at Year 11 they are often being introduced to the concepts for the very first time.
  2. There were a number of very keen students who did not have an avenue for support in their coding unless they persevered by themselves and were essentially self-taught from online.

Whilst there was an initial surge of enthusiasm from students, this settled into those that were committed, keen and prepared to give up a lunchtime to learn more. Having looked at the formal code clubs that existed (such as Code Club Aotearoa above), Mr Adams also reviewed online offerings such as Code Academy and Code Avengers which were useful, particularly Code Avengers which aligns with the New Zealand NCEA standards. Ultimately, however, he decided that students could continue to access these in their own time and that the focus of the Code Clubs at StAC would be slightly different.

python-logoThis alternative was to focus on teaching the students the very basics of Python so that they could create their own scripts and taste success early on. The reason for Python was quite simple as Mr Adams explains:

As a text based language the syntax is not complicated and it is very logical. Therefore, the learning curve would not be too steep for our new students. An alternative language such as C or C# would be too challenging for them to start with.

As students learnt the basics, Mr Adams focused on creating a team culture where students could learn from each other: the beginners seeking help from more advanced students, who in turn could reinforce and demonstrate their understanding of Python by teaching the beginners. Through this approach, it is hoped the Code Club will become self-perpetuating and independent with a positive and interactive culture.

With a few weeks of the basics out of the way, the goal became to progress students with the introduction of logic into their coding e.g. a basic guessing game such as this one:

An example of a number guessing game from Hana

An example of a number guessing game from Hana (click to download the Python script)

Hana, who created the above script, had the following to say about Code Club @ StAC:

I used to do coding at my old school, Selwyn House. There, it was a big thing and we did robotics and Hour of Code. The code club at StAC is super fun. Mr Adams is a really good teacher and he always lets us figure out why our code hasn’t worked. 

Coding a basic guessing game is not too difficult and yet it can easily be extended with the introduction of more logic that would require students to be able to calculate the average number of guesses it takes people to correctly guess the number each time. To support this extension, Mr Adams has created numerous tutorial videos on his YouTube channel that students can access, such as this one on how to create a list within a list using Python:

Paper, Scissors, Rock by Louis (click to download the code)

Paper, Scissors, Rock by Louis (click to download the code)

Louis, who also attends the Code Club @ StAC, created a game of Paper, Scissors, Rock in Python. Like Hana, he is also enjoying attending:

I am attending the Code Club because I enjoy coding in my own time (I also have done some robotics coding and other things) … 

I have learned things with Mr Adams (We are doing python at the moment, I have many other languages including: HTML, CSS, PHP, UNIX Terminal, Command Prompt, and JavaScript)

Next Steps:

Mr Adams has some clear next steps identified for the students in the Code Club, with the ultimate aim getting them to work collaboratively on a project together, all contributing code to a repository such as GitHub. This would enable replicating a “real world environment” where multiple people all work on much larger projects. This mirrors the message from Old Collegian Claudia Pottinger, who shared her experience as a Google Intern writing code in Python last summer. It is apparent that some of the students in the club are already thinking that far ahead, such as Jack who is in Year 9:

I go to code club because it is something I feel will benefit me in the future, and it is my intended career path. Computer programming is one of my passions, it is something that I enjoy doing in my own time.

It is extremely fun, learning new things and being able to help others who do not know so much.

A project I just finished recently was the year 12 internal exam, where you make a program in python that allows a user to select, order and store different pizzas with a range of flavours and prices.

I feel that in the future Programming will be a large part of nearly every job.

Jack's Pizza Ordering script (click to download)

Jack’s Pizza Ordering script (click to download)

Another idea to extend the students is to introduce activities from Project Euler – a website that describes its motivation as being:

The motivation for starting Project Euler, and its continuation, is to provide a platform for the inquiring mind to delve into unfamiliar areas and learn new concepts in a fun and recreational context.

To complete the activities on the website, students will need strong mathematical ability but also programming skills. One example from this website that Mr Hilliam, Maths and Statistics teacher at St Andrew’s, has used with his students is to write code that identifies the sum total of all prime numbers under 1000.

With keen students in the secondary school, along with increasing numbers of students coming through from the Preparatory and other feeder schools, providing an avenue for students to learn coding at St Andrew’s College is essential.

Recording & Blogging: It’s What I Do Now

Solo Tasks: around the Law of Reflection with extension work on Moodle

Solo Tasks: around the Law of Reflection with extension work on Moodle

Mr Matt Nicoll has been a regular contributor to this blog, providing one of the very first posts on recording his lessons for later playback by students, to presenting to the CORE Education eFellows, and his very active role in the development of Twitter usage amongst staff and the #edchatnz conference organisation.

I had wanted to sit down with him and see how his videoing of the teaching moments in his lessons had evolved from when we chatted in October 2013 and took the opportunity to do so after the #edchatnz conference. It transpires that in someways he has stuck with the successful recipe he had developed in 2013.

Mr Nicoll still remains the primary blogger for his classes, sharing the content, notes and videos on the class blog. His rationale for this was simple:

I am still traditional enough to want to retain control over the quality of the key concepts and ensure that they are being explained correctly. The big win, however, is that the students don’t need to write notes in class meaning they can spend more time on the activities.

SOLO

Two obvious positives from this are:

  • More time is spent in class discussing the quality of the answers e.g. what does multi-structural thinking look like compared to relational thinking (in terms of the SOLO thinking taxonomy)
  • Students benefit from this because their understanding of the SOLO taxonomy, which is used widely at St Andrew’s College, is deepened and their ability to explain their answers improves.

Despite being the Year 9 Dean and the associated workload that comes with that role, Mr Nicoll has found that keeping up the blogging and recording of his lessons has not added to his work. If anything, he believes it has allowed him to gauge where his students are at more accurately, since there is more time spent discussing the learning, than copying down notes. Student workbooks (or computers), are used primarily for writing down ideas, notes or discussions they have had in class – not for copying content off the whiteboard.

Separating suspensions using filtration

Computers are used in class, mostly for research and communicating overall answers for a lesson – shaping the learning into a formal reflection. Again, choice is provided to students – they could use MS Word, Powerpoint, OneNote or a graph in Excel for example. Because the “nuts and bolts” of the lesson are covered off in the form of comprehensive, quality notes on the class blog, students can simply:

Think like a scientist. Investigate like a scientist.

NCEA CLASSES:

Mr Nicoll’s blogging and recording practices extend to his NCEA classes as well, and he states that this allows him to better gauge where his students sit in terms of Achieved / Merit / Excellence in the respective standards they are working towards:

If a student is struggling to remember facts, I direct them to the blog where they can review the content. If they are struggling to articulate answers at a level required to move from Merit to Excellence, then I engage them in discussion.

RECORDING THE TEACHING MOMENTS:

The NZ Science Teacher website blogged about Mr Nicoll’s methodologies earlier this year, and since then some of his processes have changed:

  • Gone from using an Android smartphone to a Microsoft Surface Pro 2. This has allowed the uploading and editing of video content to become much easier as it is all on the one device. Being physically larger than a smartphone has also allowed the student recording the lesson to hold the device steadier, meaning the quality of the video footage has improved.
  • He is now using the Surface Pro 2 to record experiments in the classroom fume cupboard and display that on the classroom projector wirelessly using Miracast (similar to how Mr Hilliam does this in Maths)
  • Approximately three times a week he will record 8-12minutes of teaching and experiments and upload them to his YouTube Channel
  • When away from classes for an extended period of time, such as Winter Sports Tournament Week, he pre-records teaching concepts for his students. He then books laptops for the lessons if required, emails his students to bring their headphones along, and they can watch along in class.

Combining oxidation and reduction half equations to give a balanced overall equation (example video left for students during tournament week)

Matt has been increasingly requested to share his methods in different forums including at the #edchatnz conference which he had helped co-ordinate, and also to visiting Senior Leaders and Principals from the Independent Schools Senior Leaders Forum that toured the Christchurch independent Schools on the 16th September 2014. He summed up his approach to blogging and videoing his lessons with the following definitive statement:

It’s what I do now – it’s not going to change.

Students explaining the Law of Reflection