Best of luck on the exam!

Similar documents
CS103 Handout 22 Fall 2017 October 16, 2017 Practice Midterm Exam 2

CS103 Handout 25 Spring 2017 May 5, 2017 Problem Set 5

Practice Midterm Exam 5

Checkpoint Questions Due Monday, October 7 at 2:15 PM Remaining Questions Due Friday, October 11 at 2:15 PM

Name: Exam Score: /100. Exam 1: Version C. Academic Honesty Pledge

ECON 282 Final Practice Problems

Ideas beyond Number. Activity worksheets

Midterm Examination. CSCI 561: Artificial Intelligence

MATH 200 FINAL EXAM PEYAM RYAN TABRIZIAN

CMPSCI 240: Reasoning Under Uncertainty First Midterm Exam

Stat 155: solutions to midterm exam

CMPSCI 240: Reasoning Under Uncertainty First Midterm Exam

CSE 312 Midterm Exam May 7, 2014

DVA325 Formal Languages, Automata and Models of Computation (FABER)

NAME : Math 20. Midterm 1 July 14, Prof. Pantone

CS 202, section 2 Final Exam 13 December Pledge: Signature:

Midterm 2 6:00-8:00pm, 16 April

Section Marks Agents / 8. Search / 10. Games / 13. Logic / 15. Total / 46

Unless stated otherwise, explain your logic and write out complete sentences. No notes, books, calculators, or other electronic devices are permitted.

Probability and Statistics

MA 110 Homework 1 ANSWERS

CS188: Artificial Intelligence, Fall 2011 Written 2: Games and MDP s

MASSACHUSETTS INSTITUTE OF TECHNOLOGY

Sets. Definition A set is an unordered collection of objects called elements or members of the set.

Math 1001: Excursions in Mathematics Final Exam: 9 May :30-4:30 p.m.

Grade 7/8 Math Circles Game Theory October 27/28, 2015

Grade 6 Math Circles Combinatorial Games - Solutions November 3/4, 2015

GAMES AND STRATEGY BEGINNERS 12/03/2017

Problem 1 (15 points: Graded by Shahin) Recall the network structure of our in-class trading experiment shown in Figure 1

Game 0: One Pile, Last Chip Loses

Introduction to Spring 2009 Artificial Intelligence Final Exam

MATH 225: Foundations of Higher Matheamatics. Dr. Morton. Chapter 2: Logic (This is where we begin setting the stage for proofs!)

Game Theory and Algorithms Lecture 19: Nim & Impartial Combinatorial Games

MITOCW Lec 25 MIT 6.042J Mathematics for Computer Science, Fall 2010

Mathematics Alignment Lesson

CS 210 Fundamentals of Programming I Spring 2015 Programming Assignment 8

UMBC 671 Midterm Exam 19 October 2009

Name: Exam 01 (Midterm Part 2 Take Home, Open Everything)

Lecture 5: Subgame Perfect Equilibrium. November 1, 2006

MDM4U Some Review Questions

Math 152: Applicable Mathematics and Computing

CS 210 Fundamentals of Programming I Fall 2015 Programming Project 8

Similarly, for N players in a round robin tournament, where every player plays every other player exactly once, we need to arrange N (N 1) games.

Teacher s Notes. Problem of the Month: Courtney s Collection

(a) Left Right (b) Left Right. Up Up 5-4. Row Down 0-5 Row Down 1 2. (c) B1 B2 (d) B1 B2 A1 4, 2-5, 6 A1 3, 2 0, 1

COMPSCI 223: Computational Microeconomics - Practice Final

Grade 6 Math Circles Combinatorial Games November 3/4, 2015

Using Technology to Conduct a Simulation. ESSENTIAL QUESTION How can you use technology simulations to estimate probabilities?

37 Game Theory. Bebe b1 b2 b3. a Abe a a A Two-Person Zero-Sum Game

Ideas beyond Number. Teacher s guide to Activity worksheets

THEORY: NASH EQUILIBRIUM

MAT 302: ALGEBRAIC CRYPTOGRAPHY. Department of Mathematical and Computational Sciences University of Toronto, Mississauga.

Final exam. Question Points Score. Total: 150

Dominant and Dominated Strategies

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

CS188 Spring 2010 Section 3: Game Trees

Senior Math Circles February 10, 2010 Game Theory II

Discrete Mathematics and Probability Theory Spring 2018 Ayazifar and Rao Midterm 2 Solutions

Plan. Related courses. A Take-Away Game. Mathematical Games , (21-801) - Mathematical Games Look for it in Spring 11

( n) Lower bounds for Selection (cont)

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Midterm 1. Exam location: 1 Pimentel, back half: SIDs ending in X or Y

MITOCW R22. Dynamic Programming: Dance Dance Revolution

Rotational Puzzles on Graphs

Junior Circle Meeting 5 Probability. May 2, ii. In an actual experiment, can one get a different number of heads when flipping a coin 100 times?

Combined Games. Block, Alexander Huang, Boao. icamp Summer Research Program University of California, Irvine Irvine, CA

Combinatorial Games. Jeffrey Kwan. October 2, 2017

MthSc 103 Test #1 Spring 2011 Version A JIT , 1.8, , , , 8.1, 11.1 ANSWER KEY AND CUID: GRADING GUIDELINES

0:00:07.150,0:00: :00:08.880,0:00: this is common core state standards support video in mathematics

Finite Mathematical Structures A

Exercises Exercises. 1. List all the permutations of {a, b, c}. 2. How many different permutations are there of the set {a, b, c, d, e, f, g}?

Note that there are questions printed on both sides of each page!

Math236 Discrete Maths with Applications

Cardinality revisited

PROBLEM SET 2 Due: Friday, September 28. Reading: CLRS Chapter 5 & Appendix C; CLR Sections 6.1, 6.2, 6.3, & 6.6;

CSE 21 Practice Final Exam Winter 2016

Math 167 Ch 9 Review 1 (c) Janice Epstein

1. The empty set is a proper subset of every set. Not true because the empty set is not a proper subset of itself! is the power set of A.

Part I. First Notions

D. Plurality-with-Elimination Method

UNIVERSITY of PENNSYLVANIA CIS 391/521: Fundamentals of AI Midterm 1, Spring 2010

NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER II EXAMINATION MH1301 DISCRETE MATHEMATICS. Time Allowed: 2 hours

Study Guide: 5.3 Prime/Composite and Even/Odd

Name Period GEOMETRY CHAPTER 3 Perpendicular and Parallel Lines Section 3.1 Lines and Angles GOAL 1: Relationship between lines

Grade 7 & 8 Math Circles. Mathematical Games

Multiagent Systems: Intro to Game Theory. CS 486/686: Introduction to Artificial Intelligence

CS 540-2: Introduction to Artificial Intelligence Homework Assignment #2. Assigned: Monday, February 6 Due: Saturday, February 18

6.042/18.062J Mathematics for Computer Science December 17, 2008 Tom Leighton and Marten van Dijk. Final Exam

Math 206 First Midterm February 1, 2012

February 11, 2015 :1 +0 (1 ) = :2 + 1 (1 ) =3 1. is preferred to R iff

Euclid Contest Tuesday, April 15, 2014 (in North America and South America)

PROBLEMS & INVESTIGATIONS. Introducing Add to 15 & 15-Tac-Toe

arxiv: v2 [cs.cc] 18 Mar 2013

CS 32 Puzzles, Games & Algorithms Fall 2013

The Hex game and its mathematical side

4th Bay Area Mathematical Olympiad

Dealing with some maths

CRACKING THE 15 PUZZLE - PART 4: TYING EVERYTHING TOGETHER BEGINNERS 02/21/2016

12. 6 jokes are minimal.

Odd king tours on even chessboards

CS188 Spring 2010 Section 3: Game Trees

Transcription:

CS103 Handout 18 Fall 2014 October 20, 2014 Practice Midterm Exam This practice exam is closed-book and closed-computer but open-note. You may have a doublesided, 8.5 11 sheet of notes with you when you take this exam. Please hand-write all of your solutions on this physical copy of the exam. On the actual exam, there'd be space here for you to write your name and sign a statement saying you abide by the Honor Code. We're not collecting or grading this exam (though you're welcome to step outside and chat with us about it when you're done!) and this exam doesn't provide any extra credit, so we've opted to skip that boilerplate. You have three hours to complete this practice midterm. There are 24 total points. This practice midterm is purely optional and will not directly impact your grade in CS103, but we hope that you find it to be a useful way to prepare for the exam. You may find it useful to read through all the questions to get a sense of what this practice midterm contains before you begin. Question Points Grader (1) Set Theory (6) / 6 (2) Graph Theory (6) / 6 (3) Induction (6) / 6 (4) Mathematical Logic (6) / 6 Best of luck on the exam! (24) / 24

Problem One: Set Theory (6 Points) On Problem Set One, you explored properties of sets and in particular the difference between the and relations. This question asks you to revisit those relationships and see in what contexts they overlap. i. (2 Points) Find a set S of cardinality three where S (S). Briefly justify why your set has this property. 2 / 8 ii. (2 Points) Find three sets with the following properties: if you pick any two different sets A and B out of the group, then A B iff A B. Briefly justify why your sets have these properties.

iii. (2 Points) Prove that if S is a set and S = 103, then S is not the power set of any set (that is, there is no set T where S = (T)). As a hint, you might want to use a result from Problem Set Two. 3 / 8

Problem Two: Graph Theory (6 Points) In this question, we're going to return to tournament graphs and tournament winners (which you first explored in Problem Set Two) and see some of their other strange properties. 4 / 8 Here's a quick refresher of some definitions you'll need in this problem. A tournament is a contest between some number players in which each player plays each other player exactly once. We assume that no games end in a tie, so each game ends in a win for one of the players. A tournament winner in a tournament is a player w where, for each other player p, either player w beat player p, or player w beat some other player who in turn beat player p. Now, let's introduce a new definition. We'll say that a tournament G is an egalitarian tournament if G has an odd number of players (say, 2n + 1 players) and each player won exactly n games. In other words, G is egalitarian if it contains an odd number of players and each player won exactly half the games she played. Prove that if G is an egalitarian tournament, then every player in G is a tournament winner. (Hint: We recommend not using induction here. Instead, try using a proof by contradiction.)

Problem Three: Induction (6 Points) In this problem, you'll see a new type of graph called the k-clique, then will prove a useful property of k- cliques with applications to social network analysis. A k-clique is a graph with k nodes where each node is connected to the k-1 other nodes in the graph. For example, here's a 4-clique and a 5-clique: 5 / 8 Now, suppose that you take a k-clique and color each edge either red or blue. Prove the following result by induction: if the k-clique contains an odd-length cycle made only of blue edges, then it must contain a cycle of length three with an odd number of blue edges (that is, a cycle of length three with exactly one blue edge or exactly three blue edges.) This result might seem pretty strange, but trust me, it's meaningful. We'll put details in the solution set. As a hint, try doing induction on the length of the cycle rather than the number of nodes in the graph.

(Extra space for Problem Three, if you need it.) 6 / 8

7 / 8 Problem Four: Mathematical Logic (6 Points) There's a close connection between mathematical logic and set theory. The first part of this question explores this connection. For any sets A and B, consider the set S defined below: S = { x (x A x B) } i. (2 Points) Write an expression for S in terms of A and B using the standard set operators (union, intersection, etc.), but without using set-builder notation. Briefly justify why your answer is correct.

8 / 8 Two candidates X and Y are running for office and are counting final votes. Candidate X argues that more people voted for him than for Candidate Y by making the following claim: For every ballot cast for Candidate Y, there were two ballots cast for Candidate X. Candidate X states this in first-order logic as follows: b. (BallotForY(b) b 1. b 2. (BallotForX(b 1 ) BallotForX(b 2 ) b 1 b 2 )) However, it is possible for the above first-order logic statement to be true even if Candidate X didn't get the majority of the votes. ii. (4 Points) Give an example of a set of ballots such that 1. every ballot is cast for exactly one of Candidate X and Candidate Y, 2. the set of ballots obeys the rules described by the above statement in first-order logic, but 3. candidate Y gets strictly more votes than Candidate X. You should justify why your set of ballots works, though you don't need to formally prove it. Make specific reference to the first-order logic statement in your justification.