COMP11212 Exercise CorrectionPublished: Wednesday, 08 March 2017
I have noticed an error in one of the assessed exercises for this week.
I have noticed an error in one of the assessed exercises for this week. I apologise for this and hope that this has not caused any confusion.
The exercise with the mistake is 1.11 on page 13 which asks you to write a logarithm-base2 program in the while language. The constraints given on the outputs did not correctly capture the semantics of log2. If you are familiar with logarithms then it should be sufficient for you to ignore these constraints. Otherwise, the notes available on the course website have been updated with correct constraints.