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

    I am going to explain the step-by-step instructions for making peanut butter and jelly sandwich. First, you should grab a bag of wheat bread and remove the wire tied around the bag. Second, grab a plastic plate and put it on a flat surface. Third, take out two slices of bread from the out of the wheat bread bag and place them on the plastic plate side by side: left and right. Third, grab the bag of wheat bread and re-tie the wire at the end of the bag. Next, grab both the peanut butter and jelly jars and open each of them by twisting off the lid in a counter-clockwise…

    • 413 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
  • Satisfactory Essays

    Pb&J Sandwich

    • 263 Words
    • 2 Pages

    Specific purpose: To inform the class how to make a peanut butter and jelly sandwich.…

    • 263 Words
    • 2 Pages
    Satisfactory 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

    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

    Peanut butter and jelly sandwiches are a great snack or meal option. They are easy to make and taste wonderful. First, in order to make this sandwich, gather your supplies. Supplies needed: two slices of your favorite bread, a plate, a knife, peanut butter, and jelly. After everything is set, start by placing the bread on the plate. Then, spread both pieces with a generous amount of peanut butter. Next, repeat the step, but with the jelly this time. Lastly, cut the sandwich in half with the knife and enjoy. When you are finished eating, don’t forget to clean up the mess. Although making peanut butter and jelly sandwiches might seem quite simple, there was definitely a technique used; only the trained know how to create such an amazing…

    • 130 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Demonstrative Speech

    • 627 Words
    • 2 Pages

    Once you have all the material that you need, you can move on to making the sandwich. It’s simple! The next step is to make the sandwich. Position the bread slices on the plate side-by-side, with one slice facing up and the other facing down. Using the knife, scoop a large dollop of peanut butter and apply it to one side. (According a website called “Today I Found Out to you can put peanut butter on both side to prevent it from getting soggy) (Upton). Then you scoop a large dollop of jelly and apply it the same way on the other slice of bread. Then take the slice of bread with the peanut butter on it and flip it on top the slice with the jelly on it. Then cut the sandwich diagonally. Moreover, there you have a delicious peanut butter and jelly sandwich (The Perfect Peanut Butter and Jelly Sandwich, 2013). It’s…

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

    mcdonalds principles

    • 602 Words
    • 3 Pages

    a number or two and work through several steps, often ending up with your original number(s) mixed up…

    • 602 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Jelly Bean Comparisons

    • 604 Words
    • 3 Pages

    Health & safety: to ensure that all safety precautions are taken, the jelly beans need to be inclosed in a ziplock bag. Any participants in this experiment…

    • 604 Words
    • 3 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
  • 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

    First, you must acquire the materials needed for making a peanut butter and jelly sandwich. To get the materials needed you will have to go to the grocery store for most of the materials. These materials are two slices of pre-sliced bread any brand you prefer, a butter knife, a jar of smooth peanut butter, a jar of strawberry jelly, a hard and clean flat surface, someone who is going to make the sandwich, and a regular knife. Drive to the grocery store in a car or you can take the bus. Once you have arrived at the grocery store you must go into the grocery store and go to the…

    • 1069 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    First you get the peanut butter and you open it and you get a knife. Next you get the bread and open the package and you take the bread out. Then you get the knife and put the knife in the jar and spread it on the bread now your put the other piece of bread on it. Finally you can eat it.…

    • 72 Words
    • 1 Page
    Satisfactory Essays
  • Better Essays

    Next mom begins the process of mixing the batter. She creams together the one half cup of butter along with the one cup of sugar and the two eggs in a large bowl. In a smaller bowl, she places the over ripe bananas and mashes them until they are smooth and creamy. She mixes the bananas into the large bowl with the butter, sugar, and eggs. Next she will begin to add the flour in small amounts at a time and mixes this together with the rest of the batter. Approximately half a cup at a time, until the entire two cups have been added. Next she puts the one half teaspoon of salt, and the one…

    • 702 Words
    • 3 Pages
    Better Essays