Docsity

Characters - Discrete Math - Exam, Exams of Discrete Mathematics

Toggle sidebar
bg1
Math 267 Prof. Brick
section 1 Discrete Math Final Exam Fall 02
Do the problems in order in your bluebook. Show all your work and explain
your answers.
1. Consider the set of ternary strings . Define a relation Rby wRu if wand uagree on
the first ncharacters where nis at least as large as the minimum of half of the lengths of
wand u. Prove or disprove: Ris an equivalence relation.
2. Give the recurrence relation for the number of bit strings of length nthat do not contain
two consecutive ones. Explain your reasoning.
3. Consider the set of subsets of the set {a, b}and the partial ordering given by inclusion.
Draw the Hasse diagram.
4. Define what is meant by “same O-type” for functions. Explain how and why it might
be a useful concept in computer science.
5. Give a combinatorial proof that 2n=
n
X
k=0
C(n, k)
6. A student needs to choose ten electives from Mathematics, Statistics, Physics, and
Chemistry. Ignoring prerequisites and other complications, how many different selections
– in terms of how many in each of the various disciplines – are possible ?
7. For what values of nis the KnEulerian ? Prove it.
8. Draw K2,3and find its incidence matrix.
9. Consider the recursive definition for the set of strings Sover the alphabet consisting of
two symbols ( and ) :
λ∈S(where λis the empty string),
if w∈Sthen (w)∈S.
if w∈Sand u∈Sthen wu ∈S.
Give a non-recursive description of the set S.
10. Give a recursive definition for the reversal of a string.
11. State the generalized pigeonhole principle. Prove it by contradiction.
12. Describe what a deterministic finite state automaton is and what is meant by the
language it accepts. Do not just describe an example.
13. Describe what a proof by induction is. Be succinct. Do not just describe an example.
14. Describe what P=N P is and how a proof of it might impact today’s world.

Partial preview of the text

Download Characters - Discrete Math - Exam and more Exams Discrete Mathematics in PDF only on Docsity!

Math 267 Prof. Brick

section 1 Discrete Math Final Exam Fall 02

Do the problems in order in your bluebook. Show all your work and explain your answers.

  1. Consider the set of ternary strings. Define a relation R by wRu if w and u agree on the first n characters where n is at least as large as the minimum of half of the lengths of w and u. Prove or disprove: R is an equivalence relation.
  2. Give the recurrence relation for the number of bit strings of length n that do not contain two consecutive ones. Explain your reasoning.
  3. Consider the set of subsets of the set {a, b} and the partial ordering given by inclusion. Draw the Hasse diagram.
  4. Define what is meant by “same O-type” for functions. Explain how and why it might be a useful concept in computer science.
  5. Give a combinatorial proof that 2n^ = ∑^ n k=

C(n, k)

  1. A student needs to choose ten electives from Mathematics, Statistics, Physics, and Chemistry. Ignoring prerequisites and other complications, how many different selections
  • in terms of how many in each of the various disciplines – are possible?
  1. For what values of n is the Kn Eulerian? Prove it.
  2. Draw K 2 , 3 and find its incidence matrix.
  3. Consider the recursive definition for the set of strings S over the alphabet consisting of two symbols ( and ) : λ ∈ S (where λ is the empty string), if w ∈ S then (w) ∈ S. if w ∈ S and u ∈ S then wu ∈ S. Give a non-recursive description of the set S.
  4. Give a recursive definition for the reversal of a string.
  5. State the generalized pigeonhole principle. Prove it by contradiction.
  6. Describe what a deterministic finite state automaton is and what is meant by the language it accepts. Do not just describe an example.
  7. Describe what a proof by induction is. Be succinct. Do not just describe an example.
  8. Describe what P = N P is and how a proof of it might impact today’s world.