Winter 2020
8 questions, 30 marks, 35% of final grade
- This test is open book, meaning you may have access to the course slides,
AVR data sheet, and AVR instruction set.
- You can even write Arduino programs if you want to. I have indicated
questions where this is acceptable, though it is by no means required.
- This test will be available between 4pm and 10pm on Monday, April 13.
Please make sure you submit no later than 10pm. Submitting past 10pm will
be considered the equivalent of continuing to write after “pencils down”
has been called in a classroom exam.
- You may print this test and fill it out by hand, or you may download it and
fill in your answers in a text editor. Just ensure your answers are legible, and
your submission is in a common digital format (images, PDF, docx, etc.)
- There is one question per page, but this in no way indicates how much I
expect you to write. One mark per sentence or thought, just like the
midterm. You don’t have to write essays.
- Despite being open book and completed from home, this is still an exam,
and all academic integrity policies are in full effect. You may use only the
materials approved above. You may not phone-a-friend, you may not ask
the audience. All your work must be your own.
Last Name: _____________________________________
First Name: _____________________________________
Student ID: _____________________________________
Signature: _____________________________________
This study source was downloaded by 100000899606070 from CourseHero.com on 02-23-2026 01:11:47 GMT -06:00
https://www.coursehero.com/file/85672920/CCPS-310-Final-Examdocx/
, 1. (3 marks) In ARC, arithmetic operations take the form:
Rd <- Rs1 op Rs2 (i.e. R3 = R1 + R2)
In AVR, on the other hand, they take the form:
Rd <- Rd op Rr
Where the destination register is the same as one of the operands. Explain why this
must be the case in AVR, but not ARC.
This study source was downloaded by 100000899606070 from CourseHero.com on 02-23-2026 01:11:47 GMT -06:00
https://www.coursehero.com/file/85672920/CCPS-310-Final-Examdocx/