Analyze a basic set of requirements for a problem
Compose basic C++ language programs
Create basic test cases for a program
Apply arrays, strings, and pointers
Declare and define constructors
Declare and define destructors
Compare and contrast public and private access specifiers in C++
Describe what is an attribute or data member of a class
Describe what is a method of a class
Apply and implement overloaded functions
Distinguish between pass-by-value and pass-by-reference
Discuss classes versus objects
Overview & Requirements:
For this assignment you will create a class to simulate a simple microcontroller called the Simpletron.
Building a microcontroller simulator is a fantastic way to build your understanding of how computers work. Deitel & Deitel have an interesting problem called the Simpletron and the Simple Compiler. Preview the section "Building Your Own Compiler"
In this assignment you will change the requirements of the Build your own computer discussion to create a class that will be the Simpletron. This class will encapsulate all of the operations of the Simpletron microcontroller. You may also want to include some code for the Fatal Errors.
By taking this approach you should be able to integrate a Simpletron into a standard text wrapper to run the computer. The external wrapper will then provide an interface to input and output from the microcontroller, load programs into the computer, run or step through the execution of a program.