
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 second exam for a discrete structures course taken in the fall of 1995. It includes problems on equivalence relations, partitions of sets, functions, and mappings, as well as problems on hamming distance and summations.
Typology: Exams
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Discrete Structures - Fall 1995 - Exam 2
(a) Prove S is an equivalence relation.
2. Draw the directed graph of the relation R on A = {1,2,3,4,5,6,7,8} defined as R = {( a , b ) | a,b ∈ A and a ≡ b mod 5}. 3. Let f = {(1,d),(2,c),(3,a),(4,b),(5,e)} and g = {(a,4),(b,5),(c,1),(d,2),(e,3)} be
functions. Find: (a) f ° g (b) g ° f (c) (g ° f)−^1
4. For the mappings drawn below, circle the BEST CHOICE from the list of properties: N if the mapping is NOT a function; F if the mapping is a function; I if the mapping is an INJECTIVE (1-1) function; S if the mapping is a SURJECTIVE (onto) function; B if the mapping is a BIJECTIVE (1-1 and onto) function; N F I S B N F I S B N F I S B N F I S B
1 a 1 a 1 a 1 a
2 b 2 b 2 b 2 b
3 c 3 c 3 c 3 c
4 d 4 d 4 d 4
e
5. Which of the strings 01010101, 11110000, or 00001111 has the smallest Hamming distance from the string 10110011? 6. Given Σ = {0,1} and the Equivalence Relation R on Σ^8 defined as R = {( s , t ) | s , t ∈ Σ^8 and the middle 6 bits of s = middle 6 bits of t }, what is [00000000]? 7. Rewrite: using the summation:
13
k = 4
8. Prove, by Mathematical Induction , that
1 1 ⋅ 2
---------- 2 2 ⋅ 3
---------- 4 3 ⋅ 4
---------- 8 4 ⋅ 5
---------- 16 5 ⋅ 6
---------- … 512 10 ⋅ 11
i i ( – 1 ) n n (^^ –^1 )^ (^ n^ +^1 ) 3
= ------------------------------------- i = 2
n
Docsity.com