Mca C104
Mca C104
Question-3: Prove that the sum of the n first odd positive integers is n2,
i.e., 1 + 3 + 5 + · · · + (2n − 1) = n2.
Question-4:Prove that
a) A ∪ (B C) = (A ∪ B) (A ∪ C)
b) (A B)’ = A’ B’
Question-6:
a) How can this English sentence be translated into a logical expression?
“You can access the Internet from campus only if you are a
computer science major or you are not a freshman.”
b)Let p be the statement “Maria learns discrete mathematics.” and q the statement
“Maria will find a good job.” Express the statement p q as a statement in English.
b)For the graph G shown below, draw the subgraphs (i) G-e (ii) G-a (iii) G-b)
Question-10: What are the contra positive, the converse and the inverse of the
conditional statement “If you work hard then you will be rewarded”
Question-11: Use the rules of inference to construct a valid argument showing that
the conclusion
“Someone who passed the first exam has not read the book.”
follows from the premises
“A student in this class has not read the book.”
“Everyone in this class passed the first exam.”
Question-12: Use Dijkstra’s algorithm to find the length of the shortest path from a
vertex ‘a’ to a vertex ‘d’.