Binary Continued! November 27, 2013

Similar documents
2. Tell your partner to examine the cards, and give you the cards on which the number

n r for the number. (n r)!r!

Fun and Games on a Chess Board II

Investigation of Algorithmic Solutions of Sudoku Puzzles

= (2 3 ) = c LAMC Beginners Circle September 29, Oleg Gleizer. Warm-up

COUNTING AND PROBABILITY

Let start by revisiting the standard (recursive) version of the Hanoi towers problem. Figure 1: Initial position of the Hanoi towers.

Preliminary Exercises for Factoring Quadratics

Whole Numbers. Whole Numbers. Curriculum Ready.

Olympiad Combinatorics. Pranav A. Sriram

Counters in a Cup In and Out. The student sets up the cup, drops the counters on it, and records how many landed in and out of the cup.

Principles of Counting. Notation for counting elements of sets

Three Pile Nim with Move Blocking. Arthur Holshouser. Harold Reiter.

Grade 6 Math Circles. Divisibility

PRIME FACTORISATION Lesson 1: Factor Strings

For each person in your group, designate one of the following colors: Red, Blue, and Black. Next to the color, write your name in that color:

CH 10 INTRO TO GEOMETRY

Mathematics Success Level D

The Eighth Annual Student Programming Contest. of the CCSC Southeastern Region. Saturday, November 3, :00 A.M. 12:00 P.M.

Chapter 4 Number Theory

Design Problem 1 Solutions

Permutations and Combinations. MATH 107: Finite Mathematics University of Louisville. March 3, 2014

1. More on Binomial Distributions

UN DOS TREZ Sudoku Competition. Puzzle Booklet for Preliminary Round. 19-Feb :45PM 75 minutes

Counting Techniques, Sets & Venn Diagrams

NAME DATE. b) Then do the same for Jett s pennies (6 sets of 9 pennies with 4 leftover pennies).

Whole Numbers WHOLE NUMBERS PASSPORT.

In how many ways can we paint 6 rooms, choosing from 15 available colors? What if we want all rooms painted with different colors?

Year 3 Maths Optional SAT Mark Scheme

Grade 7/8 Math Circles. Visual Group Theory

Know how to represent permutations in the two rowed notation, and how to multiply permutations using this notation.

ACTIVITY 6.7 Selecting and Rearranging Things

Probability and Statistics

Measurement of perimeter and area is a topic traditionally

Grade 7/8 Math Circles. Visual Group Theory

UNIVERSITY OF NORTHERN COLORADO MATHEMATICS CONTEST

Lesson 1: Place Value of Whole Numbers. Place Value, Value, and Reading Numbers in the Billions

Section 5.2 Graphs of the Sine and Cosine Functions

Computer Science Scholarship Puzzle Packet

Name. Is the game fair or not? Prove your answer with math. If the game is fair, play it 36 times and record the results.

Question Score Max Cover Total 149

Probability. Ms. Weinstein Probability & Statistics

Lecture 18 - Counting

Grab Bag Math ➊ ➋ ➌ ➍ ➎ ➏ ON THEIR OWN. Can you figure out all the ways to build one-layer rectangular boxes with Snap Cubes?

Rational Number Project

Inputs. Outputs. Outputs. Inputs. Outputs. Inputs

Ÿ 8.1 The Multiplication Principle; Permutations

Graphing Sine and Cosine

Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates

Multiplying Three Factors and Missing Factors

Study Guide: 5.3 Prime/Composite and Even/Odd

Tiling Problems. This document supersedes the earlier notes posted about the tiling problem. 1 An Undecidable Problem about Tilings of the Plane

Grade 6 Math Circles March 7/8, Magic and Latin Squares

Math 152: Applicable Mathematics and Computing

Volume 6 October November 2010

Lesson 1. Numbers Large and Small. Let s Explore

each pair of constellation points. The binary symbol error that corresponds to an edge is its edge label. For a constellation with 2 n points, each bi

Complete the following patterns (NO CALCULATORS)

Austin and Sara s Game

Math236 Discrete Maths with Applications

Tree and Venn Diagrams

SMT 2014 Advanced Topics Test Solutions February 15, 2014

Caltech Harvey Mudd Mathematics Competition February 20, 2010

Reading and Understanding Whole Numbers

Objective: Recognize the value of coins and count up to find their total value.

Introduction to Mathematical Reasoning, Saylor 111

Curriculum links Maths: working mathematically, number, algebra.

Multiplication and Probability

HUFFMAN CODING. Catherine Bénéteau and Patrick J. Van Fleet. SACNAS 2009 Mini Course. University of South Florida and University of St.

Description: PUP Math World Series Location: David Brearley High School Kenilworth, NJ Researcher: Professor Carolyn Maher

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences. Homework #9 Solution

Whole Numbers. Lesson 1.1 Numbers to 10,000,000

NUMBER, NUMBER SYSTEMS, AND NUMBER RELATIONSHIPS. Kindergarten:

100 (mod ) (3) [Section 1.3 Gauss s trick ]. Find the sum = Explain your method of solution:

Chapter 4: Patterns and Relationships

Searching Lesson Plan

Representing Square Numbers. Use materials to represent square numbers. A. Calculate the number of counters in this square array.

13 Searching for Pattern

17. Symmetries. Thus, the example above corresponds to the matrix: We shall now look at how permutations relate to trees.

2. Travis built this solid:

Why Should We Care? Everyone uses plotting But most people ignore or are unaware of simple principles Default plotting tools are not always the best

Grade 6 Math Circles February 21/22, Patterns - Solutions

TOPIC 2: HOW TO COUNT

six-eighths one-fourth EVERYDAY MATHEMATICS 3 rd Grade Unit 5 Review: Fractions and Multiplication Strategies Picture Words Number

r = (a cos θ, b sin θ). (1.1)

Dependence. Math Circle. October 15, 2016

Maths Year 5 Optional SATs Mark Scheme paper

Roll & Make. Represent It a Different Way. Show Your Number as a Number Bond. Show Your Number on a Number Line. Show Your Number as a Strip Diagram

Computer Science COMP-250 Homework #4 v4.0 Due Friday April 1 st, 2016

Series. Student. Numbers. My name

Number. Place value. Vocabulary. Raphael has eight digit cards. He uses the cards to make two four-digit numbers. He uses each card only once.

Shapes. Practice. Family Note. Unit. show 3-sided, 4-sided, 5-sided, and 6-sided shapes. Ask an adult for permission first. Add.

created by: The Curriculum Corner

Mathematics Enhancement Programme TEACHING SUPPORT: Year 3

1 Integers and powers

Lesson 1: Introductions to Dilations

2359 (i.e. 11:59:00 pm) on 4/16/18 via Blackboard

First Name: Last Name: Select the one best answer for each question. DO NOT use a calculator in completing this packet.

Spring 06 Assignment 2: Constraint Satisfaction Problems

Reading and Understanding Whole Numbers

Transcription:

Binary Tree: 1

Binary Continued! November 27, 2013 1. Label the vertices of the bottom row of your Binary Tree with the numbers 0 through 7 (going from left to right). (You may put numbers inside of the circles). 2. Play the game Guess my number (with numbers from 0 to 7). The goal is to be able to guess the number in 3 attempts (or less, if you are lucky). Can you think of how the edges can help you to formulate the strategy? What is the best way to play the game? Solution: Always ask the question that will reduce the number of possible solutions by half until you are left with only one possible answer. So, start with the question, Is it greater than 3?, and depending on the answer, then ask, Is it greater than ve?, or Is it greater than 1?, and so on and so forth. This will gaurantee you to guess the number in three turns. 2

Label all the edges pointing to the left by 0; Label all the edges pointing to the right by 1. The path connecting the top circle with any of the numbers on the bottom gives you a string of 0s and 1s. 3. For each number on the bottom, there is exactly one path from the top circle down to this number. a. Choose a color and mark the path from the top circle to the number 3. b. Going from top to bottom, write down the string of 0s and 1s along the path going from the top circle to the number 3. Solution: 011 3

4. Mark with a dierent color the path from the top circle to the numbers 6 and 7. a. Write down the string of 0s and 1s along the path from the top circle to the number 6. Solution: 110 b. Write down the string of 0s and 1s along the path from the top circle to the number 7. Solution: 111 5. Do you recognize your answers in (3b), (4a), and (4b) (you can ignore the 0s in the beginning of the string)? What do these answers represent? Solution: They are the binary representations of the corresponding numbers. 6. How many questions do you have to ask to guess the number in the Guess my number game with numbers ranging a. from 0 through 7? Solution: 3 b. from 0 through 15? Solution: 4 c. from 0 through 31? Solution: 5 4

A card trick I have 4 cards with numbers 1 through 15 written on them. (Note that most of the numbers appear on several cards). Here are the cards: Card 1 Card 2 Card 3 Card 4 ( 8 9 10 11 12 13 14 15 ) ( 4 5 6 7 12 13 14 15 ) ( 2 3 6 7 10 11 14 15 ) ( 1 3 5 7 9 11 13 15 ) All these numbers can be written in binary notation using 4 digits (for some numbers, the rst digit(s) can be 0s). 7. List all the numbers that appear only on one card. Do you recognize them? Solution: 1, 2, 4, 8 (powers of 2) 8. What do all the numbers on Card 4 have in common? Solution: They are all odd. 5

6

9. What do you notice about all the numbers on Card 1? Solution: They are the eight largest numbers 10. Choose a color. On the binary tree given to you, circle the numbers appearing on Card 1. a. Starting at the top circle, follow the paths you must take to reach the numbers on Card 1. What do all these paths have in common? Solution: As you make your way down the tree, your rst choice must be to follow an edge that has a 1 to get to any of these numbers.. b. What is the rst binary digit of all the numbers appearing on Card 1? Solution: 1 7

11. Choose a new color, and circle all the numbers appearing on Card 2. a. Starting at the top circle, follow the paths you must take to reach the numbers on Card 2. What do all these paths have in common? Solution: As you make your way down the tree, your second choice must be to follow an edge that has a 1 to get to any of these numbers.. b. What is the second binary digit of all the numbers appearing on Card 1? Solution: 1 12. Choose a third color, and circle all the numbers appearing on Card 3. a. Starting at the top circle, follow the paths you must take to reach the numbers on Card 3. What do all these paths have in common? Solution: As you make your way down the tree, your third choice must be to follow an edge that has a 1 to get to any of these numbers.. b. What is the third binary digit of all the numbers appearing on Card 3? Solution: 1 8

13. Choose a fourth color, and circle all the numbers appearing on Card 4. a. Starting at the top circle, follow the paths you must take to reach the numbers on Card 4. What do all these paths have in common? Solution: As you make your way down the tree, your fourth choice must be to follow an edge that has a 1 to get to any of these numbers. b. What is the fourth binary digit of all the numbers appearing on Card 4? Solution: 1 14. Is there a number that appears on all the cards? How do you write that number in binary notation? Solution: 15 appears on all the cards. In binary notation, that is 1111. 9

Homework! Review all the material we learned this Fall and get ready for the last day of class! :) 10