Python for National 5 Programming Language

  • tim
    Participant

    Is anyone else going to be using Python for National 5? Has anyone found particularly good resources? Writing them all from scratch is quite a daunting prospect.

    dsemple
    Participant

    I’m writing a booklet for this. Hoping to finish it over Christmas. Will upload to the forum.

    Peter W Donaldson
    Participant

    We’re not using it for National 5 at the moment but I’m currently using Python from S4 to S6 for programming. There are a few things that you need to watch out for if you’re considering going down this route which are neatly summarised here

    http://codeboom.wordpress.com/2012/11/29/my-python-fails/

    I would also add that Python doesn’t really pass by value or by reference instead it passes by object reference with some objects mutable (their values can be changed) and some objects immutable (their values cannot be changed). This makes it difficult and error prone for students to pass out values from a procedure in the parameter list instead it’s probably better to teach them to create functions and to return values explicitly using the return keyword (both procedures and functions are declared with the def keyword).

    As for resources, you might find the following online textbooks for Python 3 useful although for the interactive textbook you’ll need to use a modern browser such as Chrome.

    In rough order of complexity for students
    http://programarcadegames.com/
    http://interactivepython.org/courselib/static/thinkcspy/index.html
    http://www.python-course.eu/python3_course.php

    Also for short bursts of basic coding practice you should consider using
    CodingBat (not with IE). Pupils can sign up for an account which lets them keep track of their progress.

    http://codingbat.com/python

    Stephen Stewart
    Participant

    Hi there I have been using Python this year with all years. We have stuck with version 2.7.3 as it still uses data types which we think could benefit the pupils when it comes to having to write their report and talk about the differences in languages.

    I have been working on a National 5 SDD booklet that teaches Python. It has many errors in it which need to be changed. Since the assessment materials have come out it has to be changed even more since some of the material is no longer needed. I will upload a draft rough copy for people to see. I will share this when it is finished and error free.

    tim
    Participant

    Thanks for the replies and the sharing of resources. There are quite a few resources on the CAS site as well (http://www.computingatschool.org.uk/).

    Peter, can I ask which language you are going to use for N5 if not python?

    Peter W Donaldson
    Participant

    After discussion with other members of the department it looks like we’ll be using Small Basic for National 4 and then Visual Basic .net for National 5. However that depends if IT are able to install and configure it correctly. The fallback position would be to use python 3 and a mixture of different activities from some of the resources I mentioned above for National 5.

    dsemple
    Participant

    I have uploaded my booklet for Nat 5 Python. Keen to refine it so comments welcome.

    Brian Avarl
    Participant

    I read the new material uploaded by S Stewart for nat 5 python and now I am totally unsure as to the language to use for the two levels – is python a suitable language i.e. does it match the course requirements – origionally I had planned on using VB Express 2010. I would appreciate hearing what the general thoughts are about which language to use are.

    Joseph Rainey
    Participant

    I was planning on a similar approach as Peter: Small Basic for National 4 with Visual Basic (2010 Express) for National 5.

    I’m not sure about Outcome 3, however. Is it acceptable to compare Small Basic and Visual Basic? It does say to compare two languages or environments.

    Peter W Donaldson
    Participant

    We’re planning on using a graphical environment as well as a text based one so for National 4 and 5 we’ll also be working through the Appinventor unit for Nat 4 and the Appinventor unit plus some additional exercises for Nat 5.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.