Linear and Binary Search Algorithms

Slides:



Advertisements
Similar presentations
What is Science Lesson 6. What is Science? (Lesson 6) Objectives: Explore and Explain.
Advertisements

Straw Tower Results 8/19 Please Do Now: The scientific method is the way that scientists answer a question or solve a problem. What was your “problem”
Teacher Page IV. Force, Motion and Mechanical Energy C. Interactions of force and motion State Standards 1.5; 4.1; th grade assessment Students should.
What is technology? Who are the people that make technologies? Let’s name some examples of each!
Secret Fortress Construction Challenge Name(s): _______________________ You should have two identical LEGO block kits. Set the extra kit aside, and use.
Solve for the unknown:. Answer: Describe part 3 in the graph below. Include details about time, speed, direction and distance.
Unit 2 Day 10 FOCS – Human Computer Interaction. Journal Entry: Unit #2 Entry #9 Convert text to binary Convert the message ‘Poly pride’ into binary.
Settlement Patterns Dispersed Linear Nucleated.
By team iPhone.  lesson objectives: In this lesson you will learn what an angle of elevation and an angle of depression is. You will also learn how solve.
LESSON 5 – PROPERTIES OF LINEAR SYSTEMS SYSTEMS OF LINEAR EQUATIONS.
Systems of Linear Equations
4.1 Work, Power and Energy pp Mr. Richter.
Good morning! BELL Work (5 min.) 1.Make sure you are in your assigned seat. 2.Have signed syllabus (back page only) out to be collected. 3.Take out your.
Objectives – The Student will: 1.Name and explain the steps in the problem- solving process. 2.Solve a problem by applying the problem-solving process.
CSEB 134 Assignment 1 Problem Solving. Instructions  This is a group assignment on Problem Solving  Each group consist 2 or 3 students.  Each group.
Building a Robot Exploring Computer Science Lesson 6-4.
Scratch Dialogues Exploring Computer Science – Lesson 4-3.
Measuring Making Comparisons SMI1P3.
4. 4 A B 7 C How Much Does It Hold? Pg. 12 Volume of Prisms and Cylinders 8.4 How Much Does It Hold? Pg. 12 Volume of Prisms and Cylinders.
Understanding Block Encoding and Decoding Name(s): _______________________ In the space below, create a set of building instructions so that a friend can.
How do you find the rule in a reducing pattern? For example: Find the Rule. What are the next 4 steps: 50, 40, 31, 23, 16…..
Week 8 - Wednesday.  What did we talk about last time?  Level order traversal  BST delete  2-3 trees.
Career Planning INTRODUCTION Explore…Learn…Grow.
Career Planning What I Like to Do…... Learning Targets I can name the job that I want when I grow up. I can explain why I want this job. I can understand.
Secret Fortress Construction Challenge You should have two identical LEGO block kits. Set the extra kit aside, and use one kit to build a LEGO fortress:
Start Up Day 6 Write a linear Inequality for each graph.
Teaching to the Big Ideas K - 3. Getting to 20 You are on a number line. You can jump however you want as long as you always take the same size jump.
Data Collection and Problem Solving
Bestpowerpointtemplates.com Points of View – Telling a Story with Data Exploring Computer Science – Lesson 1-5.
Computational Problem Solving Chin-Sung Lin Eleanor Roosevelt High School.
Today you will need….. A pencil Two different crayons Your math journal.
Lathrop Intermediate School Home of the Spartans Preparing for the Future College Prep Lesson Wednesday, January 20, 2016 Respect Safe Responsibility.
Tower Building Activity
Lesson – Teacher Notes Standard: 8.SP.A.1 Construct and interpret scatter plots for bivariate measurement data to investigate patterns of association.
OPENING ACTIVITY On a sheet of paper, solve the following problems: 1.
Lists and Sorting Algorithms Exploring Computer Science – Lesson 2-7.
[name of your product] Presented by [TEAM Name] ___________ Date.
Unit 2 Day 11 FOCS – Human Computer Interaction. Tower Building Presentation Explain your solution.
On Desk: 1. Pencil 2. Calculator 3. Math Journal 4. Learning Log Learning Log: 1. HW: p. 19, #10d, 13 p. 38, #1, 29, 30, Learning Check – Finish?
Sections Power, Exponential, Log, and Polynomial Functions.
Module 7- Solving Complex Problems Solving Complex Problems The Towers Of Hanoi.
Lists and Sorting Algorithms
Precipitation Towers Developed by the Global Precipitation Measurement Mission Education and Communication Team NASA Goddard Space Flight Center.
Linear models.
Linear and Binary Search Algorithms
What is a computer? Lesson 1-1.
Lego Mindstorm Robot Educator Tutorials
Adding and Subtracting Fractions with like Denominators
Lesson 5-15 AP Computer Science Principles
Data Collection and Problem Solving
What is a computer? Lesson 1-1.
Looping and Random Numbers
Strategies for Problem Solving
Strategies for Problem Solving
Scientist vs. Engineer.
EXPLORING COMPUTER SCIENCE Journal Entries, Portfolio Entries, And Check Your Understanding Unit 2 – Strand 2 Problem Solving This unit focuses on.
Lego Mindstorm Robot Educator Tutorials
Lego Mindstorm Robot Educator Tutorials
How tall is the table?.
Day 8 – Linear Inequalities
Brown-Gold Simulation
Choosing the Best Method
35 – Local Linearization No Calculator
Binary Search Counting
Unit 2: Computational Thinking, Algorithms & Programming
Year 2 Summer Term Week 8 Lesson 1
Fractions.
Lesson – Teacher Notes Standard:
Fractions.
Building pattern  Complete the following tables and write the rule 
Presentation transcript:

Linear and Binary Search Algorithms Exploring Computer Science – Lesson 2-6

Objectives The students will be able to: Describe the linear search algorithm. Describe the binary search algorithm. Explain conditions under which each search might be appropriate.

Tower Building Activity Donald Trump wants to build a 100 meter high tower as quickly as possible. He has unlimited resources and an unlimited budget and is willing to spend any amount to get the job done. He has chosen to build the tower with blocks that are 100 meters long and 100 meters wide, but only 1 meter tall. The blocks interlock on top and bottom (like legos). They cannot be stacked sideways. Using special lifters, putting one stack on top of another stack takes one week regardless of how high the stacks are. What is the shortest amount of time that it will take to build the tower?

Tower Building Activity Before we jump to the 100 meter tower lets start with just a 5 meter tower: Week # # of Stacks # of Blocks in a Stack Remaining Blocks 5 1

Tower Building Activity Before we jump to the 100 meter tower lets start with just a 5 meter tower: Week # # of Stacks # of Blocks in a Stack Remaining Blocks 5 1 2 1 stack of 1

Tower Building Activity Before we jump to the 100 meter tower lets start with just a 5 meter tower: Week # # of Stacks # of Blocks in a Stack Remaining Blocks 5 1 2 1 stack of 1 4

Tower Building Activity Before we jump to the 100 meter tower lets start with just a 5 meter tower: Week # # of Stacks # of Blocks in a Stack Remaining Blocks 5 1 2 1 stack of 1 4 3

Tower Building Activity Using the legos at your table create a table in your journal like the one below and solve the tower building activity for 10 blocks. Week # # of Stacks # of Blocks in a Stack Remaining Blocks 10 1

Tower Building Activity Donald Trump wants to build a 100 meter high tower as quickly as possible. He has unlimited resources and an unlimited budget and is willing to spend any amount to get the job done. He has chosen to build the tower with blocks that are 100 meters long and 100 meters wide, but only 1 meter tall. The blocks interlock on top and bottom (like legos). They cannot be stacked sideways. Using special lifters, putting one stack on top of another stack takes one week regardless of how high the stacks are. What is the shortest amount of time that it will take to build the tower? As a team create the table and calculate the weeks to complete the tower. Turn this in before you leave today!

Tower Building Activity Week # # of Stacks # of Blocks in a Stack Remaining Blocks 100 1