Discrete Mathematics · Discrete Mathematics
187 questions · asked in 16 of 27 years (2000–2026)
MCQ 183 · MSQ 2 · NAT 21-mark 156 · 2-mark 31
Questions 131–135 of 187
Which of the above arguments are valid?
Answer: (C)
P: from and , resolving on p gives . With , resolving on r gives , which is the same as . Valid.
Q: take p = F, q = T, r = T. The premises is true, and is true because is true when p is false. The conclusion is false. Not valid.
R: take p = F, q = F, r = F. Then is true (the left side is false), and is true. The conclusion r is false. Not valid.
S: if p is true and is true, then r is true, so is false. For to be true, q must be true. Valid.
So P and S are valid.
Answer: (C)
Answer: (A)
An acyclic undirected graph is a forest. If it has connected components, each component is a tree, and a tree with vertices has edges. So the total number of edges is
.
This is largest when , that is, when the graph is a single tree (a spanning tree). Then the number of edges is . Adding any one more edge to a tree joins two vertices that are already connected, which makes a cycle. So no acyclic graph can have or more edges.
Answer: (A)i. An element x in A is related to an element y in B (under ) if x + y is divisible by 3.
ii. An element x in B is related to an element y in C (under ) if x + y is even but not divisible by 3.
Which is the composite relation from A to C?
Answer: (C)
R1: pairs (x, y) with x in A, y in B and x + y divisible by 3.
x = 1: 1+2 = 3 and 1+8 = 9 work, so (1,2), (1,8).
x = 3: 3+6 = 9 works, so (3,6).
x = 5: 5+4 = 9 works, so (5,4).
x = 7: 7+2 = 9 and 7+8 = 15 work, so (7,2), (7,8).
R2: pairs (x, y) with x in B, y in C, and x + y even but not divisible by 3. Since x is even, y must be even, so y is 2 or 4.
x = 2: 2+2 = 4 works, 2+4 = 6 is divisible by 3, so (2,2).
x = 4: 4+2 = 6 is divisible by 3, 4+4 = 8 works, so (4,4).
x = 6: 6+2 = 8 and 6+4 = 10 work, so (6,2), (6,4).
x = 8: 8+2 = 10 works, 8+4 = 12 is divisible by 3, so (8,2).
Composite R1R2: (x, z) is in it if (x, y) is in R1 and (y, z) is in R2 for some y.
1 → 2 → 2 and 1 → 8 → 2 give (1,2).
3 → 6 → 2 and 3 → 6 → 4 give (3,2), (3,4).
5 → 4 → 4 gives (5,4).
7 → 2 → 2 and 7 → 8 → 2 give (7,2).
Answer: (C)
Which one of the following is its equivalent?
Answer: (C)
Start with the given statement, call the inside :
Rewrite the outer quantifier, using :
Push the negation through the inner quantifier, using :
Apply De Morgan's law to the part inside:
Write it as an implication, using :
This is option (C). Options (A) and (D) have in place of , and (A) has no leading negation.
Answer: (C)Answer: (C)
Students who took none of the three courses: .
Answer: (C)
Keep practising