Download presentation

Presentation is loading. Please wait.

Published byBriana Eggleston Modified over 3 years ago

2
What is an Algorithm? An algorithm is a well-developed, organized approach to solving a complex problem.

3
Algorithms Examples of algorithms include Musical scores

4
Algorithms Examples of algorithms include Knitting patterns

5
Algorithms Examples of algorithms include Recipes

6
1. Draw a diagonal line 2. Draw another diagonal line connected to the top of the first one 3. Draw a straight line from the point where the diagonal lines meet 4. Draw a horizontal line over the straight line 5. At the bottom of the straight line, draw a curvy line 6. Draw a diagonal line from the bottom of the first diagonal to the straight line 7. Draw a diagonal line from the bottom of the second diagonal to the straight line

7
Compare your picture with others' pictures… Were they different? Why? What was difficult about following the instructions What was missing from the instructions?

8
1. Draw a diagonal line 2. Draw another diagonal line connected to the top of the first one 3. Draw a straight line from the point where the diagonal lines meet 4. Draw a horizontal line over the straight line 5. At the bottom of the straight line, draw a curvy line 6. Draw a diagonal line from the bottom of the first diagonal to the straight line 7. Draw a diagonal line from the bottom of the second diagonal to the straight line

9
Now write a set of instructions that work! Ensure only one way to interpret each step unambiguous … and enough detail in each step About 10 steps

10
… Now draw a shape on paper, but not a HOUSE or a PLANE, too obvious! Write the algorithm Write a set of instructions that explains how to make a paper shape from 1 sheet of A4 paper Test it Try out your algorithm with someone else – does it work? Note: follow your instructions as closely as possible Adjust the instructions if necessary

11
… You will have two sets of instructions, one on how to draw a kite, the second on how to draw another object. In the same Word document you have with all your labs: PROGRAM-DESIGN-PORTFOLIO.DOCX add in the two sets of instructions, one on how to draw a kite, the second on how to draw another object. e-mail your document to Damian.Gordon@dit.ie with a subject heading of PROGRAM DESIGN TUTORIAL #1 and in the message of your e-mail please let me know your full name, your student number, the name of your programme, the programme code, the name of the module, the year you are in (first year), and your assignment.

Similar presentations

OK

Progression in KS3/4 Algorithms MONDAY 30 TH NOVEMBER SUE SENTANCE.

Progression in KS3/4 Algorithms MONDAY 30 TH NOVEMBER SUE SENTANCE.

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on solar energy Ppt on business environment nature concept and significance of the study Ppt on special types of chromosomes male Ppt on tcs company profile Ppt on latest technology in cse Ppt on george bernard shaw Ppt on revolution of earth Ppt on annual review meeting Ppt on synthesis and degradation of purines and pyrimidines of dna Ppt on different types of birds