Marie Simulator Programming Questions


All answers must demonstrate an understanding of problem and solution. Please show your work if you would like to receive partial credit. Explanations that are incorrect will affect your grade even if correct explanations are also present.



Giving or receiving aid in an exam constitutes a violation of the UCF Golden Rule and may result in penalties as described therein.


If plagiarism is detected your grade will be zero in this exam and a penalty of -40 will be applied to each one of the future programming projects and exams.






This exam has 8 questions








1.- [15 points] Give the symbol and truth table for the following gates: AND, OR, XOR, NAND and NOR. Do not forget to include the inputs and outputs wires.










2.- [15 points] If the binary code for LOAD is (0011), for ADD is (0010), for STORE is (0110), for JMP is (0001) and for END is (0111). Assuming a 16 bits format, write the object code (binary representation) of the following program:


Note: use 4 bits for the op-code and 12 bits for the ADDR.


LOAD <30>

ADD <25>

STORE <18>

JMP <9>








3.- Convert: [10 points]

  1. from (26)10  to (?)2
  2. from (2343)8  to (?)16
  3. from (0.6800)10  to (?)2
  4. from (0.111)2  to (?)10









4.- [10 points] Using binary numbers of 8 bits each, convert to binary and solve the following arithmetic operations using two’s complement representation:



  1. (13)10 – (25)10


  1. b) -(13)10 – (18)10


















5.- [10 points] Define the following terms: MBR and AC.



Try: 2 point.



































6.-  [10 points] Give the design, at the gate level, of a 2 inputs-4 outputs decoder, and using the designed decoder, give the design of a multiplexer at the gate level. You must give two separate designs: one for the decoder and another one for the multiplexer.
















7.- [10 points] Give the design (at the gate level) for a combinational circuit based on X2X1X0 +Y2Y1Y0


Test the circuit using the given values and indicate the inputs, outputs before and after each gate.




8.-   Using the assembly language of the tiny machine or MARIE assembly language, write a program that computes the following expression: z =  a * b * c.. The computer will read in the input values (a, b, c) from the keyboard, and all the input values and the final result (z) have to be displayed on the screen.  (20 points)


Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
The price is based on these factors:
Academic level
Number of pages
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more