Work easier problems first. Write out your plan for harder problems before beginning them.

Similar documents
Fall 2017 Test II review problems

Franklin Math Bowl Algebra I All answers are presented accurate to three decimal places unless otherwise noted. Good luck! c.

Amy's Halloween Secret

1 True/False. Math 10B with Professor Stankova Worksheet, Discussion #9; Thursday, 2/15/2018 GSI name: Roy Zhao

Name Period Date MATHLINKS GRADE 8 STUDENT PACKET 5 EXPRESSIONS AND EQUATIONS 2

The Basics: Twenty-Seven Problems

3.6 Equations and Fractions

Semester 2 Final Exam Review Guide for AMS I

MATH 021 TEST 3 REVIEW SHEET

Grade 6 Math Circles November 17, 2010 Sequences

True/False. Math 10B with Professor Stankova Worksheet, Midterm #1; Friday, 2/16/2018 GSI name: Roy Zhao

LETTER TO PARENTS SCIENCE NEWS. Dear Parents,

Unit 1: Number System Fluency

4. Suppose that we roll two die and let X be equal to the maximum of the two rolls. Find P (X {1, 3, 5}) and draw the PMF for X.

2 Introduction to Variables

Grade 4 2nd three months in school

SOLVING LINEAR INEQUALITIES

CMPSCI 611 Advanced Algorithms Midterm Exam Fall 2015

University of Houston High School Mathematics Contest Algebra II Exam Spring 2012

Folktales. Adventures in Reading: Family Literacy Bags from Reading Rockets

CHAPTER 5: ALGEBRA CHAPTER 5 CONTENTS

F 99 Final Quiz Solutions

Unit 4: Inequalities. Inequality Symbols. Algebraic Inequality. Compound Inequality. Interval Notation

Trick or Treat UNIT 19 FICTION. #3893 Nonfiction & Fiction Paired Texts 100 Teacher Created Resources

Sequences and Summations ICS 6D. Prof. Sandy Irani

FINAL REVIEW MATH 6 STUDENT NAME MATH TEACHER

Chapter Three: Translations & Word Problems

Pre-Junior Certificate Examination, Mathematics. Paper 1 Ordinary Level Time: 2 hours. 300 marks. For examiner Question Mark Question Mark

Chapter 9: Apportionment

C. I. Quizzes Fifth Grade Math

CS 2336 Discrete Mathematics

Homework assignment 1: Solutions

Section 5: Ratios and Proportions

GRE. Advanced GRE Math Questions

Name Period Date DRAFT

Name: Class: Date: 1. Answer the question with an algebraic expression, using the suggested variable.

Halloween. October 31 st - the scariest night of the year!

Enter the missing numbers in the table to see if the baker is correct.

In examples 1 to 3, write the correct answer from the given four options:

Name: Mathematics 1C03

Discrete Mathematics and Probability Theory Summer 2014 James Cook Midterm 1 (Version B)

CIE-USA/DFW. MathComp Grade questions. Time: One Hour

MCS 256 Discrete Calculus and Probability Exam 5: Final Examination 22 May 2007

Section A Number Facts

1 The Basic Counting Principles

Concepts in Statistics

Generating Functions (Revised Edition)

4th Grade Math Lesson Plan Unit 4.5A Lesson 1

Midterm. You may use a calculator, but not any device that can access the Internet or store large amounts of data.

The Purpose of Hypothesis Testing

ALGEBRA 1 FINAL EXAM 2006

Name: Class: Date: ID: A. Find the mean, median, and mode of the data set. Round to the nearest tenth. c. mean = 9.7, median = 8, mode =15

Counting Methods. CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo

Before Reading. Practice. rich prize spaceship Mars. race Earth astronauts broken. A. Fill in the blanks using the word list.

Explorers 5 Teacher s notes for the Comprehension Test: Aladdin

Section 2.5 Ratios and Proportions

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

CPSC 320 Sample Final Examination December 2013

Applications of Mathematics

Patterns and relations Solving Equations Big Idea Learning Goals Essential Question Important Words

Proof Techniques (Review of Math 271)

Algebra Year 10. Language

Discrete Mathematics and Probability Theory Summer 2014 James Cook Final Exam

Multiplication and Division

Discrete Mathematics and Probability Theory Fall 2017 Ramchandran and Rao Final Solutions

Inequalities Chapter Test

Lecture 4: Counting, Pigeonhole Principle, Permutations, Combinations Lecturer: Lale Özkahya

Quiz 1 Solutions. Problem 2. Asymptotics & Recurrences [20 points] (3 parts)

Casting out Nines, and other kinds of Math Magic

Fundamentals of Mathematics I

Kansas City Area Teachers of Mathematics 2016 KCATM Math Competition NUMBER SENSE GRADE 6 NO CALCULATOR

UNIT 7 CCM6 and CCM6+ UNIT 7. Equations and Inequalities. CCM6 and CCM Unit 7 Vocabulary...2

University of New Mexico Department of Computer Science. Midterm Examination. CS 261 Mathematical Foundations of Computer Science Spring, 2010

Part 1 will be selected response. Each selected response item will have 3 or 4 choices.

Egyptian Fractions: Part I

Algebra I Solving & Graphing Inequalities

GRADE 7 MATH LEARNING GUIDE. Lesson 26: Solving Linear Equations and Inequalities in One Variable Using

Slide 1 / 68. Order of Operations

Solving Equations by Adding and Subtracting

Some Review Problems for Exam 3: Solutions

Unit 6 Part 2 Quadratic Functions 2/28/2017 3/22/2017

University of New Mexico Department of Computer Science. Final Examination. CS 561 Data Structures and Algorithms Fall, 2006

Math 5 Review Stations #2. 1. Based on the order of operations, which is the first step in simplifying this expression?

HW A) SWBAT identify the properties of operations Create flashcards or a some type of foldable that shows the following properties of operations

Math 3 Proportion & Probability Part 2 Sequences, Patterns, Frequency Tables & Venn Diagrams

Ciphering Round Junior Varsity League

UNIT 5 INEQUALITIES CCM6+/7+ Name: Math Teacher:

Lesson 7: Literal Equations, Inequalities, and Absolute Value

57th ANNUAL HIGH SCHOOL HONORS MATHEMATICS CONTEST

Math 1 Variable Manipulation Part 4 Student

Chapter 1 Review of Equations and Inequalities

Multiplying a Polynomial by a Monomial

1/ 17 2/20 3/19 4/12 5/14 6/13 7/10 Total /105. Please do not write in the spaces above.

Counting. Spock's dilemma (Walls and mirrors) call it C(n,k) Rosen, Chapter 5.1, 5.2, 5.3 Walls and Mirrors, Chapter 3 10/11/12

LINEAR RECURSIVE SEQUENCES. The numbers in the sequence are called its terms. The general form of a sequence is

Math5900 Final Review

Q1. Amina is making designs with two different shapes.

READY WRIGLEY PREPARES FOR HURRICANES

Discrete Mathematics & Mathematical Reasoning Chapter 6: Counting

Name: Exam 2 Solutions. March 13, 2017

Transcription:

Notes:??? Form R 1 of 7 Directions: For multiple choice (A, B, C, etc.), circle the letter of the best choice. For TRUE/FALSE, circle the word TRUE or the word FALSE. When a list of choices is given for a fill-in-the-blank, circle the word or phrase you feel most appropriately matches the surrounding sentence. Otherwise follow the directions given. I would prefer answers be left as an unevaluated formula than a giant number of any accuracy. I m not testing your ability to type into the calculator and copy the answer back off, after all, but rather your ability to use the correct formula(s) for the situation and fill in the main variables to get it started. Work easier problems first. Write out your plan for harder problems before beginning them. 1) Meg decides to throw her 10-year-old daughter Sue a birthday party and allows her to invite 15 friends to the house. Meg purchases 25 red balloons for the children, since red is Sue s favorite color. In how many ways can the balloons be distributed to the children at the birthday party (including Sue), assuming that no child should go home without a balloon? 2) An English professor has chosen five novels for a course in contemporary literature. Each student must choose to write an analysis of at least one of the novels. Extra credit will be given for every additional analysis. There are six students enrolled in the class. What is the number of ways the students can submit reports? 3) I have a bowl of identical candy bars. Four young trick-or-treaters have just knocked on my door and are holding their bags out for some candy. If I grab six candy bars from my bowl, in how many ways can I distribute all six of them? Give two answers: (a) I will try to be fair (b) I need not be fair. 4) The people in charge of a raffle are going to give out four prize bags to the raffle winners. They want to make sure that each prize bag contains at least one of the 11 gift certificates for a department store. In how many ways can the prize bags be prepared, assuming that all the gift certificates are of the same monetary value?

Notes:??? Form R 2 of 7 5) Use Theorem 7.22 on multiplying generating functions to find the coefficients of the following generating function. Simplify as far as possible. k k 8ÿ 8ÿ 3 k z 3 k z k 0 k 0 6) Use Newton s binomial theorem to expand the following into a power series: ˆ 1 3 1 4z 2 7) Mary made three dozen identical homemade chocolate chip cookies and is going to distribute them to four families in her neighborhood. Each family must receive at least six cookies. The Landers family cannot receive more than seven cookies because the mother does not want her family eating too many sweets. Mary also knows that there are many children in the Johnson family, so she wants to give them an ample supply of cookies. There are seven people in this family, and Mary wants to make sure that each family member gets at least two cookies. In how many ways can Mary distribute the chocolate chip cookies to the four neighborhood families? (Of course you should use generating functions in your solution strategy.)

8) Recall Example 7.4. Notes:??? Form R 3 of 7 i) Use pseudocode to write a recursive algorithm for calculating the sum of the first n non-negative integers. You may assume that n will never be less than 0. ii) Does this algorithm use tail-end recursion? (Shouldn t it?) iii) Use pseudocode to write a non-recursive algorithm for calculating the sum of the first n nonnegative integers. 9) Solve the following recurrence relation. (No, I don t want to know what all the numbers are, I want you to find a closed-form formula). a 0 7 and a n pn ` 1qa n 1, n ě 1

Notes:??? Form R 4 of 7 10) The following algorithm takes an unsorted list of positive integers, along with two integers x and y. It returns the largest number, z, in the list such that either z x y or z y x is true. It returns 0 if no such z exists. The algorithm assumes that the list size, n, is a power of 2 with n ě 1. 1 : integer xymax(x,y,ta 0, a 1,..., a n 1 u) 2 : if n == 1 3 : if (a x 0 == y) or (ay 0 == x) 4 : return a 0 5 : else 6 : return 0 7 : 8 : # process the left half 9 : 10 : m 1 = xymax(x,y,ta 0,..., a t n 2 u 1u) 11 : 12 : # process the right half 13 : 14 : m 2 = xymax(x,y,ta t n 2 u,..., a n 1 u) 15 : 16 : # find the largest 17 : 18 : max = m 1 19 : if m 2 ą max 20 : max = m 2 21 : 22 : return max 23 : end xymax i) What is the recurrence relation that counts the number of comparisons for this algorithm? (The critical steps are at lines 2, 3, and 19.) ii) What is a good big-θ reference function for algorithmxymax?

Notes:??? Form R 5 of 7 11) Find a closed-form formula for the following linear homogeneous recurrence relation with constant coefficients. Do not round off or use calculator approximations: use exact arithmetic! a 0 2, a 1 2, and a n 2a n 1 ` 15a n 2, n ě 2 Bonus Problems: 12) Repeat Quick Check 7.1 (page 338) but in line 14 ofsubsetsum, always choose the smallest element of W. i) Diagram of recursive invocations: ii) Which strategy (largest element as in the original Quick Check or smallest element as here) seems better? (Explain your answer.)

Notes:??? Form R 6 of 7 13) Find a closed-form formula for this following linear homogeneous recurrence relation with constant coefficients. Do not round off or use calculator approximations: use exact arithmetic! a 0 4, a 1 3, a 2 0, and a n 3a n 1 3a n 2 a n 3, n ě 3 14) A library has four identical display cases that are used to promote new acquisitions. This month, the librarians wish to promote nine books. They do not want any empty display cases. In how many ways can the books be displayed?

Notes:??? Form R 7 of 7 15) Find theθperformance of algorithms with the given recurrence relations. i) f p1q 11 and f pnq 2 f ` n 4 ` 1 log 4 4 pnq ii) f p1q 1 and f pnq f ` n 5 ` 2? n 16) Use a generating function approach to solve the following recurrence relation: a 0 2, a 1 2, and a n 2a n 1 ` 15a n 2, n ě 2