
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
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
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:Truth Table, Compound Proposition, Laws of Logic, Negation of Quantified Statement, One-To-One Function, Big-O Estimate for Function, Hamming Distance, Euclidean Algorithm, Method of Contradiction, Real Number
Typology: Exams
1 / 1
This page cannot be seen from the preview
Don't miss anything!
2. Use the Laws of Logic to verify: p ∧ ( p ∨ q ) ≡ p.
7. (a) Find the big- O estimate for the function F( n ) = ( n^4 log n + n^6 + 6 n )( n^2 + 1). (b) Find the Hamming Distance between 100110011001 and 101100111000. (c) Using the Euclidean Algorithm, find gcd(1024,120). 8. If a , b , and c are integers with a = b + c , prove that gcd( a,b ) = gcd( b,c ). (Hint: if gcd( a,b ) ≤ gcd( b,c ) and gcd( a,b ) ≥ gcd( b,c ), then gcd( a,b ) = gcd( b,c )). 9. Use the following Theorem:
THEOREM: For all integers, n , and prime numbers, p, if p divides n^2 , then p divides n****.
to prove by the Method of Contradiction that is irrational.
10. Let a be a Real Number not equal to 0 or 1. Use Math Induction to prove for all integers n > 0,
11. (a) How many ways can Art, Betty, Chad, Deb, Ed, Fran, Glen, Helen, Ivan, and Jane form a line if Ed can- not be immediately between Betty and Ivan?
(b) The Mars Candy Company sells bags of M&M candies with 60 pieces candy colored from 8 different colors in them. How many different bags can they produce if they want at least 1 of the first color, 2 of the second, color, 3 of the third color, 4 of the fourth color, ..., and 8 of the eighth color?
a i i = 0
n
a n^ +^1 – 1 a – 1