Comp7023 CWK1 2024
Comp7023 CWK1 2024
Assessment cover
STUDENTS, PLEASE COPY THIS PAGE AND USE AS THE COVER PAGE FOR YOUR
SUBMISSION
LEARNING OUTCOMES
On successful completion of this module, students will be able to achieve the module following
learning outcomes (LOs): LO numbers and text copied and pasted from the module descriptor.
1. Design and create assembly language programmes, with an awareness of how assembly
programming differs from conventional programming.
Statement of Compliance
I declare that the work submitted is my own and that the work I submit is fully in accordance with the
University regulations regarding assessments (www.brookes.ac.uk/uniregulations/current)
In addition, the practical exercises of weeks 1, 2 and 3 (if you do them) will ensure that you are familiar
with the basics of assembler programming before you start on the coursework.
Your report will have all of your code (screenshots may not be used) in an appendix plus
extra documentation, as detailed below, in order given below:
This coursework is worth 40% of the module and is an individual piece of work – group work is not allowed
and the university rules concerning plagiarism, collusion and contract cheating apply. Harvard referencing
must be used where applicable. You will receive marks and feedback within three weeks of the submission
deadline.
Jonny has bought a fancy new computer to keep track of the new badgers and staff in his zoo. You have
been called in to create some new software to help Jonny organise the residents and staff in his wildlife
park. You will need to write a record keeping system to store information about all the badgers and
people in Jonny’s Zoo.
Unfortunately, there is a by-law in Brookeshire which makes all compilers and high-level languages
illegal. You will therefore have to write the system in assembly language.
Write a simple archive system to keep track of the badgers and staff in the zoo. The system must be
written in 64-bit x86 assembly language. This coursework is designed to assess assembly language
programming, thus submissions written in other languages will be awarded zero marks.
1. You must store the following information with each badger:
Badger ID (a unique identifier of the form bXXXXXX where XXXXXX is a 6 digit number)
Name (a NUL-terminated string of maximum size 64 characters)
Home sett (can be any one of Settfield, Badgerton, or Stripeville)
Mass in kg (to the nearest whole kg)
Number of stripes (in the range from 0 to 255)
Sex (M or F)
Month of birth (a whole number in the range 1 to 12 e.g. 1=January and 12=December etc.)
Year of birth (a whole number e.g. 2017)
Staff ID of assigned park keeper (which must be of the form pXXXXXXX as mentioned below but
it need not match a staff record)
5. All input and output should be to and from the terminal console. All data is held only in memory and
should be saved to or loaded from disk.
6. The user should be asked to input value currentYear when the program starts.