SCIENCE ON FRIDAYS.

Slides:



Advertisements
Similar presentations
Topic Heading = Order of Operations. What is the Order of Operations? What are the steps you take to make a PB and J sandwich? –Slather jelly on one slice.
Advertisements

Contest format 5 hours, around 8-12 problems One computer running (likely)Linux, plus printer 3 people on one machine No cell phones, calculators, USB.
Making a “P and J” sandwich
1 How to make a peanut butter and Jelly sandwich A Recipe From Cherie Lau.
Peanut Butter and ? Sandwiches: YUM!. Step 1:Observation  We’ve all seen and/or had a peanut butter sandwich.  How do you prefer yours?  Does everyone.
How to make a peanut butter and jelly sandwich
Component 4: Introduction to Information and Computer Science Unit 5: Overview of Programming Languages, Including Basic Programming Concepts Lecture 1.
Making a Peanut Butter and Jelly Sandwich
Peanut Butter and Jelly Sandwich Ingredients Peanut butterTwo slices of bread Jelly or jamKnifePlate.
How to Make a Peanut Butter and Jelly Sandwich By Kristy and Jon.
Lauren O’Malley May 11,  Purpose: To teach the art of mastering the Peanut Butter & Jelly sandwich.  Audience: The audience includes people 8.
Hamilton County Developmental Disabilities Services
* Programming is the activity of creating a set of detailed instructions (program) that when carried out on a consistent set of inputs will result in.
Cross Contamination Experiment Safety and Sanitation.
COP1332 Introduction to Programming Using Visual Basic.NET A journey into thinking Professor Walton.
How to Make a Great PBJ By Janie Schwark Ingredients bCbCbCbCrunchy peanut butter bHbHbHbHomemade strawberry jam bTbTbTbTwo slices of white bread bMbMbMbMilk.
CSE111: Great Ideas in Computer Science Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:
By Droids Robotics Good Coding Practices: Start with Pseudocode BEGINNER EV3 PROGRAMMING LESSON © 2015 EV3Lessons.com, Last edit 4/1/
Algorithm Design CS105. Problem Solving Algorithm: set of unambiguous instructions to solve a problem – Breaking down a problem into a set of sub- problems.
How to Make a Peanut Butter and Jelly Sandwich Presented by: Christopher DiFabio Project 5: How to Make a PB & J Sandwich May 21, 2012.
By Ella Marks n/ImageDisplay/1/18/10 Clipart.
By: Rachel Kenney. First Step Get a plate and bread out.
Step By Step By: Jade Gagne.  PB ‘n J is short form for Peanut Butter and Jam  PB ‘n J sandwich’s are delicious and easy to make lunch’s after a long.
Algorithms: The recipe for computation What is an algorithm?
How to make a Peanut Butter and Jelly Sandwich!
Computer Bugs Original Powerpoint By: Spring LIS4480 Coding Team Jon.
THE IB DESIGN CYCLE DESIGN IS THE WAY THINGS ARE MADE.
How to Make a Peanut Butter and Jelly Sandwich Presented by: Andrew Stockmoe Project 5: How to Make a PB & J Sandwich 5/3/12.
STEM AGENDA WEEK 19 1/7 – 1/11. AGENDA 1/7 Learning Target: To determine when and why we use various mechanisms. Finish Mechanisms: Build, Cut & Past,
Introduction to Programming in VB Chapter 1. 2 Software Development Life Cycle Gather Requirements Design Program Code & Test Program Implement u Software.
How to Make the Perfect PB&J By: Jade Edwards. Materials Needed: ➾ 2 slices of white bread ➾ 1 jar of peanut butter ➾ 1 jar of grape jelly ➾ 1 paper plate.
Presented by: Mr. Pugh’s Class 2011 Ingredients Peanut Butter Jelly Two Slices of Bread.
Intro to Turtle Graphics (Part 2)
Lesson 3.1 Review: audible tri-tone Write a snap script that… Asks the user to enter 3 numbers corresponding to tone values Checks for valid inputs and.
PBJ 101 – How to Make a Peanut Butter and Jelly Sandwich Learning Team A AET/541 6/11/2014.
All materials copyright UMBC unless otherwise noted CMSC201 Computer Science I for Majors Lecture 02 – Algorithmic Thinking.
“How To” Projects Miss Polito Second Grade Bradford Heights Elementary.
1 How do make a Peanut Butter and Jelly sandwich A Recipe From Annissa Chi.
Informational Writing (Procedural) ELACC5W2: Write informative/explanatory texts to examine a topic and convey ideas and information clearly. EQ: How can.
How to make a pb and j sandwich Presented by: Collin Neale Project 5.
THINKING SKILLS IN SCIENCE Language functions to express the thinking skills.
How to Make a Great PBJ A Gourmet Recipe From: Teresa and Aldeano.
Introduction to Computing Science and Programming I
CMSC201 Computer Science I for Majors Lecture 02 – Algorithmic Thinking Prof. Katherine Gibson Based on slides by Shawn Lupoli and Max Morawski at UMBC.
Task Analysis of a Ham, Cheese and Tomato Sandwich
Software Development Expansion of topics page 28 in Zelle
Principles of Programming I (CIE 105)
How do the students earn points on the essay?
Use a telephone voic system
Writing Instructions.
CS 240 – Lecture 11 Pseudocode.
Computing Year 7 - Unit 2 Programming Basics Scratch Basics.
BEGINNER PROGRAMMING LESSON
Making a PBJ Sandwich Less Mess, No Stress
What is a computer program?
The procedure.
Leaving messages on answer machines
Timetables.
Grilled Cheese Lab.
How to make a peanut butter & jelly sandwich
Computational Thinking for KS3
How to Make a Peanut Butter and Jelly Sandwich
Programming.
BEGINNER PROGRAMMING LESSON
Sequence of Events.
WARM-UP 10/23/13 1) Are you making up a test today? Come see me.
Developing A Good Procedure
Software Development Techniques
3/23: Limiting Reactant DO NOW
Instructional Focus Lesson Plan Reading 2.3 Grade 1
Presentation transcript:

SCIENCE ON FRIDAYS

WHAT IS AN ALGORITHM? Algorithms should be written on paper to be shared and reviewed. You should not be writing any code, nor should you develop algorithms "in your heads."

Algorithm: Calling a friend on the telephone   Input: The telephone number of your friend. Output: None Steps: Pick up the phone and listen for a dial tone Press each digit of the phone number on the phone If busy, hang up phone, wait 5 minutes, jump to step 2 If no one answers, leave a message then hang up If no answering machine, hang up and wait 2 hours, then jump to step 2 Talk to friend Hang up phone Assumptions: Step 1 assumes that you live alone and no one else could be on the phone. The algorithm assumes the existence of a working phone and active service. The algorithm assumes you are not deaf or mute. The algorithm assumes a normal corded phone.

Algorithm execution This is an example of an algorithm for sorting cards with colors on them into piles of the same color: Pick up all of the cards. Pick a card from your hand and look at the color of the card. If there is already a pile of cards of that color, put this card on that pile. If there is no pile of cards of that color, make a new pile of just this card color. If there is still a card in your hand, go back to the second step. If there is not still a card in your hand, then the cards are sorted. You are done.

Let’s do an Algorithm. One you can eat Let’s do an Algorithm. One you can eat. I will be your “computer” and follow exactly each step of your algorithm and I will also be the “stupid” computer I talked about. Use the paper given you and don’t leave anything out

Here is an example of a algorithm that will get you a peanut butter and jelly sandwich. Step 1: Gather Your Ingredients for the Sandwich. ... Step 2: Put Gloves on (optional) ... Step 3: Pull Out Two Slices of Bread and put on plate. ... Step 4: Open Peanut Butter and Jelly. … Step 5 Pick up butter knife. ... Step 6: Spread the Peanut Butter Onto One Slice of Bread. ... Step 7: Spread the Jelly Onto the Other Slice of Bread. ... Step 8: Combine the Two Slices. Step 9: Say: Enjoy

Programming is a process and errors are expected Programming is a process and errors are expected. It is an act of repeating a process, to generate a sequence of outcomes, with the aim of approaching a desired goal, target or result (making a PBJ sandwich). Debugging is the routine process of locating and removing computer program bugs, errors or abnormalities, which is handled by software programmers via debugging tools. Debugging checks, detects and corrects errors or bugs to allow proper program operation according to set specifications. You will "debug" your algorithms and fix all errors and ambiguities. Changes should be made on paper. https://teals-introcs.gitbooks.io/introduction-to-computer-science-principles/content/lesson_02.html

https://www.youtube.com/watch?time_continue=105&v=7cXEOWAStq4