11SDD Task 2 Algorithm Activities 1 - Sequence Complete these questions in a single file called ‘Algorithm Activities 1’ and submit for marking. Remember: o Title page with your full name, assignment name, date and teachers name o Use 12 point font size and a plain font for all work o Use a header/footer which contains student name, date, assignment name and page numbers as shown in class) o Clearly set out your work, numbering each question carefully o Staple all work and place in a sleeve or manilla folder (or similar). Due date: For all questions, write the pseudocode and create a flowchart: Questions: (Fowler, Ex 4.6, Ques 13) 1 An algorithm to make a phone call is shown below: Pick up the phone. Dial number. Deliver the message. Hang up the phone. a Convert the above algorithm into pseudocode. The algorithm should be designed using a word processor and named with a filename of PHONEPSEU. b Convert the above algorithm into a flowchart. The algorithm should be designed using a drawing program and named with a filename of PHONEFLOW. 2 3 (Fowler, Ex 4.7, Ques 10-17) Rearrange into the correct sequence the following steps to sharpen a pencil: Turn pencil. Get pencil and sharpener. Put pencil into sharpener. Remove pencil from sharpener. Use a word processor to prepare your answer and name the file as SHARPEN. Use the steps in question 2 to design an algorithm to sharpen a wooden pencil: a in pseudocode b as a flowchart You can use a word processor for part a, naming your file as SHARPENP, and a drawing program for part b, naming your file as SHARPENF. (Don’t forget to use the proper flowchart symbols.) Structured Algorithms 1 11SDD Task 2 4 Rearrange into their correct sequence the following steps to make cornflakes for breakfast: Pour milk over cornflakes as required. Get bowl, cornflakes, milk and sugar. Put sugar over cornflakes as required. Fill bowl with cornflakes. 5 Using the steps in question 4, design an algorithm to make cornflakes: a in pseudocode b as a flowchart You can use a word processor for part a, naming your file as CORNFLP, and a drawing program for part b, naming your file as CORNFLF. . (Don’t forget to use the proper flowchart symbols.) 6 Rearrange into their correct sequence the following steps to wash your hands: Rinse off soap. Turn on water. Dry hands. Clean hands with soap. Wet hands. Turn off water. 7 Using the steps in question 6, design an algorithm to wash your hands: a in pseudocode b as a flowchart You can use a word processor for part a, naming your file as WASHP, and a drawing program for part b, naming your file as WASHF. . (Don’t forget to use the proper flowchart symbols.) You may like to use a word processor and drawing program for the following. If you do, don’t forget to name your work with appropriate filenames. 8 Design an algorithm in pseudocode to make a glass of cordial. 9 Design an algorithm as a flowchart to run an application on the school computer. Structured Algorithms 2