

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The final exam questions for the discrete structures course (cmsc 203) from spring 2008. The exam covers various topics including logic, sets, functions, algebra, number theory, and induction. Students are required to use the laws of logic, properties of sets, rules of inference, euclidean algorithm, and mathematical induction to solve the problems.
Typology: Exams
1 / 2
This page cannot be seen from the preview
Don't miss anything!


CMSC 203 - Discrete Structures - FINAL EXAMIMATION - Spring 2008
(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:
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 ( x +1)^ and G( x ) = x − 2.
4. (a) Use the Euclidean Algorithm to find GCD(164, 78).
(b) Find Big-O of the algorithm whose complexity is F( n ) = (2 n^5 )( n^7 + 5 n^5 )( n^4 + 2 n + 1).
5. Prove 1 of the 2 Theorems below: Theorem 1: The function f : R → R given by f ( x ) = π( x + e) is a bijection.
Theorem 2: The square root of 3 is irrational. (Assume: If 3 divides INT 2 then 3 divides INT)
6. (a) Find the next 3 terms of the sequence sn = 3 sn -1 − 2 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: (1 + 2 + 3 + 4 + ... + n ) = [ n ( n + 1)] / 2. Theorem 2: Is sn = s (^) n -1 + sn -2 + sn -3 + s (^) n -4 when s 0 = s 1 = s 2 = s 3 = 2 then sn is even, for all n > 4. 8. (a) A restaurant serves 5 soups, 5 salads, 20 entrees, 5 desserts, and 10 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 16 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 100 coins (pennies, nickels, dimes, quarters, half-dollars, and dollars) can I create from a vast quantity of coins, if I must have at least 10 of each in its pile?
4 i^ – 2 i i = 1
100
CMSC 203 - Discrete Structures - FINAL EXAMIMATION - Spring 2008
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 Ceiling( a ) = Ceiling( b )} is an Equivalence Relation.
(c) Given S = {0,1}, what partition of Σ^3 does R = {( s,t ) | s,t ∈ Σ^3 and d( s ) = d( t )} 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