Square Root - Discrete Structures - Exam, Exams of Discrete Structures and Graph Theory

This exam paper is very easy to understand and very helpful to built a concept about the foundation of computers and discrete structures.The key points in these exam are:Square Root, Laws of Logic, Domain and Image, Negation of Universal Conditional, Rules of Inference, Valid Argument, Properties of Sets, Euclidean Algorithm, Algorithm of Complexity, Expression for Series, Binary Strings

Typology: Exams

2012/2013

Uploaded on 04/27/2013

ashakiran
ashakiran 🇮🇳

4.5

(27)

261 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CMSC 203 - Discrete Structures - FINAL EXAMIMATION - Spring 2005
1. (a) Use the Laws of Logic to show: q ¬ (r p) (q r) (p q)
(b) Find the negation of the following Universal Conditional:
All people who like Mathematics get good jobs.
(c) Use the rules of inference to show the following is a valid argument:
p q r ¬q p r s s
2. (a) Find A × B for the sets A = {x, y} and B = {1, 2, 3}
(b) Using the Properties of Sets, show for any sets A, B and C, (A B) C = (A C) B.
3. (a) For F = {(b,g), (d,d), (g,a), (n,b), (r,b)}, what Domain and Image make F a function?
(b) Why or why not is the inverse in (a) a function?
(c) Find F(G(x)) for the following Real-valued functions: F(x) = 2(2x+1) and G(x) = 2x 2.
4. (a) Use the Euclidean Algorithm to find GCD(154,84).
(b) Find Big-O of the algorithm whose complexity is F(n) = (3n5)(n6 + 5n4)(2n3 + 3n + 2).
5. Prove 1 of the 2 Theorems below:
Theorem 1: Show that the function f: R R given by f(x) = π(x + e) is a bijection.
Theorem 2: The square root of 3 is irrational. (Assume the Lemma: If 3 divides INT2 then 3
divides INT)
6. (a) Find the next 3 terms of the sequence sn = 2sn-1 3sn-2 when s0 = 1 and s1 = 0.
(b) Find an expression for the series:
7. Prove 1 of the 2 Theorems that follow by Mathematical Induction.
Theorem 1: If a set has n elements, then it has 2n subsets.
Theorem 2: Is sn = sn-1 + sn-2 + sn-3 + sn-4 when s0 = s1 = s2 = s3 = 1 then sn is even, for all n > 4.
8. (a) A restaurant serves 4 soups, 6 salads, 8 entrees, 10 desserts, and 12 beverages. How many
dinners can they create if each dinner consists of a soup or salad, an entree, and a dessert or
beverage?
(b) How many binary strings of length 32 have no more than 3 zeros?
(c) How many ways can judges award 1st, 2nd, and 3rd Place prizes to 25 contestants?
(d) How many distinct piles of 200 coins (pennies, nickels, dimes, quarters, half-dollars, and dol-
lars) can I create from a vast quantity of coins, if I must have at least 10 of each in its pile?
34()
i2.
i
1=
100
Docsity.com
pf2

Partial preview of the text

Download Square Root - Discrete Structures - Exam and more Exams Discrete Structures and Graph Theory in PDF only on Docsity!

CMSC 203 - Discrete Structures - FINAL EXAMIMATION - Spring 2005

1. (a) Use the Laws of Logic to show: q ∨ ¬ ( r → p ) ≡ ( q ∨ r ) ∧ ( p → q )

(b) Find the negation of the following Universal Conditional: All people who like Mathematics get good jobs. (c) Use the rules of inference to show the following is a valid argument:

p → q r ∧ ¬ q p r ∨ s ∴ s

2. (a) Find A × B for the sets A = { x, y } and B = {1, 2, 3} (b) Using the Properties of Sets, show for any sets A, B and C, (A − B) − C = (A − C) − B. 3. (a) For F = {(b,g), (d,d), (g,a), (n,b), (r,b)}, what Domain and Image make F a function? (b) Why or why not is the inverse in (a) a function?

(c) Find F(G(x)) for the following Real-valued functions: F( x ) = 2(2 x +1)^ and G( x ) = 2 x − 2.

4. (a) Use the Euclidean Algorithm to find GCD(154,84).

(b) Find Big-O of the algorithm whose complexity is F( n ) = (3 n^5 )( n^6 + 5 n^4 )(2 n^3 + 3 n + 2).

5. Prove 1 of the 2 Theorems below: Theorem 1: Show that the function f : RR given by f ( x ) = π( x + e) is a bijection.

Theorem 2: The square root of 3 is irrational. (Assume the Lemma: If 3 divides INT^2 then 3 divides INT)

6. (a) Find the next 3 terms of the sequence sn = 2 sn -1 − 3 s (^) n -2 when s 0 = 1 and s 1 = 0.

(b) Find an expression for the series:

7. Prove 1 of the 2 Theorems that follow by Mathematical Induction.

Theorem 1: If a set has n elements, then it has 2 n^ subsets. Theorem 2: Is sn = s (^) n -1 + sn -2 + sn -3 + s (^) n -4 when s 0 = s 1 = s 2 = s 3 = 1 then sn is even, for all n > 4.

8. (a) A restaurant serves 4 soups, 6 salads, 8 entrees, 10 desserts, and 12 beverages. How many dinners can they create if each dinner consists of a soup or salad, an entree, and a dessert or beverage? (b) How many binary strings of length 32 have no more than 3 zeros? (c) How many ways can judges award 1st, 2nd, and 3rd Place prizes to 25 contestants? (d) How many distinct piles of 200 coins (pennies, nickels, dimes, quarters, half-dollars, and dol- lars) can I create from a vast quantity of coins, if I must have at least 10 of each in its pile?

3 4( ) i^ – 2. i = 1

100

Docsity.com

CMSC 203 - Discrete Structures - FINAL EXAMIMATION - Spring 2005

9. Consider the following sets with corresponding number of elements indicated in each region: (a) Find P(B ∪ C) (b) Find P(A | (B ∩ C)) 10. (a) Find the inverse relation to R = {(1,2),(1,3),(2,3),(3,1),(3,2),(3,3),(3,4),(4,1),(4,2),(5,2),(5,4)}

R−^1 = ___________________________________________________________________

(b) Show that the relation S = {( a,b ) | a,b are Real and Floor( a ) = Floor( b )} is an Equivalence Relation. (c) What partition of the Reals does S induce?

11. (a) Find the truth table of the Boolean Polynomial F( x,y,z ) = xy + z (b) Find the Disjunctive Normal Form of the polynomial in (a).

A (^) B

C

U

Docsity.com