Introduction to Computing – B142L
B142L coursework assignment 2
Academic year
2011/12
COURSEWORK DUE DATE
May 6, 2012
Coursework may be submitted up until
midnight of the due date. The timestamp on the coursework submission page is final.
COURSEWORK DESCRIPTION
Write a C program that
emulates a simple LED panel display. The program must implement the required features below:
- Accept one input integer from standard input.
- Generate an image (JPEG format) or a movie (SWF format) which resemble a LED panel display of the input value (see examples below).
- Correctly process input values from zero to 9999.
- Print an error message to standard output when the input value is not supported by the program.
The suggested dimension of each LED digit is 60 pixels width and 100 pixels height. Students may choose a larger size.
The program must include
source code comments to explain the design of the program.
For example, the input below:
1290
Must produce an output similar to:
After successfully implementing the required features, students may
optionally implement one or more of the features below:
- Display output that resembles uppercase letters and/or lowercase letters.
- Provide user option to choose inverted background display.
- Provide a flashing LED using the SWF movie format.
As an example of the optional invert feature, the input below:
i1290
Should produce an output similar to:
This coursework contributes
35% to the B142L unit mark.
COURSEWORK SUBMISSION
Coursework must be submitted online using the Mosaic website. Programs
must be written and compiled using the
online compiler included with the coursework submission page for each student.
ASSESSMENT CRITERIA
| Marks | Criteria |
| A |
The coursework demonstrates:
- development and documentation of creative and effective algorithms to solve the coursework problem
- a capacity to describe, explain and implement a program design which is highly structured and efficient
- an ability to use C syntax and techniques which reflects considerations for performance and portability
- an ability to practice the software development life cycle as indicated by the history of saved versions for the individual Mosaic coursework page
- a willingness to find and use functions in the GD, SWF or standard GNU C libraries
- correct implementation of all required features and some optional features
|
| B |
The coursework demonstrates:
- development and documentation of effective algorithms to solve the coursework problem
- a capacity to describe, explain and implement a structured program design
- an ability to use C syntax and techniques with some awareness of performance
- an ability to practice the software development life cycle as indicated by the history of saved versions for the individual Mosaic coursework page
- a willingness to find and use functions in the GD and standard GNU C libraries
- correct implementation of all required features
|
| C |
The coursework demonstrates:
- development and documentation of algorithms to solve the coursework problem
- a capacity to describe and implement a structured program
- an ability to use C syntax correctly without errors
- an ability to practice the software development life cycle as indicated by the history of saved versions for the individual Mosaic coursework page
- an ability to use functions and libraries used in lectures, labs and examples
- correct implementation of all required features
|
| D |
The coursework demonstrates:
- development of algorithms to solve the coursework problem
- a capacity to implement a structured program
- an ability to use C syntax correctly, but, with a few minor errors
- earnest attempts to practice the software development life cycle as indicated by the history of saved versions for the individual Mosaic coursework page
- earnest attempts to implement all required features
|
| FAIL |
The coursework demonstrates:
- minimal effort to develop algorithms for solving the coursework problem
- minimal effort to implement a structured program
- minimal familiarity with C syntax
- minimal effort to practice the software development life cycle as indicated by the history of saved versions for the individual Mosaic coursework page
- minimal effort to implement the required features
|