IB Computer Science Year 2 Higher Level - August 24 2017 Lesson Notes: Difference between revisions
Mr. MacKenty (talk | contribs) |
Mr. MacKenty (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 19: | Line 19: | ||
** code the following PHP constructions: | ** code the following PHP constructions: | ||
*** condition, loop, array | *** condition, loop, array | ||
*** Write this application, It will essentially issue a fake parking ticket: | |||
<syntaxhighlight lang="html"> | |||
A car park has two barriers. One barrier is at the entrance, where tickets are issued, and one barrier is at the exit, where paid tickets are checked when cars leave. A display at the entrance, showing the current availability of spaces in the car park, is updated as tickets are issued and checked. | |||
The actions of issuing, paying and checking a ticket operate on the collection of objects, TICKETS, that is organized as a linked list. Each object holds the following information: | |||
Nr: ticket number (a progressive unique identifer) | |||
Date: date of issue | |||
Arrival: time of issue (in 24-hour format) | |||
PaidOn: date of payment | |||
PaidAt: time of payment (in 24-hour format). | |||
</syntaxhighlight> | |||
</td> | </td> | ||
Line 36: | Line 47: | ||
==[[File:target.png]] How am I being assessed today? == | ==[[File:target.png]] How am I being assessed today? == | ||
I will assess you formatively today, and make a professional judgement to what extent you understand our learning material. I will use observation, your written work, answers to questions, and contribution to class discussions as data to make my decisions. I normally record my observations in a "evidence of learning" spreadsheet, which I will happily share with you privately if you so wish. I usually need a day or two notice. | |||
</td> | </td> | ||
Latest revision as of 08:50, 27 August 2017
|
|
|
|
||
|
|
|
|
- ↑ IB Diploma Programme Computer science guide (first examinations 2014). Cardiff, Wales, United Kingdom: International Baccalaureate Organization. January 2012.