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

  • 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

    Have you ever wanted to make the most amazing sandwich with little effort and great taste. Well, here is how to make a Peanutbutter and jelly. All you'll need is a little time, an egar stomach, and a few items from your local market and kitchen.…

    • 411 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    It 210 Checkpoint

    • 374 Words
    • 2 Pages

    In one of the week 3 discussion questions we discussed the algorithm that would be required to make a peanut butter sandwich. In this CheckPoint you will need to take that one step further and create a program design to make a peanut butter sandwiches. Below you will find a partial program design; you need to complete it by adding the pseudocode in the required areas. You need to add one repetition (loop) control structure and one decision control to complete the program design. The user will decide how many sandwiches are made; this is where the loop will be used. The user will decide if the sandwich includes jelly, and, if it does, what flavor of jelly; to keep it simple we are only allowing grape or strawberry jelly.…

    • 374 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Pb&J Demo Speech

    • 645 Words
    • 3 Pages

    Specific Purpose: To demonstrate to my audience how to make the perfect peanut butter and jelly sandwiches.…

    • 645 Words
    • 3 Pages
    Good Essays
  • Good Essays

    How to make a perfect peanut butter and jelly sandwich. A peanut butter and jelly sandwich can make a satisfying snack or a toasty meal. A favorite for kids, peanut butter and jelly sandwiches are great for lunchtime and can be easily packed up to travel to school and on trips. The sandwiches are incredibly easy to make even if you aren’t skilled in the kitchen, you can undoubtedly make a perfect peanut butter and jelly sandwich. What you will need. A single peanut butter and jelly sandwich does not require a lot of ingredients, nor does it necessitate much equipment. Ingredients would include sliced bread, peanut butter, and jelly. Equipment you will need, a blunt knife and a plate. You have a lot of options when it comes to the types of bread, peanut butter, and jelly you can use in your sandwich. Bread, you could use white, whole wheat, rye, or multi-grain. Peanut butter, smooth peanut butter, crunchy peanut butter, all-natural peanut butter, or you could make your own peanut butter. Jelly, For a classic flavor, choose either strawberry, raspberry or grape jelly for your sandwich. Cranberry jelly provides a tart flavor that complements the peanut butter well. Once you have all your ingredients, you’re ready to put the sandwich together. Put two pieces of bread on a plate. Spread peanut butter on one slice of bread. The amount of peanut butter you add is up to your personal preference. Place a dollop of jelly on the second slice of bread. Spread it evenly across the piece. Put the peanut butter slice on top of the jelly slice, with the dry sides of the bread facing outwards. Now that you’ve assembled your peanut butter and jelly sandwich you have a few serving options to consider. You could slice the sandwich into two halves, cut the sandwich into quarters. For a lighter sandwich, cut off the crusts. For more nutritional value, leave the crust on the bread. For a crispier snack, toast the bread before assembling the sandwich.…

    • 343 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Pb&J Essay

    • 300 Words
    • 2 Pages

    You have a package of bread, a jar of jelly, a butter knife and a jar of peanut butter in front of you to make a peanut butter and jelly sand which. The first thing to do is get the pack of bread and get two pieces out, lay them down on your plate and get the jar of peanut butter, you will need your butter knife for this. You will get your butter knife dip it in the jar of peanut butter and get a big scoop then get the amount of peanut butter for your bread you will then get your one out of two pieces of bread you have out on your plate and spread it evenly on the bread until it’s nice and smooth out. When you are done with peanut butter you will get the jar of jelly, you will open the jar of jelly and get your butter knife (remember it is optional to clean your butter knife with a napkin before you use it again) then dip it in the jar and also get a scoop of jelly, as much as you need, then get the other piece of bread and spread the jelly on the bread once your done with that you make sure it covers the whole piece of bread and looks nice and smoothed out. The last thing you need to do is get the jar of peanut butter and put them away. Then get your butter knife and put it in the sink. When you are done with that you go back to your plate grab the breads and put them together. When your breads are together you will get your sandwich and enjoy it (milk and any other beverages are also optional to go with your…

    • 300 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Peanut butter is an incredibly lonely food without its lovely, sweet sister, jelly. Some people are confused by “jelly” and “jam,” or preserves. For our purposes here, there isn’t enough of a difference…

    • 956 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Next we are going to make sure we have our full supplies we need before we start the task. These are not hard items to find or have on hand and most are standard in everyones kitchens. What you will need is: 1 butter knife or 1 spoon, (I will explain this one in a few minutes) you will also need a jar of jelly or jam, any flavor any type, a jar of peanut butter and a loaf of bread. Need to add that bread and peanut butter is also one of preference, whatever type you prefer, is what you will be using.…

    • 1030 Words
    • 5 Pages
    Good Essays
  • Better Essays

    the peanut and the butter

    • 1229 Words
    • 5 Pages

    Alek D/Eugene J HowTo: Make a Peanut Butter and Jelly Sandwich Step 1. Stand in front of the table with all of the assorted Products to make the Sandwich. Step 2. Turn your body to face the sink. Step 3. Identify your Left, and Right Leg. Your left leg is on the same side as your heart,…

    • 1229 Words
    • 5 Pages
    Better 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

    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
  • Good Essays

    Demonstrative Speech

    • 627 Words
    • 2 Pages

    So, let’s start by talking about what you need to make such a simple sandwich. It’s simple! The first step is to gather the ingredients. You will need peanut butter, jam (You can choose your favorite flavor), two slices of bread (You can choose between whole wheat and white bread), a plate and a knife…

    • 627 Words
    • 2 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

    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
  • 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

Related Topics