Download Computer science and engineering domain file and more Summaries Computer science in PDF only on Docsity!
Discrete Mathematics
K1 Level Questions
UNIT I
- The instruction is based on some prior knowledge / information is called ………….
a. Recursion
b. Recurrence
c. Induction
d. None of the above.
- The Fibonacci number can be defined as follows
a. F
0
=1,F
1
=1,F
n
=F
n- 1
+F
n- 2
b. F
0
=1,F
1
=1,F
n
=F
n- 1
n- 2
c. F
0
=1,F
1
=1,F
n
=F
n+ 1
+F
n+ 2
d. None of the above
n
C
r
can be defined as follows
a.
n
C
0
=1 ,
n
C
n
=1,
n
C
r
=(n-1) C
r
+(n-1) C
r- 1
b.
n
C
0
=1 ,
n
C
n
=1,
n
C
r
=(n-1) C
r
+(n-1) C
r+
c.
n
C
0
=1 ,
n
C
n
=1,
n
C
r
=(n-1) C
r
r- 1
d. none of the above
- Find the F 4
of the Fibonacci number.
a. 2
b. 3
c. 4
d. 5
- Find the F 3
of the Fibonacci number.
a. 2
b. 3
c. 4
d. 5
- A procedure that contains a procedure call to itself is known as
a. Recursive procedure
b. Telescopic form
c. Iteration procedure
d. None of these
- A polynomial defined recursively is said to be in…………
a. Recursive procedure
b. Telescopic form
c. Iteration procedure
d. None of these
- A method of writing a polynomial in recursive form is called
a. Recursive procedure
b. Telescopic form
c. Iteration procedure
d. None of these
- Telescopic form is also called
a. Recursive procedure
b. Horner’s method
c. Iteration procedure
d. None of these
- The process repeated for finding S(K) is called
a. Closed form
b. Open form
c. Sequence form
d. None of the above
UNIT II
- Find the roots of the equation a
3
2
a. 2,3,
b. 2,-3,
c. 4,3,
d. 4,3,- 5
- Recurrence relation of order can be solved using
a. Generating functions
b. Generating relations
c. Iteration method
d. None of the above
- Consider the list of all sequences of length six of A’s and B’s that satisfy the
following conditions:
a. There are no two adjacent A’s.
b. There are never three B’s adjacent.
What is the next sequence after ABBABB in lex order?
(a) ABABAB
(b) ABBABA
(c) BABABA
(d) BABBAB
- The domain of the function that assign to each pair of integers the maximum of these two
integers is ___________
a) N
- The truth value of a given statement is
‘4+3=7 or 5 is not prime’.
a) False
b) True
- Which of the following option is true?
a) If the Sun is a planet, elephants will fly
b) 3 +2 = 8 if 5-2 = 7
c) 1 < 3 and 3 is a positive integer
d) - 2 > 3 or 3 is a negative integer
- What is the value of x after this statement, assuming initial value of x is 5?
‘If x equals to one then x=x+2 else x=0’.
a) 1
b) 3
c) 0
d) 2
- Let P: I am in Bangalore. , Q: I love cricket. ; then q - > p(q implies p) is:
a) If I love cricket then I am in Bangalore
b) If I am in Bangalore then I love cricket
c) I am not in Bangalore
d) I love cricket
- Let P:If Sahil bowls, Saurabh hits a century. ,Q: If Raju bowls , Sahil gets out on first
ball. Now if P is true and Q is false then which of the following can be true?
a) Raju bowled and Sahil got out on first ball
b) Raju did not bowled
c) Sahil bowled and Saurabh hits a century
d) Sahil bowled and Saurabh got out
- The truth value of given statement is
‘If 9 is prime then 3 is even’.
a) False
b) True
- Let P: I am in Delhi. , Q: Delhi is clean. ; then q ^ p(q and p) is:
a) Delhi is clean and I am in Delhi
b) Delhi is not clean or I am in Delhi
c) I am in Delhi and Delhi is not clean
d) Delhi is clean but I am in Mumbai
- Let P: This is a great website, Q: You should not come back here.
Then ‘This is a great website and you should come back here.’ is best represented by:
a) ~P V ~Q
b) P ∧ ~Q
c) P V Q
d) P ∧ Q
- Let P: We should be honest., Q: We should be dedicated .,R: We should be
overconfident.
Then ‘We should be honest or dedicated but not overconfident.’ is best represented by:
a) ~P V ~Q V R
b) P ∧ ~Q ∧ R
c) P V Q ∧ R
d) P V Q ∧ ~R
- Which of the following statements is the negation of the statements “4 is odd or - 9 is
positive”?
a) 4 is even or - 9 is not negative
b) 4 is odd or - 9 is not negative
c) 4 is even and - 9 is negative
d) 4 is odd and - 9 is not negative
- Which of the following represents: ~A (negation of A) if A stands for “I like badminton
but hate maths”?
a) I hate badminton and maths
b) I do not like badminton or maths
c) I dislike badminton but love maths
d) I hate badminton or like maths
- The compound statement A v ~(A ∧ B) is always
a) True
b) False
c)Tautology
d)not a tautology
- Which of the following are De-Morgan’s law
a) P ∧ (Q v R) Ξ ( P ∧ Q ) v ( P ∧ R )
b) ~(P ∧ R) Ξ ~P v ~R , ~(P v R) Ξ ~P ∧ ~R
c) P v ~P Ξ True , P ∧ ~P Ξ False
d) None of the mentioned
b. The relationships between subject and predicate
c. Truth values
d. The relationships between statements
- The symbolization for a conjunction is...
a. p → q
b. p & q
c. p v q
d. ~ p
- In a disjunction, even if one of the statements is false, the whole disjunction is still...
a. False
b. Negated
c. True
d. Both true and false
- In a conditional statement, the first part is the antecedent and the second part is the...
a. Predicate
b. Consequent
c. Subject
d. Disjunct
- The name of the following argument form is... p → q ⟹~ p v q
a. Contradiction
b. Disjunctive syllogism
c. Modus tollens
d. Tautology
- In a truth table for a two-variable argument, the first guide column has the following truth
values:
a. T, T, F, F
b. F, F, T, T
c. T, F, T, F
d. T, F, F, F
- In using the short method, your overall goal is to see if you can...
a. Show that all the statements of the argument are true
b. Prove invalidity in the most efficient way possible
c. Prove validity in the most efficient way possible
d. Prove that the conclusion is false
- The four logical connectives are…
a. Conjunctions, conditionals, compounds, and disjunctions
b. Conjunctions, statements, disjunctions, and conditionals
c. Conditionals, disjunctions, negations, and conjunctions
d. Conjuncts, disjuncts, conditionals, and negations
- A conditional is symbolized like this…
a. p v q
b. p → q
c. p * q
d. p & q
- A conditional is false only when the antecedent is…
a. True and the consequent is false
b. False and the consequent is false
c. True and the consequent is true
d. False and the consequent is true
- In a conditional statement, unless means “if not” and introduces…
a. A negation
b. The conjunct
c. The consequent
d. The antecedent
- It is impossible for a valid argument to have true premises and…
a. A true conclusion
b. A negated conclusion
c. A conditional
d. A false conclusion
- The special variables T and F are called -------- of each other.
a. Duals
b. Ordered pairs
c. Truth values
d. Both a and c
- A sum of elementary products is called---------
a. disjunctive normal form
b. PDNF
c. PCNF
d. Both b and c
- A product of elementary sums is called -------------
a. conjunctive normal form
b. PCNF
c. PDNF
- If a<=c and b<=c then c is called ----------
a. Upper bound
b. Lower bound
c. Glb
d. lub
- If l<=a and l<=b then l is called ----------
a. Upper bound
b. Lower bound
c. Glb
d. Lub
- ----------- is a poset.
a. Lattice
b. Join
c. Meet
d. <=
- -----------is a graphical representation of poset.
a. Hasse diagram
b. Pi diagram
c. Venn diagram
d. None
- ------------is represented graphically as a Hasse diagram.
a. Poset
b. Coset
c. Either a or b
d. none
- If <= is a total order then the poset is called a ---------
a. chain
b. total order
c. linear order
d. none
- Every ---------- is a lattice.
a. Chain
b. Total order
c. Total order relation
d. Both a and c
- A lattice which has both 0 and 1 is called a ---------
a. bounded lattice.
b. Complete
c. Both a and b
d. None
- In (D(24),<=), where <= is the order ‘divisor of’, the least element is ---- and the greatest
element is ----
a. 1 and 24
b. 24 and 1
c. 1
d. 24
- If L is a lattice then -----= b
a. avb
b. a <=b
c. a>=b
d. none
- The elements of an arbitrary lattices satisfy -------- inequalities.
a. modular and distributive
b. only distributive
c. only modular
d. none
- If S is a sublattice of L then its closed under --------
a. join and meet
b. join
c. meet
d. none
- Injective lattice homomorphism is called -----------
a. lattice monomorphism
b. lattice isomorphism
c. either a or b
d. none
- Surjective lattice homomorphism is called -----------
a. lattice epimorphisms
b. lattice isomorphism
c. either a or b
d. none lattice epimorphisms
- Bijective lattice homomorphism is called -----------
a. lattice isomorphisms
b. lattice epimorphisms
c. lattice epimorphisms
d. none
- Every meet-homomorphisms is an ----------map
a. order preserving
b. lattice epimorphisms
c. lattice isomorphisms
d. none
- Every ------------- is an order preserving map.
a. meet-homomorphisms and join – homomorphisms
b. meet-homomorphisms
c. join – homomorphisms
d. none
5. Define Initial condition
The terms not defined by the formula are said to form the Initial conditions
6. Define Discrete relation
The linear recurrence relation with constant co efficient is simply called Discrete relation
- Find the order of D(K)-3D(K-1)=
ANSWER: 1
- Find the degree C(K) – 5C(K-1) + 6 C(K-2)= 2K- 7
ANSWER: 2
- Find the order of S(K)-4S(K-1)-11S(K-2)+30S(K-3)=
K
ANSWER: 3
- Find the roots of the equations a
2
+10a+9=
ANSWER: 1 , 9
UNIT III
- Give an example for proposition statement?
The only odd prime number is 2
- Let P:If Sahil bowls, Saurabh hits a century. ,Q: If Raju bowls , Sahil gets out on first ball.
Then write P v Q.
If Sahil bowls, Saurabh hits a century OR If Raju bowls, Sahil gets out on first ball.
3. Let p: I am in Delhi , q: Delhi is clean; then write q ⋀ p.
Delhi is clean and I am in Delhi
4. Write any one connective with example.
Conjunction: Let p: I am in Delhi , q: Delhi is clean; then q ⋀ p is:
Delhi is clean and I am in Delhi
5. Write the truth table for Negation.
P ~p
T F
F T
- Write an example for Compound Statement.
1 < 3 and 3 is a positive integer
- Give an example for Atomic statement
3 is a positive integer
- How to write a conditional statement?
If…… Then
- How to write a biconditional statement?
If and only if
- In disjunction, when will the statement become FALSE?
If both the statements P and Q is false then the compound statement is also false.
UNIT IV
- Define Tautology.
A tautology is a logical statement in which the conclusion is equivalent to the
premise.
- Give an example for contradiction.
~[(p v q) ↔ ~(p v q)]
- In a conditional statement, what is the name of the first part of the statement?
antecedent
- In a conditional statement, what is the name of the first part of the statement?
Consequent
5. In a truth table for a two-variable argument, What are the truth values of first guide column?
T, T, F, F
- How to symbolize a conditional statement?
p → q
- The special variables T and F are called -------- of each other.
Duals
- Define DNF.
A sum of elementary products is called disjunctive normal form
- Define CNF.
A product of elementary sums is called conjunctive normal form
- Define PDNF.
Disjunctions of minterms is known as Principal disjunctive normal form
(PDNF)
UNIT V
- What is the condition for reflexive?
If aRa for all a,b belongs to R then it is called Reflexive
- How to define symmetric condition in relation?
If aRb implies bRa for all a, b belongs to R then the relation is called symmetric
- How to define anti-symmetric condition?
If aRb and bRa implies a = b for all a, b belongs to R then the relation is called
Anti-symmetric
- If aRb implies bRc implies aRc for all a, b belongs to R then the relation is called:
Transitive
- If R satisfies reflexive, anti-symmetric and transitive then it is called--------
Partial order relation
- If R satisfies reflexive, symmetric and transitive then it is called--------
Equivalence relation
Discrete Mathematics
K3 Level Questions
UNIT I
- Consider D, defined by D(k)=5.
k
, k≥ 0. Find the recurrence relation on D.
- Find the recurrence relation satisfying y n
=A(3)
n
+B(-4)
n
- Find the recurrence relation satisfying y n
=(A+B
n)
n
- Find the recurrence relation for the Fibonacci sequence.
- Find the closed form expression for the recurrence relation
D(k)-2D(k-1)=0, D(0)=5.
- Find the characteristic equation of
J(k)-4J(k-1)+4J(k-2)=
- For the sequence defined by A(k)=k
2
- k, k≥ 0, obtain recurrence relation if A is a
sequence of integers.
- Solve the recurrence relation S(K) + 5S(K-1)=0, S(0)=
- Solve the recurrence relation S(K)-8s(K-1)-4s(K-2)=0,K>2 With S(0)=3 and S(1)=2.
- Solve the recurrence relation S(K)-8S(K-1)-9s(K-2)=0, s(0)=1 and s(1)=0.
Unit II
- Write the procedure for finding the particular solution
- Solve T(K)-7T(K-1) + 10 T(K-2)=6+8K with T(o)=1 and T(1)=
- Solve s(K)-s(k-1)-6s(K-2)=-30 where s(0)=20,s(1)=- 5
- Solve s(K)-3s(K-1)-4s(k-2)=
- Solve s(K)-4s(k-1) + 4s(K-2)=3K+
K
,s(0)=1,s(1)=
- Solve s(K)-5s(K-1)+6s(K-2) =2, S(0)=1, S(1)=- 1
- Solve the recurrence relation Q(K)-6Q(K-1)+8Q(K-2)=2 with Q(0)=1 and Q(1)=
- Solve s(k)+5s(k-1)+ 6s(k-2)=3K
2
- Write the procedure foe finding the generating function of a given recurrence relation.
- Find the generating function of the recurrence relation S(K)=2s(K-1),s(0)=
UNIT III
- Explain connectives with truth table.
- Write short notes about conjunction with example.
- Describe about disjunction with example.
- Illustrate with example and truth table about negation.
- Write short notes about conditional statements with example.
- Explain about biconditional statements with example.
- Find a truth value for (r⋀p)→s.
- Write a truth table for p →(~q ∧ r)
- How to generate well-formed formula using rules?
- Construct the truth table for ~(~P ∧ ~Q).
Unit IV
- Verify whether (p ∨ q) → p is a tautology
- Verify whether (p ∨ q) → r is a contradiction or tautology.
- Using truth table prove that q ⇒ p → q.
- Write any four logical identities with truth table.
- Using replacement process show that (
Z
Z
Z
- By replacement process show that q ∨ (p ∧ ~ q) ∨ (~p ∧ ~ q) is a tautology.
- Write the procedure to obtain a disjunctive normal form of a formula.
- Define DNF and CNF with example.
- Obtain a DNF of p → ((p → q) ∧ ~ (~ q ∧ ~ p)
- Obtain a CNF of p → ((p → q) ∧ ~ (~ q ∧ ~ p).
Unit V
- Prove that (N, ≤) is a poset.
- Explain about Hasse diagram with example.
- Draw the Hasse diagram for the poset (X, ≤), where X = The set of all positive
integers which are divisors of 12 and n = 12.
- Prove that Every chain is a lattice.
- Show that, In any Lattice (L, ≤), the operations ∨ and ∧ are isotone.
- Prove: Every meet-homomorphism is an order preserving map.
- Prove: Every join-homomorphism is an order preserving map.
- Prove: Any chain is modular.
- Show that the lattice N 5
is not modular.
- Prove: Let f be an isomorphism from a poset (L, ≤) onto a poset ( M, ≤
’
). If L is a
lattice, then M is also a lattice and f is a lattice isomorphism.
- Draw the Hasse diagram for the lattice P({1,2,3,4},⊆).
- Prove: Every distributive lattice is modular.
- Prove: Every chain is distributive lattice.
- Show that the direct product of any two distributive lattices is a distributive lattice.