Discrete Mathematics: GATE CS Previous Year Questions

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

2000Questions per year2026

Questions 131–135 of 187

Q131GATE 20041 markMCQ−0.33 if wrong
Let p,q,r and s be four primitive statements. Consider the following arguments:

P:[(¬p∨q)∧(r→s)∧(p∨r)]→(¬s→q)Q:[(¬p∧q)∧[q→(p→r)]]→¬rR:[[(q∧r)→p]∧(¬q∨p)]→rS:[p∧(p→r)∧(q∨¬r)]→q\begin{array}{l} P:[(\neg p \vee q) \wedge(r \rightarrow s) \wedge(p \vee r)] \rightarrow(\neg s \rightarrow q) \\ Q:[(\neg p \wedge q) \wedge[q \rightarrow(p \rightarrow r)]] \rightarrow \neg r \\ R:[[(q \wedge r) \rightarrow p] \wedge(\neg q \vee p)] \rightarrow r \\ S:[p \wedge(p \rightarrow r) \wedge(q \vee \neg r)] \rightarrow q \end{array}

Which of the above arguments are valid?

Q132GATE 20041 markMCQ−0.33 if wrong
What is the maximum number of edges in an acyclic undirected graph with n vertices?

Q133GATE 20041 markMCQ−0.33 if wrong
Let R1R_{1} be a relation from A={1,3,5,7}A =\left \{ 1,3,5,7 \right \} to B={2,4,6,8}B = \left \{ 2,4,6,8 \right \}. R2R_{2} be another relation from B to C = {1, 2, 3, 4} as defined below:

i. An element x in A is related to an element y in B (under R1R_{1}) if x + y is divisible by 3.
ii. An element x in B is related to an element y in C (under R2R_{2}) if x + y is even but not divisible by 3.

Which is the composite relation R1R2R_{1}R_{2} from A to C?

Q134GATE 20041 markMCQ−0.33 if wrong
Let a(x, y), b(x, y) and c(x, y) be three statements with variables x and y chosen from some universe. Consider the following statement:
(∃x)(∀y)[(a(x,y)∧b(x,y))∧¬c(x,y)]\qquad(\exists x)(\forall y)[(a(x, y) \wedge b(x, y)) \wedge \neg c(x, y)]
Which one of the following is its equivalent?

Q135GATE 20041 markMCQ−0.33 if wrong
In a class of 200 students, 125 students have taken Programming Language course, 85 students have taken Data Structures course, 65 students have taken Computer Organization course; 50 students have taken both Programming Language and Data Structures, 35 students have taken both Programming Language and Computer Organization; 30 students have taken both Data Structures and Computer Organization, 15 students have taken all the three courses. How many students have not taken any of the three courses?

Keep practising

Topics in Discrete Mathematics

All CS topics ›