The blog has been a bit quiet over the past 12 months as I've been working on a new book entitled "Teaching Computing in Secondary Schools". It is due to be published in autumn 2017 by Routledge and a sample extract is below.
I will also be presenting on curriculum planning in computing at the Computer Science in action conference on November 17th. The event is hosted by The Guardian Education Centre and Further details here.
This article originally appeared in Terry Freedman's Digital Education Newsletter in July 2016 and was published to his site in October 2016 . I was invited to write an article to discuss my experiences of teaching Computing over the last ten years. I am grateful to Terry Freedman for his editorial advice and for providing a platform for the original article. It is reproduced below as it appeared in the Digital Education Newsletter.
“ Nothing fails like success because we don’t learn from it. We learn only from failure” –Kenneth Boulding
Digging in
Looking back on the last ten years, I’ve learnt a significant amount about teaching and pedagogy. Based on Kenneth Boulding’s statement, this implies that I’ve failed on numerous occasions whilst teaching Computing. This is true and these mistakes are something I’ve learnt to embrace and reflect on somewhat obsessively.
Doug Lemov, in his brilliant book Teach Like a Champion*covers a technique called “Excavate Error”. He encourages teachers to “Dig into errors, studying them efficiently and effectively, to better understand where students struggle and how you can best address those points”. I think there’s great mileage in this technique, not only to help our students but also to help ourselves as reflective teachers. In this article, I will look at five mistakes I made whilst teaching Computing.
Mistake 1: Making learning easy and effortless
During my first year of teacher training, I visited many classrooms. At the time, I was lucky to be in a school with more than ten Advanced Skills Teachers (ASTs). These were excellent teachers with a subject specialism, who had chosen to continue to develop their teaching in the classroom, rather than pursue pastoral or managerial leadership roles in school. Needless to say, these teachers had impeccable behaviour in their classrooms and the students seemed to be progressing at an impressive rate; naturally then they possessed a somewhat revered status.
I remember going into one Religious Education class run by one of the school’s ASTs, Joanna. The class was studying Buddhism and in order to get them to empathise with Buddhist meditation, she asked them all to close their eyes and for five minutes, the students meditated in silence. I had just come from a lesson in which it took more than five minutes just to get my students logged on and facing the board! The students then returned to the present moment and wrote in silence for 10 minutes about their experience and why they thought Buddhists chose to meditate several times a day. I was impressed and for many years, I aspired to be just like Joanna, running a silent classroom where everyone was “working hard”.
To facilitate this hard work, I thought that I should help my students by making the challenging tasks easier. By scaffolding all the tasks so that they could complete them effortlessly. I held the false belief that effortless perfection was what a teacher should be aiming for. The reason this was such a big mistake is that quiet classrooms are a very poor proxy for learning. Graham Nuthall discusses the challenges of knowing what students have learnt in his book, The hidden lives of learners*. Dylan Wiliam would argue (based on a course I attended) that a quiet classroom could simply be one where nobody is being stretched, where students are bored or where students are afraid of taking risks. Paul Black and Dylan Wiliam’s work on formative assessment and assessment for learning in Inside the Black Box* and, especially, Embedded Formative Assessment*, tells us that the best proxies for learning need to make the learning visible. A few solutions that they suggest are using mini whiteboards, exit tickets and traffic lights to quickly see what the students are thinking.
Mistake 2: Should learning be easy?
The second mistake I made was thinking that learning should be easy. The Sutton Trust commissioned Coe et al to perform research on What Makes Great Teaching and found that:
“One paradoxical finding is that some approaches that may appear to make learning harder in the short term, and less satisfying for learners, actually result in better long-term retention.”
Mistake 3: Too helpful by far?
The third mistake I made was scaffolding the learning for students with Low Prior Attainment (LPA) and then allowing them to become reliant on the scaffold for the remainder of the year. I remember printing out step-by-step worksheets for many students whilst teaching Spreadsheets, Databases and Control and the students would become reliant on these worksheets. Every lesson, students would ask for the worksheet, without trying the task first. David Didau and Oli Knight advise that in order to develop independent learners, scaffolding should only be provided if there is a plan for taking this away later on in the unit of work.
Moving on from there, I now accept that lessons and learning may not always be effortless and smooth. I accept that students might struggle sometimes. Many concepts in Computing are quite abstract. Explaining the difference between a For Loop and a While Loop for example or explaining the use of Master Slides in presentations are both quite challenging concepts to grasp. However, I have taught my students to embrace the challenges, struggles, setbacks and mistakes; it shows that we are trying hard and therefore learning.
To make my students more independent, I ask them to use the SPOT framework:
• Self – Try solving the problem independently
• Peer – Ask your peers sat near you
• Other – Research the solution using other resources e.g. Online, video tutorials, worksheets and notes
• Teacher – Lastly ask your teacher.
Other teachers use the 3B4Me model which is very similar, going through the Brain, Buddy, Book and lastly Boss.
This helps students become more independent and whilst the scaffolding might still be provided through a video tutorial which can be made using free software such as Open Broadcaster Software (OBS), these tutorials or worksheets are the third option, only after they have tried solving a problem themselves and also attempted to get help from their peers. Examples of YouTube tutorials that I use in my lessons can be found here.
For many Computing teachers, they are teaching skills which they are already unconsciously competent. At this level, we might be considered experts and the expert’s trap is to attempt to teach something without explaining it fully. Collins et al. wrote a paper about Cognitive Apprenticeship in 1991, where they state the importance of making the thinking visible by thinking out loud.
In applying this to Computing, many of the tasks we do and know are implicit. An example of this is closing a tag in HTML as soon as we open it. However, unless we make these implicit habits explicit, our students will be lost as they will not be able to make the invisible conceptual leap that exists in the minds of their expert teacher.
Mark Guzdial, Professor in the College of Computing at Georgia Institute of Technology suggests that we should also teach the misconceptions. Predict misconceptions, test students on these misconceptions and teach them where they are likely to fail. This way, students can learn from our mistakes and we can minimise the number common mistakes that students make when learning these skills. He references Phillip Sadler: http://news.harvard.edu/gazette/story/2013/04/understanding-student-weaknesses/ “If teachers are to help students change their incorrect beliefs, they first need to know what those are…The results showed that students’ scores showed the most improvement when teachers were able to predict their students’ wrong answers.” -- Philip Sadler
In Computing lessons, I now try my best to model not only a skill but also my thinking. Thinking aloud feels very unnatural at first, but the gains are immediate and will be apparent in all lessons where you model the new skills well. Frequently, when I reflect on lessons which went less well, I realise that there was an issue with my modelling in that I forgot to think out loud and my students were lost in the silence of clicking and demonstrating.
Computing=Programming=Coding
The media frequently use the terms “Computing”, “Computer Science”, “Coding” and “Programming” interchangeably and most headlines about the curriculum reforms in the UK have used these words synonymously. This distorts the reality that programming is a skill which all Computer Science students will need to learn, but it is not the only skill which is required in Computing. Programming pedagogy is an important part of a teacher’s Pedagogical Content Knowledge. However, equally important are other key software applications and the theoretical subject knowledge which the Computing curriculum is built on.
Mistake 4: An emphasis on the programming language
When I first started teaching at my current school, I focused a lot of time and energy in teaching students how to program using Python. That was the programming language that they would eventually use for their GCSE controlled assessment which would make up 60% of their GCSE grade (for non-Brits: GCSE is the General Certificate of Secondary Education, which is usually taken in several subjects at 16 years of age. It is a school-leaving certificate, or a passport to further study).
This decision was somewhat shortsighted, because what I realised is that the programming language is not the most important thing, neither is syntax. As I reflected back on two years of teaching programming with Python, I realised that the key threshold for learning how to program and to pull students out of liminality (transitional/borderline stage) is in teaching the students the importance of logical thinking. The key to ensuring that a program works (regardless of the programming language) is the logic and the Computational Thinking. Teaching students the process of how to break down a real-world problem down into a problem that can be computed is the key to successful programming. This is where the focus should be when teaching students how to program.
Mistake 5: Not seeing the bigger picture
However, this in itself only solves part of the problem. In 2015, the qualifications regulator for England, Ofqual announced a curriculum reform which resulted in all Computer Science Controlled Assessment from 2017 onwards to be worth only 20% of the grade. Fortunately, by then I had realised that I should be focusing on other skills, concepts and knowledge besides Computing and had started to build a more-balanced curriculum map.
In designing a Computing curriculum, I have learnt not to focus too much on trends and exam boards. But instead to produce a more-balanced curriculum which will provide students with the ability to use digital technology creatively and independently. There is still a need to plan backwards from terminal exams, however the way in which we do this has to be measured and has to ensure sufficient spacing and interleaving of content. Medium term planning is itself a significant area which cannot be covered in sufficient detail in this post. However, it is something which I am happy to advise on by email or in-person. I will also be dedicating a chapter of my upcoming book to the topic.
Conclusion
To close, I would encourage all teachers to keep reflecting on their teaching, to embrace and learn from the setbacks, challenges and mistakes that we encounter every day. I’d also like to thank all the teachers that have helped me become a better Computing teacher. There are countless teachers within the Computing at Schools Network. However those that deserve a special mention (in alphabetical order) are the following. The links given are for their Twitter profiles.:
William Lau is the Head of Computing at Greenwich Free School. Having trained through the Teach First program in 2006, he has taught Computing from Key Stages 1 through to 5 in two London schools and in an international school in Seychelles. William is currently writing a book on Computing education and pedagogy.
To enjoy further insights from William, follow him on Twitter: William Lau.
* Links marked with an asterisk are Amazon affiliate links.
Three years ago, the landscape for ICT teachers in the UK
began to change. I realised that I would need to adapt to teach Computing,
specifically Computer Science as the policy documents seemed to suggest that
this was where the future of ICT was going. I’ve spent the last 2 years
teaching Computing with a strong bias towards teaching Programming. This is
what I’ve learnt so far.
Rote learning and testing
Some things are best learnt by rote. Programming is not one
of them. Multiplication tables and French irregular verb endings are something
which you will just have to remember. However, a function to calculate a
multiplication table in Python is not something that any professional
programmer would spend time memorising by rote. I remember when I first tested
students, I expected them to produce working programs without referencing their
prior programs or even using the Web. This is how controlled assessments and
exams work in (say) Science so why not Computer Science. The reality is that,
it’s not realistic or indeed necessary for 11 year old students to remember the
exact syntax for sequences, selections or iterations. It’s not necessary at
GCSE or A-Level (or even for professional programmers and software developers) to remember their past
solutions. I did not know about this until I went on exam board training!
My leveraged observation coach had once advised me to use
SPOT to make students more independent and I now consider it a vital tool for
teaching programming.
Self-Persevere, be resilient and keep
debugging because every failure is one step closer to success
Peer-Use your peers, ask the people sat
next to you. Other-Use other resources. All good
programmers use their old code, websites (including Youtube), documentation and
forums. Because there are very few problems which other programmers haven’t
tackled already. Teacher-The teacher is your last resort!
He or She will be understanding and helpful provided you have exhausted all the
steps above.
Expecting students to produce the same correct answer
In many Sciences, there is only one correct answer. Computer
Science deceives us in that there is rarely only one correct answer! Linked to
the previous mistake I made, I spent a lot of time in my first year by
focussing on the correct solution.
Too much programming and too soon!
I was anxious to teach my students programming in their very
first term in Year 7 for fear that they would not be able to complete their
Controlled Assessment in three years’ time. Looking back, it is quite surprising that
despite my insistence on drilling the importance of Python syntax, indentations
and parentheses, my students still loved programming. I think it was because of
the way the subject was sold. They knew that very few 11 year olds across the
country were also writing programs using Python at the time.
Whilst learning a programming language is an important part
of Computing, something else needs to come first! My students were generally
enthusiastic and enjoyed programming, but the focus was all wrong. JeannetteWing and Mark Dorling frequently speak about Computational Thinking and it is only after two years that the
penny finally dropped for me.
In Mark Clarkson’s unofficial guide to Teaching Computing he
provides the following advice for new Computing teachers:
"For the first
half-term we do nothing but logic problems without going near a computer
(search CAS Online for good examples) and in the second half-term we look at
basic Python programming, covering input, output, variables, assignment, if
statements and loops (WHILE and then FOR)…"
Jonathan Torbitt’s curriculum also reflects this, with a
focus on problem solving first and programming syntax second:
Many other successful departments follow this approach of
teaching the problem solving through Computational Thinking before teaching any
programming.
In summary, do not rush to teach students the syntax to a
programming language. Teach them decomposition-how to break down problems into
smaller ones first decomposition. Then see if they can recognise any patterns-have
they solved something similar before? Is there any repetition within the
problem? Get them to strip away un-necessary detail and form a general
model-this is called abstraction. Lastly, before students start programming,
they need to plan their algorithms i.e. they need to solve the problem by
planning it step by step.
Planning for success instead of failure
We all write assessments and then test it out on ourselves
to see if we can do it, we’re planning for success and expect students who work
hard to score 100%. Yet when students fail, we wonder why and we wonder why
they all make similar mistakes. Mark Guzdial has applied an alternative
approach based on Philip
Sadler’s research at Harvard University. This approach involves the teacher
completing an assignment themselves and trying to figure out what are the most
likely wrong answers i.e. the most common ways in which students might fail or
misinterpret a question. Essentially, what you’re doing is finding out all the
common misconceptions and planning for these in your teaching. Philip Sadler’s
research suggests that this one skill is what differentiates the best teachers
from the rest:
“If teachers are to
help students change their incorrect beliefs, they first need to know what
those are…The results showed that students’ scores showed the most improvement
when teachers were able to predict their students’ wrong answers.”- Philip
Sadler
Only rewarding success
“The first thing to
realise is that programming is a difficult and different skill. Students are
not used to struggling, solving their own problems or repeatedly failing. They
have spent 10 years or more learning to give the correct answer, and if they
didn’t know it, then to learn it…
…In programming, students need to try, to
fail, to realise that the sky has not fallen on their heads and to try
something different. It is incredibly difficult to watch a student struggle and
not dive in with the answer, but the process, the techniques and the strategies
are far, far more important than simply getting a program that does what you
want.”-Mark Clarkson
Computing is a unique subject in that you will spend more
time failing than you do succeeding. Mark Guzdial’s advice is to create an
environment where it’s OK to make mistakes. Let students know that even their
teacher will make mistakes. David Batty
likewise emphasises how important it is to fail in front of your students and
not to over-plan your code so that it is bug free. Do the programming live and
debug it live. Nobody in the world can program without making mistakes. Mistakes
are teachable moments; Guzdial goes on to state that you should then talk through
your debugging slowly- This is what I thought, this is what I want the code to
do, this is what I will try next. Referencing Collin’s research on CognitiveApprenticeship, Guzdial states that thinking
aloud plays a pivotal role in helping students become better programmers.
Karen Hume takes this rewards approach further by stating
that we should reward less and celebrate
more. Rewards can create a ceiling; once a student has been rewarded for
success, they stop because they see success as a destination instead of a
journey. Rewards also signal that the learning has not intrinsic value. By
praising effort and celebrating student’s debugging, we’re more likely to
develop successful programmers with a growth mindset.
1) Start Small. This is probably the
single biggest piece of advice for programmers at every level. Of course it’s
tempting to sit down and crank out an entire program at once. But, when the
program – inevitably – does not work then you have a myriad of options for
things that might be wrong. Where to start? … How to figure out what went
wrong?... So, start with something really small. Maybe just two lines and then
make sure that runs ok. Hitting the run button is quick and easy, and gives you
immediate feedback about whether what you have just done is ok or not. Another
immediate benefit of having something small working is that you have something
to turn in. Turning in a small, incomplete program, is almost always better
than nothing.
2) Keep it working. Once you have a small
part of your program working the next step is to figure out something small to
add to it. If you keep adding small pieces of the program one at a time, it is
much easier to figure out what went wrong, as it is most likely that the
problem is going to be in the new code you have just added. Less new code means
it’s easier to figure out where the problem is.
This notion of Get something working and keep it working
is a mantra that you can repeat throughout your career as a programmer. It’s a
great way to avoid the frustrations mentioned above. Think of it this way.
Every time you have a little success, your brain releases a tiny bit of
chemical that makes you happy. So, you can keep yourself happy and make
programming more enjoyable by creating lots of small victories for yourself.
We cannot expect eleven year olds to learn the same as we
learnt at degree level or whilst programming in the real world. Providing a
lecture and then expecting students to apply this material in the lab is a
highly ineffective way to teach programming at Secondary school. The pedagogy
for teaching programming is completely different. Guzdial’s research shows that
3 things certainly work: Paired programming, Peer Instruction and Media
Computation. Clarkson has found that the following works well in his classroom:
Regular programming
homework tasks and paired programming challenges during lessons ensure that
students keep practising, and in a safe and secure environment where it is OK
to fail. In fact failure must be celebrated as it means the student in question
has moved one step closer to a solution.
Balance and flexibility
Computing != Computer Science
Computing consists of three strands, Computer Science,
Digital Literacy and Information Technology. I knew this as I spent a whole
year meeting Teach First ICT teachers in a focus group setting and we
established that teaching only one of the three strands would be short-changing
our students. The current Computing Curriculum also reflects this with all
three strands equally weighted.
With exam pressure however, I have undoubtedly spent 70% of
the year teaching Computing, specifically the OCR syllabus for GCSE Computer
Science. My rationale was that if they start in Year 7 or 8, by Year 11 they’ll
be flying. Luckily, I started early and have had ample time to learn from my
mistakes! The biggest mistake has been teaching to the exam, the assessments
change and even our department’s GCSE options have changed. Having visited
three successful Computing departments, I have learnt that it is important to
offer a balanced curriculum from Key Stage 3, all the way to Key Stage 5. In
September 2016, we’ll be offering GCSE ICT alongside GCSE Computer Science and
as a result, I will be re-planning Key Stage 3 to reflect this. I know that ICT
won’t last much longer in its current state but this serves as a reminder to be
flexible; plan for balance and plan for change.
Most of this post is about Pedagogy and is based on my own
experience and the articles/videos linked throughout the document and below. I
wrote a similar end-of-year reflection post last year which focussed on the
logistics and practicalities of setting up a Computing department, you can read
about that here.
Many teachers have come to realise the power of metaphors. If this is not something you've tried or if you are slightly skeptical, I highly recommend this blog post by Alex Quigley (@HuntingEnglish).
I've found metaphors particular helpful in Computing as there are so many abstract ideas and concepts. Metaphors, analogies and similes certainly make these concepts much more accessible to our 11-13 year old students!
I've started creating some slides to document these and invite other teachers of Computing to contribute.