Algorithm - PowerPoint PPT Presentation

About This Presentation
Title:

Algorithm

Description:

... of a procedure It starts with an initial state and initial input Thorough a finite number of states it produces a final output through the metaphor of the ... – PowerPoint PPT presentation

Number of Views:19
Avg rating:3.0/5.0
Slides: 6
Provided by: Antoni251
Category:

less

Transcript and Presenter's Notes

Title: Algorithm


1
Algorithm
A quick introduction to the concept of algorithm
Prepared by Arch PhD Antonino Di Raimo
2
Let's start with thisToday,we're going to make
a .
3
I need
  • Ingredients
  • 1/2 kg (about 18 ounces) of ready made rolled
    dough
  • 200 g (about 7 ounces) of pressed walnuts
  • 3 cups of sugar
  • 2 cups of water
  • 1 teaspoon of cinnamon

ingredients are the first thing I need in order
to make something... They are like variables that
may change in quantity and quality
4
Cooking Instructions
1) spread the rolled dough
2) sprinkle the walnuts with the cinnamon
3) then cover it with another layer of dough
4) cut the baklava in equal squares or diamond
shapes
5) cover it with another layer of dough
6) cover the baklava with melted butter
7) leave it to bake in a hot oven
8) afterwards, leave it to cool
9) prepare the syrup (with the water and the
sugar)
10) let the syrup boil for 5 minutes
11) add the juice of half a lemon
12) remove the syrup from the heat
13) let the syrup cool for about 5 minutes,
14) then spread it on the baklava
5
Algorithm
through the metaphor of the recipe, now we can
explain the concept of algorithm
An algorithm can be intended asstep-by-step
procedure for computation. Algorithms are used
for calculation, information processing, and
automation.
  • A finite list of instructions for calculating a
    result (or an outcome) of a procedure
  • It starts with an initial state and initial input
  • Thorough a finite number of states it produces a
    final output
Write a Comment
User Comments (0)
About PowerShow.com