Pushing ahead with Python

So this summer I’ve been coding in Python.

I’v decided to push this in my A Level classes more than learning VB.net, Javascript & PHP. Not because I don’t enjoy doing these languages, but that some students would struggle with switching between these. Perhaps code agnotism only comes with a maturity of having to learn different programming languages over the years?

Published
Categorised as News

Bitesize Revision for GCSE Computer Science






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

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

Python exercises in the browser from Data Camp



#use the variables below to print out "Hello Laura"
name = "Laura"
greeting = "Hello"

print out "Hello Laura"

name = "Laura"
greeting = "Hello"


print(greeting +" "+name)


test_function("print")
success_msg("Good stuff!")


Put variables into a print function

https://github.com/datacamp/datacamp-light-wordpress



#print the numbers 0 to 19

print the numbers 0 to 19

for i in range(10):
print(i)


for i in range(20):
print(i)


success_msg("Good stuff!")


Change the 10 to 20

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/

Basic Project: Building an Office Desktop Mini PC

Basic Project
Building an Office Desktop Mini PC (40 marks)

 

The Project Brief
Your task is to build a mini Desktop PC for use in
an office.
The PC is to be used for tasks like word processing letters, accessing databases and editing spreadsheets so it does not require any of
its components to be particularly powerful.

You have been given a budget of £500 to purchase the following hardware and software.

  •  a mini desktop case
  • Ÿ all the necessary components to fit inside the case
  • Ÿ a 15” flat screen monitor
  • Ÿ a keyboard and mouse
  • Ÿ stereo speakers
  • Ÿ an operating system
  • Ÿ applications software (word processor, spreadsheet and database)
  • The Report

    Your task is to search for all the required hardware and software and write up a
    report on your choices.
    Your report should include the following pages:
    1. A cover page which includes a title, your name and your class.
    2. An index page listing all the hardware and software you are going to
    purchase.
    3. A page for each of your purchases. Each page should include a heading, a
    picture, the price and a brief description of each purchase.
    4. A page listing the price of each device and a total for your purchases.
    5. A bibliography listing the websites you used during the project.

  • Teaching_Notes_for_Building_a_Computer
Published
Categorised as Computing