Bitesize Revision for GCSE Computer Science






I’ve created a podcast for GCSE Computer Science students to revise topics in small “bite size” chhunks.

I’m slowly releasing new episodes, but I’ve committed to doing an episode a week, as I realised people were actually listening to them.

You can either listen using the embed above or go direct to the page here, https://anchor.fm/bitesize-computer-science where you can leave an audio message, which I might include in a future podcast.

Published
Categorised as News

Visualise line by line code execution in Python

I stumbled across this website that allows you to visualise line by line execution ina Python program. This may be useful for students who are unclear about how a function (or blocks of code) run within a program:

http://pythontutor.com/visualize.html#code=def%20hi%28name%29%3A%0A%20%20%20%20print%28%22hello%20%22%20%2B%20name%29%0A%20%20%20%20%0Ahi%28%22bob%22%29%0Ahi%28%22jeff%22%29&cumulative=false&curInstr=8&heapPrimitives=nevernest&mode=display&origin=opt-frontend.js&py=3&rawInputLstJSON=%5B%5D&textReferences=false

This was recommended by Al Sweigart in his Automate The Boring Stuff with Python (https://automatetheboringstuff.com/)

Published
Categorised as News

FutureLearn – Object Oriented Programming in Python

I came across this course on the Raspberry Pi Certified Educators Course this October. It piqued my interest as it uses a text based adventure game to introduce OOP concepts to learners.

I had previously done this with an idea of a Space Invaders game using Visual Basic.NET. This was a fun introduction to concepts and it is easy to create classes and objects in VB. However my current cohort of learners are mostly unfamiliar with VB and have a better grasp of Python.

The course is written by Laura Sach, who I finally met at PiCademy after years of following her on Twitter. And I  thouroughly recommend it as an accessible way of understanding Object Oriented Principles in Python

https://www.futurelearn.com/courses/object-oriented-principles/

Poundland Pedagogy

We were asked to go to Poundland with £10 to spend on getting items that would help us teach a Computing lesson. My colleague and I chose to teach the fundementals of OOP and objects usin a selection of toys that we bought – eg some rubber balls, plastic cars, dinosaurs etc.

Here is the outline of teh mini lessonw e gave to our peers:

 

OOP – Classes, Sub Classes, Inheritance, Properties & Methods

STARTER Get toys out on the table

“What are all these items?” Answer – hopefully “Toys”

These items are all part of the Class of “Toys”

They have similar properties – you can play with them – what else??

What groups can you see here? Get toys and group them by type – eg cars, animals, soft toys

These can be called sub classes which inherit characteristics from the parent class

Pick up two cars.

These are both in the class “Car”

Eg Yellow car and blue car

“These are instances of Car – they are objects or the class Car”

We could name them “YellowCar” and “BlueCar” – or Car1 and Car2

Properties

Each car has properties – pieces of information about each car – eg

  • Color
  • Size
  • Number of Doors etc

Can you think of any others?

Properties are essentially static – you can’t easily change them – just read the value

Can you think of some properties of any of the other groups of classes?

E.g. Dinosaurs –

  • Size
  • Number of legs
  • Has it got spikes?

 

Challenge can you think of a property for the Toys superclass? (eg suitable age, material made of, needs batteries?)

Properties of the parent class are automatically “inherited” by the sub classes

So if the Toy parent class has a property of “suitable age” then the Cars classes will inherit it, so it will also have that property.

OOP-hierarchy

Methods

Methods are the actions that an object can perform

Eg A car can drive or stop

A Dinosaur can attack

A ball can bounce or be thrown

Using a flipped classroom approach for OCR A level Computing

flipped-classroom-bloomsFROM CAS http://community.computingatschool.org.uk/forums/23/topics/4687

Using a flipped classroom approach  come up with a delivery and assessment strategy to go with from September. We’re also busy making all the flipped classroom videos for every spec point for OCR H446/H046.

The videos are freely available on YouTube:

http://www.tinyurl.com/craigndaveyoutube

Please use them as you wish. They’re not all there yet, but they will be! New ones every day. The playlists will be useful.

These do go hand in hand with other resources we are making at www.craigndave.org

Sorry, some of it is subscription because we’re spending hours making this stuff when we could be in the sunshine! Seems only fair. Videos will always be free though and will be updated all the time to match new exam board guidance, past papers etc.

We hope some of you might find this useful.

Of course we are happy to take any feedback.

Mr C Sargent, Head of Computing Archway School – Stroud (Lead School NoE)

Published
Categorised as News