Discrete Mathematics questions — page 3 of 7

Q19

GATE CS 2021 CS-1Discrete MathematicsNAT1 mark
There are 6 jobs with distinct difficulty levels, and 3 computers with distinct processing speeds. Each job is assigned to a computer such that:
- The fastest computer gets the toughest job and the slowest computer gets the easiest job.
- Every computer gets at least one job.
The number of ways in which this can be done is ______.
Show answer without attempting

Answer: 65

Q34

GATE CS 2021 CS-1Discrete MathematicsMCQ2 marks−2/3 if wrong
Let GG be a group of order 6, and HH be a subgroup of GG such that 1<∣H∣<61 < |H| < 6. Which one of the following options is correct?
Show answer without attempting

Answer: B

Q36

GATE CS 2021 CS-1Discrete MathematicsMCQ2 marks−2/3 if wrong
Let G=(V,E)G = (V, E) be an undirected unweighted connected graph. The diameter of GG is defined as:
diam(G)=max⁡u,v∈V{the length of shortest path between u and v}\mathrm{diam}(G) = \max_{u, v \in V} \{\text{the length of shortest path between } u \text{ and } v\}
Let MM be the adjacency matrix of GG.
Define graph G2G_2 on the same set of vertices with adjacency matrix NN, where
Nij={1if Mij>0 or Pij>0, where P=M20otherwiseN_{ij} = \begin{cases} 1 & \text{if } M_{ij} > 0 \text{ or } P_{ij} > 0, \text{ where } P = M^2 \\ 0 & \text{otherwise} \end{cases}
Which one of the following statements is true?
Show answer without attempting

Answer: A

Q43

GATE CS 2021 CS-1Discrete MathematicsMSQ2 marks
A relation R is said to be circular if aRba\mathrm{R}b and bRcb\mathrm{R}c together imply cRac\mathrm{R}a.
Which of the following options is/are correct?
More than one option can be correct.
Show answer without attempting

Answer: C

Q11

GATE CS 2021 CS-2Discrete MathematicsMSQ1 mark
Consider the following sets, where n≥2n \ge 2:

S1S_1: Set of all n×nn \times n matrices with entries from the set {a,b,c}\{a, b, c\}
S2S_2: Set of all functions from the set {0,1,2,…,n2−1}\{0, 1, 2, \dots, n^2-1\} to the set {0,1,2}\{0, 1, 2\}

Which of the following choice(s) is/are correct?
More than one option can be correct.
Show answer without attempting

Answer: B, C

Q15

GATE CS 2021 CS-2Discrete MathematicsMSQ1 mark
Choose the correct choice(s) regarding the following propositional logic assertion SS:

S:((P∧Q)→R)→((P∧Q)→(Q→R))S: ((P \land Q) \to R) \to ((P \land Q) \to (Q \to R))
More than one option can be correct.
Show answer without attempting

Answer: B, D

Q50

GATE CS 2021 CS-2Discrete MathematicsNAT2 marks
Let SS be a set consisting of 10 elements. The number of tuples of the form (A,B)(A, B) such that AA and BB are subsets of SS, and A⊆BA \subseteq B is ____________.
Show answer without attempting

Answer: 59049

Q17

GATE CS 2020 CSDiscrete MathematicsNAT1 mark
Let R\mathcal{R} be the set of all binary relations on the set {1,2,3}\{1,2,3\}. Suppose a relation is chosen from R\mathcal{R} at random. The probability that the chosen relation is reflexive (round off to 3 decimal places) is __________.
Show answer without attempting

Answer: 0.125

Q18

GATE CS 2020 CSDiscrete MathematicsNAT1 mark
Let GG be a group of 35 elements. Then the largest possible size of a subgroup of GG other than GG itself is __________.
Show answer without attempting

Answer: 7

Q39

GATE CS 2020 CSDiscrete MathematicsMCQ2 marks−2/3 if wrong
Which one of the following predicate formulae is NOT logically valid?

Note that WW is a predicate formula without any free occurrence of xx.
Show answer without attempting

Answer: C

Q42

GATE CS 2020 CSDiscrete MathematicsNAT2 marks
The number of permutations of the characters in LILAC so that no character appears in its original position, if the two L’s are indistinguishable, is __________.
Show answer without attempting

Answer: 12

Q52

GATE CS 2020 CSDiscrete MathematicsNAT2 marks
Graph GG is obtained by adding vertex ss to K3,4K_{3,4} and making ss adjacent to every vertex of K3,4K_{3,4}. The minimum number of colours required to edge-colour GG is __________.
Show answer without attempting

Answer: 7

Q5

GATE CS 2019 CSDiscrete MathematicsMCQ1 mark−1/3 if wrong
Let U={1,2,...,n}U = \{1, 2, ..., n\}. Let A={(x,X)∣x∈X,X⊆U}A = \{(x, X) \mid x \in X, X \subseteq U\}. Consider the following two statements on ∣A∣|A|.
I. ∣A∣=n2n−1\quad |A| = n 2^{n-1}
II. ∣A∣=∑k=1nk(nk)\quad |A| = \sum_{k=1}^n k \binom{n}{k}
Which of the above statements is/are TRUE?
Show answer without attempting

Answer: C

Q10

GATE CS 2019 CSDiscrete MathematicsMCQ1 mark−1/3 if wrong
Let GG be an arbitrary group. Consider the following relations on GG:
R1:∀a,b∈GR_1: \forall a, b \in G, a  R1  ba \; R_1 \; b if and only if ∃g∈G\exists g \in G such that a=g−1bga = g^{-1}bg
R2:∀a,b∈GR_2: \forall a, b \in G, a  R2  ba \; R_2 \; b if and only if a=b−1a = b^{-1}

Which of the above is/are equivalence relation/relations?
Show answer without attempting

Answer: B

Q12

GATE CS 2019 CSDiscrete MathematicsMCQ1 mark−1/3 if wrong
Let GG be an undirected complete graph on nn vertices, where n>2n > 2. Then, the number of different Hamiltonian cycles in GG is equal to
Show answer without attempting

Answer: C OR D

Q34

GATE CS 2019 CSDiscrete MathematicsMCQ2 marks−2/3 if wrong
Consider the following sets:
S1. Set of all recursively enumerable languages over the alphabet {0,1}\{0, 1\}
S2. Set of all syntactically valid C programs
S3. Set of all languages over the alphabet {0,1}\{0, 1\}
S4. Set of all non-regular languages over the alphabet {0,1}\{0, 1\}

Which of the above sets are uncountable?
Show answer without attempting

Answer: B

Q35

GATE CS 2019 CSDiscrete MathematicsMCQ2 marks−2/3 if wrong
Consider the first order predicate formula φ\varphi:
∀x [(∀z z∣x  ⟹  ((z=x)∨(z=1)))  ⟹  ∃w (w>x)∧(∀z z∣w  ⟹  ((w=z)∨(z=1)))]\forall x \, [(\forall z \, z \mid x \implies ((z = x) \lor (z = 1))) \implies \exists w \, (w > x) \land (\forall z \, z \mid w \implies ((w = z) \lor (z = 1)))]
Here 'a∣ba \mid b' denotes 'aa divides bb', where aa and bb are integers. Consider the following sets:
S1. {1,2,3,...,100}\{1, 2, 3, ..., 100\}
S2. Set of all positive integers
S3. Set of all integers

Which of the above sets satisfy φ\varphi?
Show answer without attempting

Answer: C

Q54

GATE CS 2019 CSDiscrete MathematicsNAT2 marks
In an RSA cryptosystem, the value of the public modulus parameter nn is 30073007. If it is also known that ϕ(n)=2880\phi(n) = 2880, where ϕ\phi denotes Euler's Totient Function, then the prime factor of nn which is greater than 5050 is __________.
Show answer without attempting

Answer: 97

Q1

GATE CS 2018 CSDiscrete MathematicsMCQ1 mark−1/3 if wrong
Which one of the following is a closed form expression for the generating function of the sequence {an}\{a_n\}, where an=2n+3a_n = 2n + 3 for all n=0,1,2,…n = 0, 1, 2,\dots ?
Show answer without attempting

Answer: D

0/200 correct0 marks

Related topics in Engineering Mathematics