The University of Queensland Homepage
School of ITEE ITEE Main Website

COMP2303/7306 Assignments

Assignment One - due 11pm Monday 30 March, 2009

  • Assignment One Specification (35kB PDF)
  • Updates & clarifications (included in PDF file - highlighted in red):
    • 21 March 2009 - added clarification about the relevance of case when searching the grid and when printing unused letters
    • 21 March 2009 - added clarification about when the invalid grid line error message should be produced
    • 15 March 2009 - corrected example output: "FISH" -> "FITS"
    • 15 March 2009 - The list file can be assumed to be correclty formatted, i.e., error 2 need never be produced.
  • Submission site available
  • Sample solutions
  • Your Results
  • Mark Distribution

Assignment Two - due 11pm Monday 20 April, 2009

Assignment Three - due 11pm Saturday 16 May, 2009

  • Assignment Three Specification (47kB PDF) - updated 5 May, 2009
  • Clarifications - see updated specification PDF
    • 2 May 2009 - fixed usage error message that should be printed when command line arguments are wrong.
    • 3 May 2009 - fixed error printed when a name is defined more than once.
    • 5 May 2009 - clarifying when commands are printed - each command should be printed before execution - don't print all commands then execute all commands.
    • 5 May 2009 - clarifying exit status and what is printed when -depend option is given - errors 2 and 3 are still possible.
    • 8 May 2009 - there is a bug in the free_makefile_data() function supplied to you. To fix the bug, delete line 73 (free(targetPtr);). Note that you do not have to use this function in your solution.
  • You must use Subversion for this assignment. Your A3 repository exists on the ITEE subversion server and the Repository URL (which you give to your Subversion client (e.g. svn on agave) is https://svn.itee.uq.edu.au/repo/comp2303-sNNNNNNN/comp2303a3. (The comp2303a3 part on the end is a directory within your repository.) (Replace sNNNNNNN by your username. Replace comp2303 by comp7306 if you are enrolled in comp7306.) You can VIEW your repository contents at https://svn.itee.uq.edu.au/viewvc/comp2303-sNNNNNNN/.
    The username to use is sNNNNNNN@student.uq.edu.au
  • COMP2303 Subversion resources - includes ITEE Subversion guide
  • Initial files (already in your Subversion repository)
  • How to start
    • On agave, run
      svn checkout https://svn.itee.uq.edu.au/repo/comp2303-sNNNNNNN/comp2303a3
      You will br prompted for a password. This will create a directory called comp2303a3 within your current directory. Within this directory you will find the supplied files and you can "add" files/directories to the repository, "commit" changes etc.
  • Your Results

Assignment Four - due 11pm Friday 5 June, 2009

  • Assignment Four Specification (43kB PDF)
  • buffer.c
  • buffer.h
  • Subversion instructions
    One method to create a comp2303a4 directory in your repository is as follows. (You can type the sequence of commands shown in bold text - replace s1234567 with your username, and comp2303 in your repository name with comp7306 if you are enrolled in comp7306.)
    • mkdir comp2303a4 - Create a comp2303a4 directory
    • cp ~comp2303/a4/buffer.* comp2303a4 - Copy the supplied buffer.c and buffer.h files to your comp2303a4 directory
    • svn import comp2303a4 https://svn.itee.uq.edu.au/repo/comp2303-s1234567/comp2303a4 - Add the comp2303a4 directory and its contents to your repository. (Note that this doesn't make the comp2303a4 directory a working copy - you need to check the directory out as follows.)
    • svn checkout https://svn.itee.uq.edu.au/repo/comp2303-s1234567/comp2303a4 - Checkout a working copy of the comp2303a4 directory
    • cd comp2303a4 - Change into the comp2303a4 directory and add/edit/commit/etc files as appropriate.
    An alternative is to checkout the top level directory in your repository and then create and add the comp2303a4 sub-directory.