Documents List

  • Python Output as HTML (1.2k)  
    In category: Adv Higher.
    Uploaded by Greg Reid on 15/09/2020 . 322 downloads since then.

    I was asked this as a question last week so have put together a short example program showing how SDD could be integrated with WDD by using Python to create/write to an HTML file. This allows the output from the program to be nicely formatted when combined with some CSS. The file also shows how Python can automatically open the HTML file once its created.
    This example assumes that SDD is the major component of the project and WDD is the minor. The program would obviously have to meet AH criteria to be valid.

  • Object Oriented Concepts (406k)  
    In category: Adv Higher, OO programming.
    Uploaded by Magnus Latona on 12/05/2020 . 611 downloads since then.

    A booklet for teaching & learning of OOP concepts - built around Python examples. Useful resource to use with AH pupils and those teachers not already familiar with OOP. I've updated this booklet from last year's version to cover printing objects using the special method __str__().

    I intend to use this to formally cover OOP for a few lessons to lead in to using Greg Reid and David Stott's excellent Pygame OOP resources.

  • Teacher Tutorial for PyGame (2.8m)  
    In category: Adv Higher, OO programming.
    Uploaded by Greg Reid on 16/03/2020 . 372 downloads since then.

    I created this for CPD I delivered in Fife before I left teaching. I have used this as additional classwork as it provides another game example.

  • Pygame AH Course Booklet 2 (Tile Match) (7.1m)  
    In category: Adv Higher, OO programming.
    Uploaded by Greg Reid on 16/03/2020 . 269 downloads since then.

    Booklet 2 focusses on sub-classes, 2D arrays and multiple screens.

    You might have to wait a while for booklets 3 and 4. Started writing 3 four years ago, got half way through and other things took priority. I'll finish them one day. Had more fun writing this than anything else I've ever written.

  • Pygame AH Course Booklet 1 (Balloon Burst) (5.2m)  
    In category: Adv Higher, OO programming.
    Uploaded by Greg Reid on 16/03/2020 . 322 downloads since then.

    Orginally wrote this for previous AH course and sold it commmercially in UK and USA. Uploading now in case anyone wants to use with budding programmers when schools are shut (I've given this to tallented S3 pupils previously).
    If you want to use for current AH a bit of work may need done on terminology and UML diagrams.

  • AH 2019 SDD Analysis booklet (4.2m)  
    In category: Adv Higher.
    Uploaded by J McColgan on 25/11/2019 . 380 downloads since then.

    Apologies for any errors or typos. Incorporates SQA, older Scholar and Brian Clark's Use Case materials.

  • AH SDD Coding Problem 3 (341.9k)  
    In category: Adv Higher.
    Uploaded by Greg Reid on 21/11/2019 . 262 downloads since then.

    Last of these programming tasks. This one is fairly difficult so I'd advise to use it as a challenge task for able students and not as a normal class exercise.
    The task is based around the board game Go that I've been playing for nearly 40 years and has some fairly complex problem solving sub-tasks.
    Note that there is only one solution this time (took me two hours to code the example in Python and don't have time to do another I'm afraid). I wrote a recursive version of a similar program on my ZX Spectrum years ago. Have avoided using recursion this time as it's been removed from the course. Would be an interesting exercise for someone to do though 😉

  • AH SDD Coding Problem 2 (17.4k)  
    In category: Adv Higher.
    Uploaded by Greg Reid on 13/11/2019 . 183 downloads since then.

    Another 2D array task for AH.
    This one is just a wee problem solving exercise. Create a grid of 20 random values (4x5) where the numbers 1 to 10 appear twice.
    Note that this has been put into the scenario of a Primary maths game. This idea could be developed into an AH SDD project if the maths questions and answers were stored in a database table. (Could even have questions of varying diffiiculty in the database with the user selecting their level.) A bit of thought may be required on what standard algorithm could be included.

    I've included two very different solutions in Python. Note that I've used a simple 2D list. Were I doing this with an AH class I'd probably implement a proper array structure using the numPy module.

  • AH SDD Coding Problem 1 (18.1k)  
    In category: Adv Higher.
    Uploaded by Greg Reid on 07/11/2019 . 371 downloads since then.

    A small 2D array, OO task I created for the son of an ex-colleague that I'm tutoring this session.
    Two different solutions created:
    1) A 2D list is used simply to note where or not a square in the treasure hunt has been taken. A 1D list of objects stores the name, telephone number and x, y coordinates of the square they selected. The winner is chosen by doing a linear search of the list of objects looking for the randomly generated winning coordinates.
    2) A 2D list of objects stores the name and telephone number of the person that selected each square. The random winning coordinates are used to get the name and telephone number from the object stored at those coordinates.

    I'll try and write a few of these.

  • New AH PHP Materials (1.3m)  
    In category: Adv Higher.
    Uploaded by Mark Hay on 19/09/2019 . 309 downloads since then.

    Hi folks, I have put together a new set of PHP Tasks. It covers all of the PHO/HTML course content bar Media queries. It does not assume that candidates have covered the SQL content at AH level.

    If there are any issues please do let me know at m.hay@rgc.aberdeen.sch.uk , I have attached the SQL + solution files except for the summary task at the end.

  • Sorting Algorithms Game (175.4k)  
    In category: Adv Higher.
    Uploaded by Lucinda on 25/06/2019 . 197 downloads since then.

    Bubble and insertion Sort

  • Sorting Algorithms Game (175.4k)  
    In category: Adv Higher.
    Uploaded by Lucinda on 25/06/2019 . 136 downloads since then.

    Bubble and insertion Sort

  • 2018 Advanced Higher Paper (2.1m)  
    Uploaded by Alasdair Sharp on 25/05/2018 . 114 downloads since then.

    Scan of the 2018 Advanced Higher Computing Science paper

  • Adventure game skeleton code.doc (12.1k)  
    In category: Adv Higher.
    Uploaded by ianking on 31/08/2017 . 189 downloads since then.

    word version of 2-D array example from Scholar materials

  • adventure.zip (4.3k)  
    In category: Adv Higher.
    Uploaded by ianking on 31/08/2017 . 120 downloads since then.

    VB 2-D example from Scholar course

  • AH PHP Content V 1.1 (110.1k)  
    In category: Adv Higher.
    Uploaded by Mark Hay on 13/09/2016 . 328 downloads since then.

    Hi folks, this is some exercises aimed at the AH PHP content, I have also attached the SQL files to create/populate some of the databases.

    Has been written using mysqli and uses a similar approach to the Scholar exercises.

    Reuploaded due to small error in Ex8

  • AH CS SDD Pack 2 (v2.0 - 2016-08) - Python AHS (93.5k)  
    In category: Adv Higher.
    Uploaded by Peter Thoresen on 02/09/2016 . 346 downloads since then.

    SDD UASP Pack 2 in Python, with sample solution for Task 2

  • homework-1.docx (46.3k)  
    Uploaded by Tracy Rennie on 30/08/2016 . 417 downloads since then.
    I will add my homeworks that I used last session. I apologise for any plagiarism involved.
  • homework-10-answers.docx (42.7k)  
    Uploaded by Tracy Rennie on 30/08/2016 . 252 downloads since then.
    I will add my homeworks that I used last session. I apologise for any plagiarism involved.
  • homework-1-answers.docx (50k)  
    Uploaded by Tracy Rennie on 30/08/2016 . 280 downloads since then.
    I will add my homeworks that I used last session. I apologise for any plagiarism involved.