News

Grades awarded for those who did the Achievement Standard Programming assessment

posted 25 Apr 2016, 23:10 by peter thompson   [ updated 25 Apr 2016, 23:19 ]

For those who did the Achievement Standard Programming Assessment

Check the feedback document that I have shared with you as it now contains your grade. Best wished for the rest of the course. Work hard and you should do well.

Mr T.


Testing plan woes

posted 3 Apr 2016, 15:11 by peter thompson   [ updated 6 Apr 2016, 17:31 ]

Email me the URL of your program

  • Do this now.


Testing plan woes

I want you to copy and share the testing plan template, even if you have not written anything into it yet. Here is a list of students that have not shared their plans:
  • Daniel
  • Dylan
  • Henry
  • Michael
  • Tawin
  • Thomas
Several of you seem to have two testing plans. You only need one. Here are the names of those students:
  • Jonathan
  • Jordi
  • Mitchell
  • Peter W

When you think you have finished the assessment

posted 2 Apr 2016, 18:34 by peter thompson   [ updated 3 Apr 2016, 13:57 ]

Housework

  1. I have included the Testing plan for catch game in the list of resources in the last post. It will be a good guide when the time comes for you to do the testing plan for your program.
  2. I have made DGT1 folders for each of you in Google Drive. This is where you will put all your work for the year. You will find a folder called Programming unit in your folder. If you have not done so already (and this is most of the class) make a copy of the testing plan template and put it in this folder.

Add me as a coach on Khanacademy

  • So I can see your Khanacademy programs, including your assessment(s), add me as a coach. There is a coaches link on your Profile page once you have logged in to KA. You will need to enter this code: YKATTD

I have marked the Unit Standard programming assessment

  • Your marks have now been entered on KAMAR. If all three tasks are marked as completed in the spreadsheet I shared with you (link to it in navbar above) then you will have passed the assessment.

Finishing the assessment

  1. You have until the end of Thursday (7/4/16) to finish the assessment. I will start marking on Friday. In will create a shared Google Doc for each of you in which I will put feedback. You are to respond to this. Because we have got limited time until the end of term - one reason being you are going on camp - you may have to do lunchtime/study period work to finish up all you need to do to pass the assessment. 
  2. Carefully re-read the task instructions to make sure you have completed everything as you should have. Remember to do the testing plan and to share it with me.
  3. Email me the URL of your program. Those who have had difficulty in the past at getting me to see your programs (e.g. Josiah, Peter B) need to email me the code in the body of the email.
  4. When you have done points 2 and 3 then start the Intro to HTML/CSS Khanacademy tutorial (link in navbar above). By doing it you will learn valuable skills that you will be able to use next term when you make a website as part of a project.

Achievement standard help: Programs that we have done in class that will help you

posted 30 Mar 2016, 14:09 by peter thompson   [ updated 3 Apr 2016, 13:04 ]

Achievement standard help: Programs that we have done in class that will help you

Testing the catch game and collision detection

posted 28 Mar 2016, 16:11 by peter thompson   [ updated 29 Mar 2016, 17:42 ]

Those who feel they may not able enough to do the upcoming Achievement Standard assessment

  1. Look at the assessment documents on the studentread drive before you make your decision. The path is: S:\_DGT\DGT1\AS18739 Programming Assessment Documents. I have shared the Google Docs older that contains the document. Here is the link: Achievement standard documents
  2. If you think you can handle, or would like to try the assessment then continue with the testing exercise below.
  3. If you do not then start the Intro to HTML/CSS: Making webpages tutorial on the Khanacademy. There is a link to it in the navbar above. You will be creating a website by writing code with Mr Dewhurst next term and by doing the tutorial you will have the skills necessary to make a good website.

Testing the catch game and collision detection

  • Today we will look at testing the catch game using the same testing template you will use in the assessment. There is a link to it in the nav bar above. We are going to check to determine if:
    • The left and right arrow keys move the paddle in the left and right directions - expected input.
    • When the ball hits the top part of the paddle it returns to the top, just above the window (boundary case)its x position is random and within the window (boundary case), and 1 is added to the score (expected behaviour)
    • When the ball completely leaves the bottom part of the window it returns to the top, just above the window (boundary case)its x position is random and within the window (boundary case), and 1 is taken from the score (expected behaviour)
    • When the score reaches 10 a winning game over message is displayed and the game ends - expected behaviour
    • When the score reaches -5 a losing game over message is displayed and the game ends - expected behaviour
    • The square does not move, or anything else unusual happen, if a non-arrow key is pressed - unexpected input
  • Here is a link to the game that we are going to test. It is the same one we did as a class exercise: catch the ball game
  • If time allows we are going to look at one of the collision detection example on Moodle. Here is a direct link to it: collision detection between a circle and a square

The Square

posted 23 Mar 2016, 10:17 by Joe Bloggs   [ updated 23 Mar 2016, 14:02 by peter thompson ]

Catch game continued

We will finish off the catch game today. Here is a link to one I was working on. Note the comments inside draw. Make sure your copy has these comments.
Catch the ball game

Something to extend you

For budding game designers or coders. Click on image for large version:


Resubmits

posted 21 Mar 2016, 19:00 by peter thompson   [ updated 22 Mar 2016, 15:12 ]

Look at the spreadsheet I shared with you in the last post. Have you completed all work? Eleven have. The resubmit comments include information on what you have to correct. Most of it is minor and can be fixed up quickly. We will spend 20 minutes on this then move onto a class exercise that will set you up for the achievement standard.

Day 3 of US programming assessment

posted 19 Mar 2016, 14:59 by peter thompson   [ updated 20 Mar 2016, 12:09 ]

Day 3 of US assessment

  1. Look at this spreadsheet to see your progress: US progress results
  2. If you have submitted all your programs then continue with the Moodle course. For the next assessment you will need to know:
    1. How to print the value of a variable out on the screen.
    2. Move a circle using the arrow keys.
    3. Detect when it touches a boundary e.g. the edge of the output window.
    4. Detect when it touches a rectangle.
    5. Move/animate a rectangle backwards and forwards in the y direction, bouncing it off the top and bottom edges when it touches them.
    6. Increase the speed at which the rectangle moves when a particular condition occurs.
    7. These programs will help you:
      Shapes bouncing off a boundary: https://www.khanacademy.org/computer-programming/bouncing-shapes/2955491733
      Moving a ball using the arow keys: https://www.khanacademy.org/computer-programming/moving-a-ball-using-the-arrow-keys-1/6265894668861440
      Collision detection between a circle and a square: https://www.khanacademy.org/computer-programming/collision-detection-square-and-circle/605827206427443
  3. We will also go over a helpful exercise in class that should prepare you well for the assessment.
  4. Who wrote this comment at the top of their T-Shirt program?
    1. //Program Name:Assesment Program 1
    2. //Name:ISIS
    3. //Date:17/3
    4. //Version Alpha 0.15
    5. //Purpose To Make T-Shirt 

    6. //Here We Go :-)

Programs we have done as class exercises that will help you with tasks 2 and 3

I have separated out some of the code from class exercises to make it easier for you to understand what is happening in the programs.

Keyboard and mouse input and assessment

posted 16 Mar 2016, 12:11 by peter thompson   [ updated 17 Mar 2016, 18:51 ]

Keyboard and mouse input and assessment

Today we will do some class exercises involving responding to mouse and keyboard input and then we will start an assessment.

Link to program made in class: mouse and keyboard interaction


How to use for and while loops

posted 9 Mar 2016, 10:25 by peter thompson   [ updated 9 Mar 2016, 11:07 ]

  • Last class we looked at how to use for and while loops. Here is a link to the program that I made as a class exercise: How to use for and while loops. It is also in the Moodle course.
  • For examples of how to use while and for loops where the loop counter does not start at 0 and does not increment by 1 visit this link: While loop part 2
  • For loops are used to process array values, as in this example: Animated circles

1-10 of 25