

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
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
1 / 2
This page cannot be seen from the preview
Don't miss anything!


CMSC 203 - Discrete Structures - FINAL EXAMIMATION - Spring 2005
(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(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 : 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 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
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