Mansfield University CIS3306 Project

Design of a Java Applet Computer Organization Problem Generator

John Phillips

bocaweb@hotmail.com

June 26, 2003

Summary

A Java Applet was created for use in the CIS-3330 Computer Organization course that I teach. Many students have problems with number conversions and terminology. This program quizzes students with problems that are randomly generated. The program is easily upgraded to other question types and topics by relying on an abstract Problem class and the use of polymorphism.

Project Deliverables

report - View the project report.

project demo - View the problem generator in action.

Diagrams and Code

class.gif - The UML Class Diagram

activity.gif - The UML Activity Diagram

project.html - code for the web page that launches the applet

Project.java - code for the Applet and GUI

Problem.java - code for the abstract Problem class

BinToDec.java - code for binary to decimal conversions

DecToBin.java - code for decimal to binary conversions

BinToOct.java - code for binary to octal conversions

OctToBin.java - code for octal to binary conversions

BinToHex.java - code for binary to hexadecimal conversions

HexToBin.java - code for hexadecimal to binary conversions

Terms.java - code for random terminology questions