Preview

Little Person Computer: Instruction

Satisfactory Essays
Open Document
Open Document
556 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Little Person Computer: Instruction
Assignment # 1 September, 11, 2013

What instructions would you need to give the Little Person Computer to subtract the number 125 from the number 400?

Step #
Instruction
The way the little person should function
1.
GET
Gets the first number(125) and places it in the calculator
2.
STORE 72
Stores the number input first into Mailbox numbered 72
3.
GET
Gets the second number from which the first number is to be subtracted, from inbox and places it in the calculator
4.
SUB 72
Subtracts the first number from the second-- 400-125=275
5.
PUT
Prints the result that is, 275 on a piece of paper and puts it in the out box.
6.
STOP
Stops and Rests

Which number must you enter first to make your program work properly?

Please refer the grid below.

Number entered First
Number entered Second
Reason
125
400
By standard definition of the SUB instruction, the SUB instruction subtracts the number written on the paper(In this case 125) in one of the mailboxes(in this case mailbox 72) from the number currently in the calculator(In this case which is 400)

Assignment # 2 September, 11, 2013

Assignment Question:
Now that you are an expert computer programmer, this second software assignment is simply to write down the instructions for making a peanut butter and jelly sandwich. (Note: the word limit does not apply to this assignment.)

I have made some critical assumptions such that the steps for the preparation of peanut butter have no ambiguity. Following are the assumptions:

Assumptions:
Any type of bread, peanut butter or jelly can be used.
The breads available are sliced.
There are at least 2 bread slices.
The user by following the instructions will be able to make the Peanut butter and jelly sandwich in one try.

You May Also Find These Documents Helpful

  • Good Essays

    Est1 Task 4

    • 1193 Words
    • 5 Pages

    Because of the delivery situation outlined in task 4, the manager of the store decided to look to other options to best use the supplies he has been sent. In this task calculations were performed to see which one type of nut mix was the most appropriate to make to use up as many of his nuts as possible.…

    • 1193 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    Nt1310 Unit 3 Maths

    • 552 Words
    • 3 Pages

    When addition or subtraction is performed, answers are rounded to the least significant decimal place.…

    • 552 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Nt1110 Unit 3 Assignment

    • 479 Words
    • 2 Pages

    Modern electronic calculators contain a keyboard with buttons for digits and arithmetical operations. Some even contain 00 and 000 buttons to make large numbers easier to enter. Most basic calculators assign only one digit or operation on each button. However, in more specific calculators, a button can perform multi-function working with key combination or current reckoning…

    • 479 Words
    • 2 Pages
    Powerful Essays
  • Satisfactory Essays

    Making a peanut butter and jelly sandwich is easy when following these simple instructions. First, make sure all the necessary ingredients are present, then unscrew the lids to both the peanut butter and jelly jars, and set the lids down. Next, pick up a knife and dip the pointed end into the jar peanut butter. Spread the peanut butter onto one of the slices of bread. When the desired amount has been spread, wipe any excess on to the other piece of bread. Now, dip the same knife into the jar of jelly, and spread the desired amount of jelly on to the other piece of bread. Finally pick up both pieces of bread and stick the peanut butter and jelly sides together. Now the sandwich is finished an ready to be eaten.…

    • 133 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    -When addition or subtraction is performed, answers are rounded to the least significant decimal place.…

    • 2130 Words
    • 9 Pages
    Good Essays
  • Satisfactory Essays

    7. A user has opened a calculator application, typed the numbers 123456789, and then done some math problem using…

    • 418 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    First, start the Windows calculator by clicking Start and then clicking Run. Enter calc in the Open…

    • 705 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Intro to Computers

    • 609 Words
    • 3 Pages

    | Allows users to organize data in rows and columns and perform calculations and recalculate when data changes.…

    • 609 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Pb&J Sandwich

    • 263 Words
    • 2 Pages

    Preview: Making a peanut butter and jelly sandwich involves three basic steps: having the ingredients, assembling the sandwich, and packaging the sandwich.…

    • 263 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    IT Level 3

    • 1133 Words
    • 6 Pages

    The program tells us how to multiply the numbers that are put above, e.g. found coins = 20, magic coins =10 and stolen coins =3 which are from lines 1-3 and line 4 shows us a question which consists of those numbers. Line 5 shows us that stolen coins value is now 2 instead of 3 and line7 shows us that magic coins has also changed its value from 10 to 13.…

    • 1133 Words
    • 6 Pages
    Satisfactory Essays
  • Good Essays

    J.J Reddick

    • 809 Words
    • 4 Pages

    Step 2: Since the digit to the right is 5, we add 1 to the digit in the hundredths place and delete all digits to the right of the hundredths place.…

    • 809 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    What is the most important difference between a computer and a calculator? [RQ, no. 2]…

    • 1161 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    C Program

    • 767 Words
    • 4 Pages

    What does the operation shown above produce? a.) 1 b.) 6 c.) 8 d.) 14…

    • 767 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Youtube Success

    • 2560 Words
    • 11 Pages

    Lets just throw in some step by step method here to make it easier to get through.…

    • 2560 Words
    • 11 Pages
    Powerful Essays
  • Good Essays

    mcdonalds principles

    • 602 Words
    • 3 Pages

    perspective on these puzzles are (a) use zero as your starting number, or (b) don’t pick a starting number, just call…

    • 602 Words
    • 3 Pages
    Good Essays