You are on page 1of 1

Quiz-3

CSE 236: Math for Computer Science


Marks: 12 Time: 45 mins

1 For each of these relations on the set {1, 2, 3, 4} decide whether it is reflexive, 3
whether it is symmetric and whether it is transitive.
a) {(2, 2), (2, 3), (2, 4), (3, 2), (3, 3), (3, 4)}
b) {(1, 1), (1, 2), (2, 1), (2, 2), (3, 3), (4, 4)}
d ) {(1, 3), (1, 4), (2, 3), (2, 4), (3, 1), (3, 4)}
2 Find the transitive closures of these relations on {1, 2, 3, 4}. 2
a) {(1, 2), (2,1), (2,3), (3,4), (4,1)}
b) {(2, 1), (2,3), (3,1), (3,4), (4,1), (4, 3)}
c) {(1, 2), (1,3), (1,4), (2,3), (2,4), (3, 4)}
d) {(1, 1), (1,4), (2,1), (2,3), (3,1), (3, 2), (3,4), (4, 2)}
3. Draw the Hasse diagram representing the partial ordering {(a, b) |a divides b} on 4
{1, 2, 3, 4, 6, 8, 12}.
4 Find out the minimum spanning tree for the given weighted graph using prims 3
algorithm.

You might also like