Assignment 2010
Assignment 2010
Assignment 2010
Dr M. Spann
3. Design Overview
There are a number of system components making up the overall application. This
is a demanding programming exercise and you should design your system in separate
stages with each stage undergoing thorough testing. Note, it is expected that you
include details of all testing in your report. You will need to implement the following
independent units of software.
Lift control system. This models the interaction between the sensors and
the lifts motor controller and moves the lift either up or down in order to
service user requests based on the sensor states at each of the floors and
the current direction of travel.
Graphical animation. This animates the lifts position, motion and sensor
states. Figure 1 is a screenshot of a suggested layout including the lift and
lifts sensor indicators on the floor and lift buttons and an animation control
button.
External event generator. This generates lift and floor button presses
according to some simple random event process. I would suggest that you
use a simple random process where lift service requests are generated with
a specified average time between them. We could model people entering
and leaving the lift as a separate random process but, since this has nothing
to do with the actual lift control mechanism, we wont.
5. Assessment
This coursework represents all of the assessment for this module. The assessment
will be based on a submitted formal report as well as my assessment of your
programs functionality. Please submit your program written using VS2008 (.NET
framework 3) on CD to accompany your report. Please include all of the solution
files under a single solution directory Make sure your CD has your name/ID on it in
case it gets separated from your report. I randomly check submitted code using
anti-plagiarism software (see below). Your program must run on the Schools
networked Visual Studio 2008. Even if you develop your application in Visual
Express, it is your responsibility to check compatibility with the fully installed
Visual Studio and please be aware we have had compatibility issues in the past.
The assessment form that I use is in appendix V so this should give you an idea of
the criteria I will use in marking your report. You should be aiming for a report
length of around 15 to 20 pages excluding appendices. I am happy for you to
include your code listing in an appendix but it is not obligatory. I do not expect you
to use formal design notation (such as UML) but you can if you are familiar with it.
Use pseudo-code to explain algorithm implementation (and not flow charts!) and
do not include explicit code snippets in your main report.
Finally, I am sure you are aware there is a lot of published code on the internet for
just about every application imaginable. If you are going to use downloaded code
for any part of this exercise, make sure you attribute it in your report
(referencing the URL is sufficient). Obviously your mark will reflect the amount
of original code in your program but you will not be penalised for using small
amounts of attributed downloaded code. If you use code from the internet (or
code from a colleague) without an adequate reference in the source text, this
will count as plagiarism. Any significant plagiarism will result in a zero mark
for the exercise. Also, if you submit the same or similar code to a colleague,
you will both receive a zero mark.
Key dates
Report deadline: Monday 6th December. Please hand in to the Postgraduate Office
by 12 noon.
Appendix I
Appendix II
Object-Oriented Programming and Design
Programming Assessment
Dr M Spann
Report Presentation
/10
Cover page
Page numbering
Grammar and spelling
Section layout
Figure labelling and clarity
Correct use of references
Program Design
/20
Program Implementation
/20
Program Functionality
/30
Testing
/10
Conclusions
/10
Total Mark
/100