Designing Software.

Slides:



Advertisements
Similar presentations
Partners Your groups will be assigned based on the working / learning styles you have shown me this semester. No grumbles please.
Advertisements

Period One - Objective – Develop Cooking Lab Skills Based on Science. Warm-up – On Notebook paper, copy these questions and find the answers in today’s.
Laundry 101 Fashion and Textiles. So, you have a huge pile of laundry, now what? You need to sort it!!! But how?
Laundry. Supplies Detergent or Soap Stain Remover Fabric Softener Bleach Thread, Needles, Buttons.
Variables, Constants, and Controls
Basic Programming Concepts INTRO TO PROGRAMMING. Questions to answer  What is a computer program?  What are computer instructions  How is a program.
Introducing Inventor Ava H. and the Drawer Organizer Kindergarten California, USA.
TRAVEL GEAR. Travel Checklist Jerseys Shorts Shooting shirts Game Socks Adidas Rolling bags Shower Towels and bench towels Laundry baskets Markers + clipboard.
DO YOU EVER WONDER HOW YOU ARE EVER GOING TO BE ABLE TO CLEAN YOUR ROOM? WELL, CONGRATS, YOU HAVE FOUND THE RIGHT PLACE TO TEACH YOU SOME SIMPLE STEPS.
Algorithms and Programming
 SELECT AN IDEA  NARROW THE IDEA (FOCUS)  ELABORATE ON THE IDEA (DEVELOPMENT)  DISCOVER THE BEST INFORMATION TO DISCUSS ON MAIN IDEA (DETAILS )
Warm-Up Popcorn ◦On a piece of paper write down the following words and next to each, write down what that word means to you. ◦You will have 4 minutes.
By Elizabeth De Leon 1/7/13 8th. Have you ever wondered how or where your clothes disappears to? An organized closet can help you keep track of your items.
Lecture 4: Sorting Algorithms Prof Branestawm’s Sorting Challenge.
WELCOM E BACK!. POL Basics Choose 2 topics Choose pieces of evidence for each topic Break each topic down into its components - Definitions and explanations.
Homes: Find someone who… … lives in a condo … lives in a house … has moved many times … has never changed homes … lives in a dorm … lives in an apartment.
The peace and joy of family work. Why Work? Core Principles Fairness, dignity, excellence, service, accountability, patience, trust, self-discipline,
Algorithms & FlowchartsLecture 10. Algorithm’s CONCEPT.
How to Do Your Laundry in College in 7 Steps. Getting Started  Whether it’s your small budget or your small dorm closet that’s preventing you from going.
Top Down Design Brent M. Dingle Texas A&M University Chapter 4 – Section 1 (and some from Mastering Turbo Pascal 5.5, 3 rd Edition by Tom Swan)
What, what, what can you do? I can clean, clean the bedroom. I can cook, cook the meals. I can water, water the flowers. I can sweep, sweep the floor.
Using Figurative Language
THE POWER PARAGRAH. EXAMPLE PARAGRAPH: (1)State your purpose in the topic Sentence. (2)The major detail or supporting idea. (3)The minor detail.
Hemisphere Dominance Inventory. Are you always running late for appointments? Yes Right No Left.
英才网. What, what, what can you do? I can clean, clean the bedroom. I can cook, cook the meals. I can water, water the flowers. I can sweep,
Laundry & Sewing Basics. Tips for Stains Get it WetGet it Wet – Wet the area with the stain to keep if from setting. This will buy you some time until.
Clothing Care.
ORAL WORK.
IL Marking Get out your CPU / Memory answers Swap with someone else
Software Development.
Laundry & Sewing Basics
“Play it safe. Protect your family. Call
1. The safe way is always the right way.
Organizing Your Life.
Organizing Your Life.
IGCSE 6 Cambridge Effectiveness of algorithms Computer Science
TEACHING ORDER TO YOUR 7/8 YEAR OLD SON.
Created by: Victoria, Lauren, Julianna, and Natalie
We all hate it, but we all have to do it
Everything has A Place Getting and Keeping Your Home in Order
Application of Pseudo Code
Take Out Trash Laundry Dust Bedroom Big Bad Outdoors!
Clothing Care Objective 6.04 Day 6.
Group 5 Presentation: p By: Chris P and Sam R.
Instructions Set for doing Laundry at the UMBC RAC
CS 240 – Lecture 11 Pseudocode.
Clothing Care.
The Scientific Method: How to solve just about anything
Algorithms Today we will look at: what the word algorithm means
Lab Reminders 1. Tie your hair back, before coming to the classroom.
How you manage a messy bedroom?
Computational Thinking for KS3
LAB PROCEDURES.
SCIENCE ON FRIDAYS.
Intro to Algorithms in SNAP!
Welcome to Sixth Grade! McClure 607.
My Take on the Largest Number Algorithm
What are you doing? By….Kru Karn.
ICT Gaming Lesson 2.
Welcome back to Software Development!
Welcome back to Software Development!
EDTE 408 Principles of Teaching
Designing Software.
Expectations during Labs
Designing Software Algorithm definition
I'm Kate Christie from Time Stylers.
Welcome! Let’s get creative!.
Module Expectations Chairs must be carried to and from module…DO NOT drag them on the floor Follow the directions EXACTLY as the module tells you No printing.
A quick and easy tutorial!
Welcome to Science Today’s goal: I can set up my notebook.
Presentation transcript:

Designing Software

Designing Software Algorithm definition

Designing Software Algorithm definition A set of well-defined instructions for carrying out a particular task.

Designing Software Algorithm definition A set of well-defined instructions for carrying out a particular task. Characteristics of a good algorithm :

Designing Software Algorithm definition A set of well-defined instructions for carrying out a particular task. Characteristics of a good algorithm : Predictable

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

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

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

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

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

Designing Software Recipe analogy Predictable

Designing Software Recipe analogy Predictable Deterministic

Designing Software Recipe analogy Predictable Deterministic Not subject to chance

Designing Software Recipe analogy Predictable … you know what the recipe makes Deterministic Not subject to chance

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

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:

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

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

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

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

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

Designing Software Can you think of any examples of “algorithms” in your daily life?

Designing Software Can you think of any examples of “algorithms” in your daily life? A set of well-defined instructions for carrying out a particular task. 27

A Tougher Algorithm

A Tougher Algorithm Your mom just dumped your clean laundry on your bedroom floor...

A Tougher Algorithm Your mom just dumped your clean laundry on your bedroom floor... Create an algorithm for putting your clothes away in the closet & dresser.

A Tougher Algorithm Your mom just dumped your clean laundry on your bedroom floor... Create an algorithm for putting your clothes away in the closet & dresser. Identify what is needed to accomplish the task

A Tougher Algorithm Your mom just dumped your clean laundry on your bedroom floor... Create an algorithm for putting your clothes away in the closet & dresser. Identify what is needed to accomplish the task All steps

A Tougher Algorithm Your mom just dumped your clean laundry on your bedroom floor... Create an algorithm for putting your clothes away in the closet & dresser. Identify what is needed to accomplish the task All steps Decisions that need to be made

A Tougher Algorithm Your mom just dumped your clean laundry on your bedroom floor... Create an algorithm for putting your clothes away in the closet & dresser. Identify what is needed to accomplish the task All steps Decisions that need to be made Think about what could go wrong

A Tougher Algorithm Your mom just dumped your clean laundry on your bedroom floor... Create an algorithm for putting your clothes away in the closet & dresser. Identify what is needed to accomplish the task All steps Decisions that need to be made Think about what could go wrong Be ready to share it with the class

A Tougher Algorithm Your mom just dumped your clean laundry on your bedroom floor... Create an algorithm for putting your clothes away in the closet & dresser. Identify what is needed to accomplish the task All steps Decisions that need to be made Think about what could go wrong Be ready to share it with the class … you have about 20 minutes

My Take On Picking Up The Clothes

My Take On Picking Up The Clothes My assumptions:

My Take On Picking Up The Clothes My assumptions: Hang up shirts different than pants

My Take On Picking Up The Clothes My assumptions: Hang up shirts different than pants There are 3 drawers in the dresser

My Take On Picking Up The Clothes My assumptions: Hang up shirts different than pants There are 3 drawers in the dresser Specific clothing goes in each dresser drawer

My Take On Picking Up The Clothes My assumptions: Hang up shirts different than pants There are 3 drawers in the dresser Specific clothing goes in each dresser drawer There are enough shirt hangers

My Take On Picking Up The Clothes My assumptions: Hang up shirts different than pants There are 3 drawers in the dresser Specific clothing goes in each dresser drawer There are enough shirt hangers There are enough pants hangers

My Take On Picking Up The Clothes My assumptions: Hang up shirts different than pants There are 3 drawers in the dresser Specific clothing goes in each dresser drawer There are enough shirt hangers There are enough pants hangers All hangers are immediately on hand

First Pass At General Level of Detail

First Pass At General Level of Detail Sort pile into 3 piles

First Pass At General Level of Detail Sort pile into 3 piles Closet shirts, closet pants and dresser stuff

First Pass At General Level of Detail Sort pile into 3 piles Closet shirts, closet pants and dresser stuff Hang up all shirts

First Pass At General Level of Detail Sort pile into 3 piles Closet shirts, closet pants and dresser stuff Hang up all shirts Hang up all pants

First Pass At General Level of Detail Sort pile into 3 piles Closet shirts, closet pants and dresser stuff Hang up all shirts Hang up all pants Sort dresser pile into pile for each drawer

First Pass At General Level of Detail Sort pile into 3 piles Closet shirts, closet pants and dresser stuff Hang up all shirts Hang up all pants Sort dresser pile into pile for each drawer Fold and put away each drawer pile

Step 1- Refinement

Step 1- Refinement Sort pile into 3 piles: closet (shirt & pants piles) and dresser piles

Step 1- Refinement Sort pile into 3 piles: From the original pile: closet (shirt & pants piles) and dresser piles From the original pile:

Step 1- Refinement Sort pile into 3 piles: From the original pile: closet (shirt & pants piles) and dresser piles From the original pile: Pick up piece of clothing

Step 1- Refinement Sort pile into 3 piles: From the original pile: closet (shirt & pants piles) and dresser piles From the original pile: Pick up piece of clothing If shirt, place in pile 1

Step 1- Refinement Sort pile into 3 piles: From the original pile: closet (shirt & pants piles) and dresser piles From the original pile: Pick up piece of clothing If shirt, place in pile 1 Else if pant, place in pile 2

Step 1- Refinement Sort pile into 3 piles: From the original pile: closet (shirt & pants piles) and dresser piles From the original pile: Pick up piece of clothing If shirt, place in pile 1 Else if pant, place in pile 2 Else place in pile 3

Step 1- Refinement Sort pile into 3 piles: From the original pile: closet (shirt & pants piles) and dresser piles From the original pile: Pick up piece of clothing If shirt, place in pile 1 Else if pant, place in pile 2 Else place in pile 3 Repeat until original pile is empty

Step 2- Refinement

Step 2- Refinement 2. Hang up all shirts

Step 2- Refinement 2. Hang up all shirts From the shirts pile

Step 2- Refinement 2. Hang up all shirts From the shirts pile Pick up shirt

Step 2- Refinement 2. Hang up all shirts From the shirts pile Pick up shirt Get shirt hanger

Step 2- Refinement 2. Hang up all shirts From the shirts pile Pick up shirt Get shirt hanger Hang up shirt

Step 2- Refinement 2. Hang up all shirts From the shirts pile Pick up shirt Get shirt hanger Hang up shirt Repeat until shirts pile is empty

Step 3- Refinement

Step 3- Refinement 3. Hang up all pants

Step 3- Refinement 3. Hang up all pants From the pants pile

Step 3- Refinement 3. Hang up all pants From the pants pile Pick up pants

Step 3- Refinement 3. Hang up all pants From the pants pile Pick up pants Get pants hanger

Step 3- Refinement 3. Hang up all pants From the pants pile Pick up pants Get pants hanger Hang up pants

Step 3- Refinement 3. Hang up all pants From the pants pile Pick up pants Get pants hanger Hang up pants Repeat until pants pile is empty

Step 4- Refinement

Step 4- Refinement 4. Sort dresser pile into pile for each drawer

Step 4- Refinement 4. Sort dresser pile into pile for each drawer From the dresser pile

Step 4- Refinement 4. Sort dresser pile into pile for each drawer From the dresser pile Pick up piece of clothing

Step 4- Refinement 4. Sort dresser pile into pile for each drawer From the dresser pile Pick up piece of clothing If goes in drawer 1, place in drawer 1 pile

Step 4- Refinement 4. Sort dresser pile into pile for each drawer From the dresser pile Pick up piece of clothing If goes in drawer 1, place in drawer 1 pile Else if goes in drawer 2, place in drawer 2 pile

Step 4- Refinement 4. Sort dresser pile into pile for each drawer From the dresser pile Pick up piece of clothing If goes in drawer 1, place in drawer 1 pile Else if goes in drawer 2, place in drawer 2 pile Else place in drawer 3 pile

Step 5- Refinement

Step 5- Refinement 5. Fold and put away each drawer pile

Step 5- Refinement 5. Fold and put away each drawer pile For each dresser pile:

Step 5- Refinement 5. Fold and put away each drawer pile For each dresser pile: Go to the next pile

Step 5- Refinement 5. Fold and put away each drawer pile For each dresser pile: Go to the next pile Note which drawer this pile is for

Step 5- Refinement 5. Fold and put away each drawer pile For each dresser pile: Go to the next pile Note which drawer this pile is for Pick up a piece of clothing

Step 5- Refinement 5. Fold and put away each drawer pile For each dresser pile: Go to the next pile Note which drawer this pile is for Pick up a piece of clothing Fold piece of clothing

Step 5- Refinement 5. Fold and put away each drawer pile For each dresser pile: Go to the next pile Note which drawer this pile is for Pick up a piece of clothing Fold piece of clothing Place folded clothing neatly in drawer

Step 5- Refinement 5. Fold and put away each drawer pile For each dresser pile: Go to the next pile Note which drawer this pile is for Pick up a piece of clothing Fold piece of clothing Place folded clothing neatly in drawer Repeat until this pile is empty

Step 5- Refinement 5. Fold and put away each drawer pile For each dresser pile: Go to the next pile Note which drawer this pile is for Pick up a piece of clothing Fold piece of clothing Place folded clothing neatly in drawer Repeat until this pile is empty Repeat until have done all dresser piles

My Take On Picking Up The Clothes - Refinement

My Take On Picking Up The Clothes - Refinement Some possible next steps

My Take On Picking Up The Clothes - Refinement Some possible next steps: Continue refining (folding, etc)

My Take On Picking Up The Clothes - Refinement Some possible next steps: Continue refining (folding, etc) Look for optimizations

My Take On Picking Up The Clothes - Refinement Some possible next steps: Continue refining (folding, etc) Look for optimizations Are there needless steps?

My Take On Picking Up The Clothes - Refinement Some possible next steps: Continue refining (folding, etc) Look for optimizations Are there needless steps? Are there repeated steps?

My Take On Picking Up The Clothes - Refinement Some possible next steps: Continue refining (folding, etc) Look for optimizations Are there needless steps? Are there repeated steps? Faster way of doing it?

My Take On Picking Up The Clothes - Refinement Some possible next steps: Continue refining (folding, etc) Look for optimizations Are there needless steps? Are there repeated steps? Faster way of doing it? Test it!

My Take On Picking Up The Clothes - Refinement Some possible next steps: Continue refining (folding, etc) Look for optimizations Are there needless steps? Are there repeated steps? Faster way of doing it? Test it! Does it work?

My Take On Picking Up The Clothes - Refinement Some possible next steps: Continue refining (folding, etc) Look for optimizations Are there needless steps? Are there repeated steps? Faster way of doing it? Test it! Does it work? Mistakes in the algorithm?

Clear and Unclear Windows