CIS 260 Computer Programming I

Program Requirements: LED Display

 

All sorts of devices and instruments in the "real" world need to display information to their users. An important part of these devices are digital displays.

Design and code a Java program that displays a single digit on the screen. Your digits should resemble those found on an LCD or LED clock.

The program should ask the user for the height of the number, and the digit to be displayed. GUI Dialog boxes for user input are acceptable, but not required.

During the Design Phase:

Think about how to make your code re-usable. What if we were writing a java clock program? How would this code for drawing a single digit be used?

Start with a UML Diagram for each of your Classes. Write a pseudocode algorithm of the steps to solve this problem, and construct a test set for the program following the guidelines discussed in class.

During Coding:

For this project it is OK to put all the code for testing (user I/O) in a separate DigitTest class with a single method main.

Project Deliverables:

Final Program: (All components in Presentation Format )
Problem Description
UML Class Diagram(s)
Algorithm
Test Set Design
Source Code
Sample Output