Sunday, 15 July 2012

Alogorithms

Q1) Sequence, selection, repitition and The sequence has to be clear and in correct order, it should be chronological.
Q2)*Posting a letter
1.Write a letter and fold the paper
2.Put it in the envelope
3.Seal the envelope
4.Write the address on the envelope and a stamp on it
5.Drop it in the post office to send or a post box
*Making toast
1.Get bread
2.Place bread in toaster
3.Push the lever down and sdjust if you want
4.Wait for the bread to pop out which will take a few minutes.
5.If desired spread butter on top.
*Calling a friend on the phone
1.Pick up the phone
2.Dial the number into the phone
3. Press green call button
4.Wait for the person to pick up if person doesnt pick up,call again
5. Repeat if the person doesnt pick up
6.Chatt!!

No comments:

Post a Comment