DS - Sessional 3
DS - Sessional 3
Discrete Structure:-
MCQS:-
12. Which one of the following graphs has the highest number of edges?
A) Null graph.
B) Regular graph.
C) Complete graph
D) Tree
13. An undirected graph has how many directions for each edge?
A) 1
B) 2
C) 0
D) Infinite
C) A command
D) An opinion Answer: b
A) It is not raining
B) It is sunny
C) It might rain
D) It is cold
A) ∧
B) ∨
C) →
D) ¬
a. ∧
b. ∨
c. →
d. ¬ Answer:
a. ∧
b. ∨
c. →
d. ¬
a. ∧
b. ∨
c. →
d.
a. True
b. False
c. Undefined
d. Neither
a. True
b. False
c. Undefined
d. Neither
a. True
b. False
c. Undefined
d. Neither
a. True
b. False
c. Undefined
d. Neither
a. If ¬Q, then ¬P
b. If Q, then P
c. If ¬P, then ¬Q
d. IfP, then ¬Q
a. If ¬Q, then ¬P
b. If Q, then P
c. If ¬P, then ¬Q
d. If P, then ¬Q
b. If Q, then P
c. If ¬P, then ¬Q
d. IfP, then ¬Q
Lattice
33. For the poset ({1,2,3,6},∣), what is the least upper bound (lub) of {2,3}?
i. 1
ii. 2
iii. 3
iv. 6
34. A lattice is a poset (L,⪯) in which every pair of elements {a,b}⊆L has:
i. Only a lub
ii. Only a glb
iii. Both a lub and a glb
iv. Neither a lub nor a glb
35. Consider the power set of {a,b}, denoted by P({a,b})={∅,{a},{b},{a,b}}, with
the subset relation ⊆. Is (P({a,b}),⊆) a lattice?
i. Yes
ii. No
iii. Cannot be determined
iv. Only if a=b
36. In a lattice (L,⪯), the join (supremum) of two elements a and b is denoted by:
i. a∧b
ii. a∨b
iii. a⋅b
iv. a+b
37. In a lattice (L,⪯), the meet (infimum) of two elements a and b is denoted by:
i. a∨b
ii. a∧b
iii. a/b
iv. a−b