… Computer Science Inside… Algorithm Development.

Slides:



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

Write a Procedural Text
Mousetrap Car Lab Write-Up and Sketches Requirements
101.  Computers DO NOT think for themselves. For them to do anything they need to be told what to do.  Simply put computer programming is when you tell.
Case management.  Funding bodies love it- why?  It’s ‘purposeful’  It’s in partnership with the client (and other stakeholders) Why case management?
“The study of algorithms is the cornerstone of computer science.” Algorithms Winter 2012.
International School of Amsterdam IB Diploma Physics Investigating the Investigation Now that you have some experience with practical investigations, it.
Computer Algorithms. Fact: computers are dumb machines Basic property of a computer (a machine): Computers do what we tell them to do Unfortunately, computer.
Chapter 10 Constructions.
Module 1- Getting Started Tell me what to do Using sets of instructions…
Gwenyth Kieser and Elaine Teyner-Smith. Teams of four 1. Teacher chooses problems. 2. All four students respond simultaneously. 3. When students are done.
Karel The Robot In the beginning… software. Karel the Robot  All robots are controlled by software  Artificially intelligent robots that can “think”
Class 1: What this course is about. Assignments Reading: Chapter 1, pp 1-33 Do in Class 1: –Exercises on pages 13, 14, 22, 28 To hand in in Class 2: –Exercises.
School of Computing Science CMT1000 © Ed Currie Middlesex University 1 CMT1000: Introduction to Programming Ed Currie Lecture 1B: Problem Solving.
Bellwork Pick up a piece of plain white paper from the table. Pick a word from the bag (no trading, unless approved by me!) and wait for further instructions.
The Internet & The World Wide Web Notes
Models and Designs Investigation 1.  Label your new section Models and Designs  Draw pictures of a “model” and “design”
Science Fair Display Boards
VCE Learning. To unpack the challenge of enhancing the quality of VCE learning What does the student need to know about how to interpret the task ? Ho.
TECHNICAL WRITING October 31 st, With a partner Write simple “step-by-step” instructions for sending a Kakao Talk message with a phone.
Team Skill 6: Building the Right System From Use Cases to Implementation (25)
Introduction to Programming ICS2O Findlay. Learning Goals  We will learn  The definitions of a computer, program and programming language.  The different.
Introduction to problem solving. Introductory Discussion? What problems are you faced with daily? Do you think a computer can be designed to solve those.
EXAMWISE A GUIDE TO TACKLING EXAM PAPERS WITH CONFIDENCE! Cardinal Newman Catholic High School.
Question This is the question you set out to answer with your experiment. Put this is a large font like the one on this page. Make sure the question is.
What does a computer program look like: a general overview.
Test Taking Strategies for the Math CRCT. #1: Remember what you’ve learned!  You’ve worked so hard all year!  Remember the things you’ve learned in.
Origami Algorithms Carol Yarbrough Alabama School of Fine Arts CS4Alabama.
June REU 2009 How to Conduct Research Some Rules of Thumb.
A guide for parents and carers Follow this presentation to see a step-by-step guide to helping your child practise their times tables.
What is the HSPA???. HSPA - Overview The HSPA is the High School Proficiency Assessment that is given to juniors in New Jersey’s public schools. States.
THE BALANCE POINT By Julia D’Innocenzo.
A Puzzle for You. Puzzle Someone is working for you for 7 days You have a gold bar, which is segmented into 7 pieces, but they are all CONNECTED You have.
Click Here to Start!! Introduction You are on a WebQuest! Are you excited to learn the alphabet? We will all learn to identify upper and lower case letters!
What is the question? 1) What is the question? Are there any words you do not understand, or want to clarify? What are you asked to find or show? Can you.
How to draw a line graph Yr 9 Science. Line graphs Line graphs can be useful for showing the results of an experiment. You usually use a line graph when.
Know what a computer is used for Understand the difference between hardware and software Be able to describe the way that data is stored in a computer.
 George Polya, a famous mathematician, is known for creating four steps for easy problem solving.  “Trying to solve problems, you have to observe and.
Algorithms and Pseudocode
June REU 2003 How to Conduct Research Some Rules of Thumb.
An Introduction to Prime Factorization by Mrs. Gress
Progression in KS3/4 Algorithms MONDAY 30 TH NOVEMBER SUE SENTANCE.
Strategies & Knowledge for Independent Learning individual Work SKIL SKIL cards are sets of cards that explain how to use different learning strategies.
Get Organized Binders, Homework, Lockers. Binder Organization Use a binder system that works best for you Put you name, address and phone number on the.
| MSC 8102:PROGRAMMING CONCEPTS By Vincent Omwenga, PhD. 1.
Comp1004: Programming in Java II Computational Thinking.
100 points Final Cooking Experience points You will put all of your culinary skills to the test!! Read ALL the directions, at least twice before.
Algorithms and Flowcharts
CONTEXT SUPPORT APPROACH Context support approach reflects “Having a situation or aids, which can help the students to read.” Things to consider when using.
Introduction: Computer programming
Unit 1 Days 1-2: Standard 1 Objective 1
AP CSP: The Need for Programming Languages and Algorithms
Unit 3: Lesson 1 - The Need for Programming Languages
Geometry 15 Jan 2013 Warm up: Check your homework. For EACH PROBLEM: √ if correct. X if incorrect. Work with your group mates to find and correct any.
The Need for Programming Languages
Ready for a fold?.
Foundations of Programming: Introduction to Programming
Teaching Computing to KS3
Warm Up: 1. Make a list of your 5 biggest accomplishments in life
Workshop 3 Communication.
Computational Thinking for KS3
Computer Science Testing.
GET READY SETTLER ACTIVITY
Final Cooking Experience points
U3L1 The Need For Programming
Unit 3: Lesson 1 - The Need for Programming Languages
How to Format Your Lab Reports and Book
Designing Software Algorithm definition
Mistakes in writing a research paper
Programming Techniques
Presentation transcript:

… Computer Science Inside… Algorithm Development

What is the similarity between these? … Cooking recipe Downloading software or music Car repair manual Setting up a music playlist Knitting pattern Calling a friend on the phone Sheet music

What written instructions have you followed…? … …to complete a task?  Can you give an example? Were the instructions easy or difficult to follow?  Why? What made them easy/ hard?  They made sense?  You couldn’t understand them?  They didn’t give you enough information?

Why discuss lists of instructions here?? … Computer programs are lists of instructions  with very particular characteristics  known as algorithms How many of you know of a famous computer error/mistake? These are caused by the wrong instructions in the program  the instructions were interpreted by the computer in a way not intended by the program designer We are going to explore how these errors come about

Following an Algorithm … Algorithm written on hand-out  to draw a picture You cannot ask for any help Don't look at your classmates work  do it by yourself!!!

Here's the algorithm – follow exactly!! … 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

How did the pictures turn out? … Compare your picture with others' pictures…  Were they different?  Why?  What was difficult about following the instructions  What was missing from the instructions?

It was meant to be a kite!! … 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

It was meant to be a kite!! … Now write a set of instructions that work! Ensure only one way to interpret each step  unambiguous … and enough detail in each step

Putting all this together… … This time:  write an Algorithm  test it yourself  get someone else to try it out… Can you be sure your algorithm will work ok?

(a) Write & test your algorithm … The task/problem:  make a shape out of paper – one sheet of A4 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 – does it work?  Note: follow your instructions as closely as possible  Adjust the instructions if necessary

(b) Following an algorithm … Hide your shape Get into pairs  by teaming up with someone on the opposite side of the room  move to sit together  Do not show them your paper shape – hide it!! Swap algorithm/instructions with your partner Follow your partner's instructions to create their paper shape Compare shapes  how similar is each 'pair' of shapes?  what advice can you give on how to improve the instructions?

What do we know about algorithms? … What are the key characteristics of a “good” algorithm? Why are they hard to develop?  Must be unambiguous  Must be correct  Must be at the right level of detail Also, what did we learn about problems we pick?  too large sometimes?

Algorithms are fundamental… … …to Computer Science, and to society  Our electronic devices are teeming with algorithms realised in programming code  You perform them every day, every hour… First algorithms developed by the Greeks  e.g. Euclidean algorithm for finding greatest common divisor "Algorithm" comes from Al Khwarizmi – Persian astronomer and mathematician

Some activities are not algorithmic in nature … Problem solving Human thinking process Falling in love and so on… That is why some might think of these are hard…!! When we can express the human thinking process as an algorithm, Artificial Intelligence will have truly been created

Conclusions … Algorithm  step-by-step method for accomplishing a task Following an algorithm  relatively easy Finding/designing Algorithms  difficult but exciting and fulfilling  the designed algorithm contains the intelligence of its developer Algorithms are a fundamental part of Computer Programming and of Computing Science