Docsity

Bijection Functions - Discrete Mathematics - Exam, Exams of Discrete Mathematics

Toggle sidebar
bg1
CS 173: Midterm Exam 1
Spring 2005
Name:
NetID:
Lecture Section:
General Directions
1. Make sure your name is on every page.
2. There are 11 pages, including a sheet of scratch paper. Make sure that you answer all 14 questions.
3. Remember to write clearly and legibly. Unreadable answers will receive no credit.
4. This is a closed book exam. No notes of any kind are allowed.
5. Remember to time yourself.
Question Points Out of
1 5
2 5
3 5
4 5
5 5
6 5
7 5
85
910
10 10
11 10
12 10
13 10
14 10
Total 100
Page 1 of 11
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Bijection Functions - Discrete Mathematics - Exam and more Exams Discrete Mathematics in PDF only on Docsity!

CS 173: Midterm Exam 1

Spring 2005

Name:

NetID:

Lecture Section:

General Directions

  1. Make sure your name is on every page.
  2. There are 11 pages, including a sheet of scratch paper. Make sure that you answer all 14 questions.
  3. Remember to write clearly and legibly. Unreadable answers will receive no credit.
  4. This is a closed book exam. No notes of any kind are allowed.
  5. Remember to time yourself.

Question Points^ Out of

1 5

2 5

3 5

4 5

5 5

6 5

7 5

8 5

9 10

10 10

11 10

12 10

13 10

14 10

Total 100

Multiple Choice

Problem 1 (5pts)

Which one of the following functions is a bijection from

to

a)   

b)  

c)  

d) 

Problem 2 (5pts)

Which one of the following propositions is NOT a tautology?

a) '&)(+*,(- & /.

b) 2&)3+*4 .52&6(+-

c) 8-9(:'&+.;4 < .=- &

d) 2&.=4 >(?@.104  A.B2&.

Problem 3 (5pts)

Let CD FEGIHJEKG>LMHJEKGNHOEGNLLPL .Which one of the following statements is true?

a) EKGIHJEEKGNLLL is in the power set of C.

b) CFQ:EKG>LR G.

c) Let S FEKGNHOEGNLL. Then SUT+C and SUVWC.

d) CYXZEPEGNLL[ FEGIHJEKG>LMHJEPEGNLLMHJEGIHOEGNLLPL

Problem 7 (5pts)

Given the predicate symbols

u

 is “  is a dog.”

v

 is “ is a rabbit.”

\wIHxy is “  chases x.”

Which one of the following is an appropriate translation of the English statement “Only dogs chase rabbits”?

a) {z xy J}|j O

v

xy >(\wNH<xy  A.

u

b) 8|jxy J{z ~ J

v

xy >(\wIHxy  A.

u

c) z xy Oz ~ J<

v

xy €(\wIHxy  A.

u

d) 8|jxy J}|j O

v

xy N(\wIHxy  A.

u

Problem 8 (5pts)

Which one of the following arguments is NOT valid?

a) If  is a real number with ?‚dƒ , then   ‚D„. Suppose that  s

„. Then  ƒ.

b) If  is a real number with ?‚† , then   ‚‡ƒ. Suppose that 

†. Then  s ƒ.

c) All students in this class love CS173. Xavier is a student in this class. Therefore, Xavier loves CS173.

d) Every computer science major takes CS173. Natasha does not take CS173. Therefore, Natasha is not a computer science major.

Short Answer Problems

Problem 9 (10pts)

Prove the inference rule known as ”simplification” without using truth tables.

Problem 11 (10pts)

Prove or disprove the following statements.

a) For any integers i and g, i‹ŠwŒŽ@ DgFŠwŒŽ@.;iŠwŒ+ސ Dg‘’ŠwŒlŽ.

b) For any integers i and g, i Š6ŒlŽ@ gJ’ŠwŒސ.=i“ŠwŒlŽ@ gFŠwŒlŽ.

Problem 12 (10pts)

Prove that if ]dVn , then ]lX_n" n.

Problem 14 (10pts)

Let ”! , •!~ , and

v

~ be the statements ” is a duck,” ”  is annoying,” and ” is a dancer,” respectively. Express

each of these statements using quantifiers, logical connectives, and ”!~ , • , and

v

a) All ducks are annoying.

b) Some dancers are not annoying.

c) Some dancers are not ducks.

d) Does c) follow from a) and b)? Prove your response.

SCRATCH PAPER