Reference no: EM13542022
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.
Picture yourself in the castle of helms deep
: Picture yourself in the castle of Helm’s Deep from the Lord of the Rings. You are on top of the castle wall and are dropping rocks on assorted monsters that are 16.15 m below you. Just when you release a rock, an archer located exactly below you s..
|
What are the speeds and directions of the two balls
: A Rubber ball mass m movie at a speed of 1.0 m/s in the positive x direction hits another rubber ball of a mass 2m at rest. what are the speeds and directions of the two balls moving afterwards
|
Find the period of the subsequent simple harmonic motion
: A puck with mass m = 0.14kg slides along a frictionless horizontal surface at v = 5.9 m/s. It hits and sticks to the free end of a spring with k = 15 N/m. Find the period of the subsequent simple harmonic motion
|
The planet mercury has a mass
: The planet Mercury has a mass that is 5.00% of that of Earth, and its gravitational acceleration is gmercury = 3.70 m/s2.From what height would you have to drop the rock on Earth so that the fall-time on both planets is the same?
|
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.
|
What are her new near and far points
: A nearsighted person has near and far points of 11.0 cm and 20.0 cm, respectively. If she puts on contact lenses with power P=-3.00 D, what are her new near and far points
|
Determine the maximum barrier width
: A certain semiconductor device requires a tunneling probability of T=10^-5 for an electron tunneling through a rectangular barrier with a barrier height of Vo=0.4eV. Determine the maximum barrier width
|
What is the surface density of atoms for a plane
: If the lattice constant of the FFC structure is 4.75A, what is the surface density of atoms for a (100) plane
|
Determine what speed does the puck have
: A 200g hockey puck is launched up a metal ramp that is inclined at a 30° angle. What speed does the puck have when it slides back down to its starting point
|