

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 the fall 2005 semester. The exam covers various topics including logic, sets, functions, euclidean algorithm, number theory, sequences, and combinatorics.
Typology: Exams
1 / 2
This page cannot be seen from the preview
Don't miss anything!


CMSC 203 - Discrete Structures - FINAL EXAMIMATION - Fall 2005
(b) Find the negation of the following Universal Conditional Anyone who sings is in the choir. (c) Use the rules of inference to show the following is a valid argument:
2. (a) Find A × B for the sets A = {100, 010, 001} and B = {10, 11, 01} (b) Use the Properties of Sets, to show (A ∪ B) − (A ∩ B) = (A − B) ∩ (B − A). 3. (a) What Domain and Image make the following F a One-to-One Function: F = {(3, 2), (1, 5), (5, 4), (6, 3), (7, 9), (8, 8)}? (b) What is the inverse of F above?
(c) Find F(G(x)) for the following Real-valued functions: F( x ) = 4 (3 x -5)^ and G( x ) = 5 x^2 + 7.
4. (a) Use the Euclidean Algorithm to find GCD(144,68).
(b) Find Big-O of the algorithm whose complexity is F( n ) = ( n^6 )( n^7 + n^5 )( n^4 + n^2 + 1).
5. Prove 1 of the 2 Theorems below: Theorem 1: If a prime integer divides the square of an integer, then it divides the integer. Theorem 2: The square root of a prime integer is irrational. (Assume Theorem 1) 6. (a) Find the next 3 terms of the sequence sn = sn -1 − sn -2 when s 0 = 1 and s 1 = 1.
(b) Find an expression for the series:
7. Prove 1 of the 2 Theorems that follow by Mathematical Induction.
Theorem 1: There are 2 n^ binary strings of length n. Theorem 2: If sn = sn -1 + sn -2 + s (^) n -3 when s 0 = 1, s 1 = 3, and s 2 = 5, then sn is odd, for all n > 3.
5 3( ) i^ – 7 i = 0
1000
CMSC 203 - Discrete Structures - FINAL EXAMIMATION - Fall 2005
8. (a) A restaurant serves 5 soups, 8 salads, 12 entrees, 6 desserts, and 9 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 strings of length 10 over the alphabet, {A,B,C,...,Z} have at least two A’s? (c) How many ways can judges award 1st, 2nd, 3rd, and 4th Place prizes to 20 contestants? (d) How many distinct piles of 500 coins (pennies, nickels, dimes, quarters, half-dollars, and dollars) can I create from a vast quantity of coins, if I must have at least 30 of each in its pile? 9. Consider the following sets with corresponding number of elements indicated in each region: (a) Find P(A ∪ C) (b) Find P(A ∩ C | (B ∩ C)) 10. (a) Find P 1 for the database whose records are:
{(1,2),(1,3),(2,3),(3,1),(3,2),(3,3),(3,4),(4,1),(4,2),(5,2),(5,4)} (b) Show that the relation S = {( a,b ) | a,b are Real and | a | + 5 = | b | + 5} 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 Conjunctive Normal Form of the polynomial in (a).
A (^) B
C
U