Sunday, 22 July 2012

Monday, 16 July 2012

Flowcharts

Q1) A flowchart is a visually represented sequence of data.



Q2)
 

Q3) Only one flow line should come out from a process symbol.
b3.gif (987 bytes) or b4.gif (993 bytes)
Only one flow line should enter a decision symbol, but two or three flow lines, one for each possible answer, should leave the decision symbol.
  b5.gif (1355 bytes) b6.gif (1355 bytes)
Q4)

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