Docsity

Integer Solutions - Discrete Structures - Exam, Exams of Discrete Structures and Graph Theory

Toggle sidebar
bg1
Page 0
DISCRETE STRUCTURES - CMSC 203 - EXAM 3 - Fall 1996
1. A restaurantโ€™s menu consists of 8 beverages, 11 appetizers, 6 salads, 24 entrees, 9 desserts, and
12 aperitifs. How many distinct dinners can they serve if each dinner contains:
(a) a beverage, an appetizer, a salad, an entree, a dessert, and an aperitif?
(b) a beverage, either an appetizer or a salad, an entree, and either a dessert or an aperitif?
2. How many ways can I arrange 6 Comedy video tapes, 7 Action tapes, 8 Drama tapes, 9 Horror
tapes, and 10 Foreign tapes on a shelf if:
(a) I want all the Action tapes first, followed by the Comedy tapes, then the Drama tapes, then the
Foreign tapes, and finally, the Horror tapes last?
(b) I only want all the tapes of the same type to be grouped together?
3. How many permutations are there of the words: (a) COMPUTER
(b) CALCULATOR
4. (a) How many CRAY words are there ? (A CRAY word contains eight 8-bit bytes)
(b) How many CRAY words contain no repeated bytes?
5. How many integer solutions are there to: A + B + C + D + E + F = 60
( a) with A, B, C, D, E, F > 0? (b) with A > 2 B > 1 C > 5 D > 0 E > 4 and F > 7?
6. Show that
7. Use the Iteration Method to solve the Recurrence Relation, sn+1 = 7sn โˆ’ 2 with s0 = 1.
8. (a) How many initial conditions are needed to find the particular solution of the recurrence
relation, sn = 3snโˆ’1 โˆ’ 5snโˆ’2 + 8snโˆ’4 + snโˆ’5 + 28snโˆ’6 โˆ’ 5snโˆ’18 ?
(b) Find the general solution of : sn = 45snโˆ’2 โˆ’ 4snโˆ’1 .
(c) Find the particular solution of the recurrence relation whose general solution is:
sn = D(7)n + E(9)n, when s0 = โˆ’1 and s1 = โˆ’15 ?
n
k
โŽโŽ 
โŽ›โŽž n
k1+
โŽโŽ 
โŽ›โŽž
+n1+
k1+
โŽโŽ 
โŽ›โŽž
=
Docsity.com

Partial preview of the text

Download Integer Solutions - Discrete Structures - Exam and more Exams Discrete Structures and Graph Theory in PDF only on Docsity!

DISCRETE STRUCTURES - CMSC 203 - EXAM 3 - Fall 1996 Page 0

1. A restaurantโ€™s menu consists of 8 beverages, 11 appetizers, 6 salads, 24 entrees, 9 desserts, and 12 aperitifs. How many distinct dinners can they serve if each dinner contains:

(a) a beverage, an appetizer, a salad, an entree, a dessert, and an aperitif?

(b) a beverage, either an appetizer or a salad, an entree, and either a dessert or an aperitif?

2. How many ways can I arrange 6 Comedy video tapes, 7 Action tapes, 8 Drama tapes, 9 Horror tapes, and 10 Foreign tapes on a shelf if:

(a) I want all the Action tapes first, followed by the Comedy tapes, then the Drama tapes, then the Foreign tapes, and finally, the Horror tapes last?

(b) I only want all the tapes of the same type to be grouped together?

3. How many permutations are there of the words: (a) COMPUTER

(b) CALCULATOR

4. (a) How many CRAY words are there? (A CRAY word contains eight 8-bit bytes)

(b) How many CRAY words contain no repeated bytes?

5. How many integer solutions are there to: A + B + C + D + E + F = 60

( a) with A, B, C, D, E, F > 0? (b) with A > 2 B > 1 C > 5 D > 0 E > 4 and F > 7?

6. Show that 7. Use the Iteration Method to solve the Recurrence Relation, sn+1 = 7s (^) n โˆ’ 2 with s 0 = 1. 8. (a) How many initial conditions are needed to find the particular solution of the recurrence relation, s (^) n = 3s (^) nโˆ’ 1 โˆ’ 5s (^) nโˆ’ 2 + 8s (^) nโˆ’ 4 + s (^) nโˆ’ 5 + 28s (^) nโˆ’ 6 โˆ’ 5s (^) nโˆ’ 18?

(b) Find the general solution of : s (^) n = 45s (^) nโˆ’ 2 โˆ’ 4s (^) nโˆ’ 1.

(c) Find the particular solution of the recurrence relation whose general solution is:

s (^) n = D(7)n^ + E( 9 ) n, when s 0 = โˆ’1 and s 1 = โˆ’15?

n โŽ โŽ  k

โŽ› โŽž n โŽ (^) k + 1 โŽ 

  • โŽ›^ โŽž n^ +^1 โŽ (^) k + 1 โŽ  =โŽ›^ โŽž

Docsity.com