Designing Software Algorithm definition

Slides:



Advertisements
Similar presentations
Programming Tools for Solution Development Module 3 Lesson 2 Assignment: Notes.
Advertisements

Contingency Theories. McGovern & Bernhard McGovern Possible in sport? Examples… Why is this not done often? Hint: Who becomes coach? Bernhard Possible.
User Personas Assignment IS 485, Professor Matt Thatcher.
CS /29/2004 (Recitation Objectives) and Computer Science and Objects and Algorithms.
Communicating in Groups Chapter 10 Providing Leadership in Groups
Understand processes and benefits of a work plan and teamwork for preparing healthy foods.
Tell the robot exactly how to draw a square on the board.
Recipe Formats Definition: tool of cookery, a blueprint or pattern to follow.
Doing Case Instruction1 Case Instructions BUS 302 / FALL 2010.
Usability Testing intro.12.ppt CS 121 “Ordering Chaos” “Mike” Michael A. Erlinger.
I'm thinking of a number. 12 is a factor of my number. What other factors MUST my number have?
PowerPoint Two: Ready, Steady, Get Cooking!. Starter Activity Can you give examples of meals you have tried which contain mushrooms? Which type of mushroom.
The Shaping Game Mickey Keenan University of Ulster N. Ireland.
SYLLABUS & LESSON PLAN EDU555 Curriculum and Instruction Encik Muhamad Furkan Mat Salleh Faculty of Education Universiti Teknologi MARA.
… Computer Science Inside… Algorithm Development.
Decision Maths 1 Algorithms- Flow Charts. What is an algorithm? A set of precise instructions which if followed will solve a problem. e.g. Knitting patterns,
Creative Writing Circuit Training Flex those writing muscles!
Searching & Sorting. Algorithms Step by step recipe to do a task…
Are you ready to learn about time First Grade?
AS Computer Studies Algorithms & Problem Solving 1 & 2.
 On the next slide, there are 5 pictures related to a current news story.  With your partner, discuss what the news story could be about.  - Who? 
Software.
Revising Maths (1) You need a topic list. Print off from Jones the Sums, use contents page in front of a Revision Guide, organise your exercise books,
Intro CS – Loops & Creating Shapes
Program the robotic arm
Reading a Recipe Reading a Recipe Home & Careers 6 Mrs. Hayes.
Performance Management Done Differently
IGCSE 6 Cambridge Effectiveness of algorithms Computer Science
Power, Status, Leadership
Application of Pseudo Code
Curriculum Development Team
Algorithms Today we will look at: what the word algorithm means
Young Leader Training Module C That’s the way to do it.
Algorithms Y10 Introduction.
Following Directions IRSC Adult Education Live Virtual Lesson
Today’s Agenda Mystery Race WWII Video Quiz Exit Survey
Drama At Cornwallis Academy
SCIENCE IS PUZZLE A.
An Introduction to Control Structures
Designing an Algorithm
Searching & Sorting.
1.02 M Timetables 1.02M Timetables.
Managing Change Executives face difficult decisions about change every day Negative Aspects of Change Risky change Delivering bad news Realistic previews.
How do Aboriginal Peoples relate to the country?
Graph Dancing Start! Box to make timings work!.
Life in the Depression.
Taking Action.
BE MORE INVOLVED IN YOUR HEALTH CARE
An Introduction to Control Structures
Reading Math to Promote Fluency and Recall
KING “W” 4.
Algorithms vs. Programming
Graph Dancing Start! Box to make timings work!.
Welcome back to Software Development!
My Top Five Themes – Mark Neff
Methods of Training Learning Objective
Foods 1 Parts of a Recipe.
Number % Q1 Very satisfied Fairly satisfied
Designing Software.
Intercultural Fluency Activity 3: Appreciating Diverse Perspectives
A asks B the following questions:
Revision techniques or are you a self manager?
Local Scholarship Information
Recipe You are planning on preparing a dinner for your family over the weekend what planning do you need to do before your party?
1.02 M Timetables 1.02M Timetables.
Algorithms vs. Programming
‘I take an active part in school’
Hacking the Arts & Humanities…AND Writing Program Reviews…
Test Format Actual AP Test:
Presentation transcript:

Designing Software Algorithm definition A set of well-defined instructions for carrying out a particular task. Characteristics of a good algorithm : Predictable – you know what it is supposed to do Deterministic – it always does the same thing Not subject to chance – tells you everything you need to know to do the task

Designing Software Recipe analogy Predictable … you know what the recipe makes Deterministic … if you follow directions, comes out the same every time Not subject to chance … provides you: All the ingredients Measurements Every step and the order to do them in Cook times …everything you need to do it

Another Algorithm Task

Another Algorithm Task Design an algorithm to locate the largest number in a list of numbers.

Another Algorithm Task Design an algorithm to locate the largest number in a list of numbers. Work in your team (both names on the sheet).

Another Algorithm Task Design an algorithm to locate the largest number in a list of numbers. Work in your team (both names on the sheet). Be ready to share it with the class.

Another Algorithm Task Design an algorithm to locate the largest number in a list of numbers. Work in your team (both names on the sheet). Be ready to share it with the class. You will turn it in at the end of class.

Another Algorithm Task Design an algorithm to locate the largest number in a list of numbers. Work in your team (both names on the sheet). Be ready to share it with the class. You will turn it in at the end of class. You have 15 minutes.

Algorithm Task Hints…

Algorithm Task Hints… Pick a short, easy list of numbers to work with:

Algorithm Task Hints… Pick a short, easy list of numbers to work with: 2, 3, 1

Algorithm Task Hints… Pick a short, easy list of numbers to work with: 2, 3, 1 Do the exercise yourself…and…

Algorithm Task Hints… Pick a short, easy list of numbers to work with: 2, 3, 1 Do the exercise yourself…and… As you do it, try to identify the individual actions you are performing.

Algorithm Task Hints… Pick a short, easy list of numbers to work with: 2, 3, 1 Do the exercise yourself…and… As you do it, try to identify the individual actions you are performing. Ask: are there any decisions I’m making, any questions I’m asking?

Algorithm Task Hints… Pick a short, easy list of numbers to work with: 2, 3, 1 Do the exercise yourself…and… As you do it, try to identify the individual actions you are performing. Ask: are there any decisions I’m making, any questions I’m asking? Ask: are there steps that I repeat?

Algorithm Task Hints… Pick a short, easy list of numbers to work with: 2, 3, 1 Do the exercise yourself…and… As you do it, try to identify the individual actions you are performing. Ask: are there any decisions I’m making, any questions I’m asking? Ask: are there steps that I repeat? How do I know I don’t need to repeat any more?

Algorithm Task Hints… Pick a short, easy list of numbers to work with: 2, 3, 1 Do the exercise yourself…and… As you do it, try to identify the individual actions you are performing. Ask: are there any decisions I’m making, any questions I’m asking? Ask: are there steps that I repeat? How do I know I don’t need to repeat any more? Ask: how do I tell when I’m completely done?

Algorithm Task Hints… Pick a short, easy list of numbers to work with: 2, 3, 1 Do the exercise yourself…and… As you do it, try to identify the individual actions you are performing. Ask: are there any decisions I’m making, any questions I’m asking? Ask: are there steps that I repeat? How do I know I don’t need to repeat any more? Ask: how do I tell when I’m completely done? Try to write instructions that a 5 year old could follow…

Your Task… Design an algorithm to locate the largest number in a list of numbers. Work in your team (both names on the sheet). Be ready to share it with the class. You will turn it in at the end of class. You have 15 minutes.