Algo0 - Algorithms How data is processed Popescu 2012 1...

Info icon This preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Algorithms How data is processed 1 © Popescu 2012
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Algorithm definitions Effective method expressed as a finite list of well-defined instructions Google A set of rules to be followed in calculations or other problem-solving operations, especially by a computer Wikipedia A step-by-step procedure for s olving a problem or accomplishing some end especially by a computer M Webster 2
Image of page 2
Algorithm specification Plain English (prose) 3
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Apple pie algorithm 4 www.momswhothink.com Ingredients: Pastry for 2 crusts (recipe below) 8 cups sliced, peeled assorted baking apples - about 3 lbs. (Granny Smith, Cortland, Jonathan) 2 Tablespoons lemon juice 3/4 cup white sugar 1/4 cup brown sugar 1/4 cup all-purpose flour 1 teaspoon ground cinnamon 1/4 teaspoon ground nutmeg 2 Tablespoons butter 1 egg yolk 1 Tablespoon milk Directions: 1. In a large bowl, toss the sliced apples with lemon juice. 2. Combine sugars, flour, cinnamon and nutmeg; add to apples and toss well to coat. 3. Fill pastry lined 9 inch pie pan with apple mixture. Dot with butter. 4. Place second crust on top of pie filling, cut slits in top of crust to vent. Seal the edges of the crust with a fork or by hand. 5. In a small bowl, beat the egg yolk and milk. Brush mixture over top crust. 6. Bake at 425 degrees F for 15 minutes. 7. Reduce heat to 350 degrees F and bake 40-45 minutes more or until crust is golden and filling is bubbly.
Image of page 4
Apple pie algorithm 5 www.momswhothink.com Ingredients: Pastry for 2 crusts (recipe below) 8 cups sliced, peeled assorted baking apples - about 3 lbs. (Granny Smith, Cortland, Jonathan) 2 Tablespoons lemon juice 3/4 cup white sugar 1/4 cup brown sugar 1/4 cup all-purpose flour 1 teaspoon ground cinnamon 1/4 teaspoon ground nutmeg 2 Tablespoons butter 1 egg yolk 1 Tablespoon milk Directions: 1. In a large bowl, toss the sliced apples with lemon juice. 2. Combine sugars, flour, cinnamon and nutmeg; add to apples and toss well to coat. 3. Fill pastry lined 9 inch pie pan with apple mixture. Dot with butter. 4. Place second crust on top of pie filling, cut slits in top of crust to vent. Seal the edges of the crust with a fork or by hand. 5. In a small bowl, beat the egg yolk and milk. Brush mixture over top crust. 6. Bake at 425 degrees F for 15 minutes. 7. Reduce heat to 350 degrees F and bake 40-45 minutes more or until crust is golden and filling is bubbly. Input
Image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Apple pie algorithm 6 www.momswhothink.com Ingredients: Pastry for 2 crusts (recipe below) 8 cups sliced, peeled assorted baking apples - about 3 lbs. (Granny Smith, Cortland, Jonathan) 2 Tablespoons lemon juice 3/4 cup white sugar 1/4 cup brown sugar 1/4 cup all-purpose flour 1 teaspoon ground cinnamon 1/4 teaspoon ground nutmeg 2 Tablespoons butter 1 egg yolk 1 Tablespoon milk Directions: 1. In a large bowl, toss the sliced apples with lemon juice.
Image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern