Unit 11 Programming

Files and Resources for Unit 11 (Including worksheets and presentations)

Paper 2 will often throw questions asking you to evaluate statements. The following is the example taken from the exemplar paper. Here is a table giving pre-determined values.



The following question shows how each expression would be evaluated

The following is how each of these statements would be determined as input, process or output. Note that assignment is a process and input must come from an external source (the user, a file, sensor, etc). Item 4 may look like an output, but due to the concatenation, this involves processing before the output operation can happen.