# Homework_1_Answer - Algorithm Assistant Professor ChingChi...

This preview shows pages 1–2. Sign up to view the full content.

Ching‐Chi Lin Deadline: 2010.9.27 Homework 1 Answer 1. Examine the following formal descriptions of sets so that you understand which members they contain. Write a short informal English description of each set. (a) {-2, 4, - 8, 16, …} (b) {1, 1, 2, 3, 5, …} (c) {n | n = 2k + 1 for some k in N} (d) {c | c = (2n)! / ((n+1)! n!) for some n in N} (bonus) ANS: (a) the numbers is -2 power of k (k belongs +Z) (b) fibonacci numbers (c) odd numbers (d) catalan numbers (bonus) 2. Write formal descriptions of the following sets. (a) The set containing the numbers 1, 10, and 100 (b) The set containing all integers that are greater than 5 and less than 2 (c) The set containing all natural number less than -2 ANS: (a) {1, 10, 100} (b) empty set, , {} (c) empty set, , {} 3. Let A be the set {x, y, z} and B be the set {x, y}. (a) Is A a superset of B? (b) Is A a proper subset of B? (c)

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 03/11/2012 for the course COMPUTER S 101 taught by Professor Sipser during the Spring '12 term at University of Toronto.

### Page1 / 2

Homework_1_Answer - Algorithm Assistant Professor ChingChi...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online