Explore topic-wise MCQs in Computer Science Engineering (CSE).

This section includes 315 Mcqs, each offering curated multiple-choice questions to sharpen your Computer Science Engineering (CSE) knowledge and support exam preparation. Choose a topic below to get started.

251.

Let P: If Sahil bowls, Saurabh hits a century.; Q: If Raju bowls, Sahil gets out on first ball. Now if P is true and Q is false then which of the following can be true?

A. raju bowled and sahil got out on first ball
B. raju did not bowled
C. sahil bowled and saurabh hits a century
D. sahil bowled and saurabh got out
Answer» D. sahil bowled and saurabh got out
252.

Let P: I am in Bangalore.; Q: I love cricket.; then q -> p(q implies p) is?

A. if i love cricket then i am in bangalore
B. if i am in bangalore then i love cricket
C. i am not in bangalore
D. i love cricket
Answer» B. if i am in bangalore then i love cricket
253.

What is the value of x after this statement, assuming the initial value of x is 5? ‘If x equals to one then x=x+2 else x=0’.

A. 1
B. 3
C. 2
Answer» D.
254.

Which of the following statement is a proposition?

A. get me a glass of milkshake
B. god bless you!
C. what is the time now?
D. the only odd prime number is 2
Answer» E.
255.

Let f : ( - 1, 1 ) → B be a function defined by f ( x ) = 2 1 x 1 2x tan - - , then f is both one-one and onto when B is the interval

A. (0,Ï€/2)
B. (0,(-Ï€)/2)
C. (Ï€/2,(-Ï€)/2)
D. ((-Ï€)/2,Ï€/2)
Answer» E.
256.

Let R = { ( 3, 3 ) ( 6, 6 ) ( ( 9, 9 ) ( 12, 12 ), ( 6, 12 ) ( 3, 9 ) ( 3, 12 ), ( 3, 6 ) } be a relation on the set A = { 3, 6, 9, 12 }. The relation is

A. reflexive and transitive
B. reflexive only
C. an equivalence relation
D. reflexive and symmetric only
Answer» B. reflexive only
257.

Let R be the set of real numbers. If f : R → R is a function defined by f ( x ) = x2 , then f is]

A. inject ve but not subjective
B. subjective but not injective
C. bijective
D. none of these
Answer» E.
258.

Let X and Y be the sets of all positive divisors of 400 and 1000 respectively (including 1 and the number). Then, n (X ÇY) is equal to

A. 4
B. 6
C. 8
D. 12
Answer» E.
259.

The relation R defined on the set of natural numbers as {(a, b): a differs from b by 3} is given

A. {(1, 4), (2, 5), (3, 6), ….}
B. { (4, 1), (5, 2), (6, 3), ….}
C. {(4, 1), (5, 2), (6, 3), ….}
D. none of the above
Answer» C. {(4, 1), (5, 2), (6, 3), ….}
260.

R is a relation on N given by N = {(x, y): 4x + 3y = 20}. Which of the following belongs to R?

A. (– 4, 12)
B. (5, 0)
C. (3, 4)
D. (2, 4)
Answer» E.
261.

Two finite sets A and B have m and n elements respectively. If the total number of subsets of A is 112 more than the total number of subsets of B, then the value of m is

A. 7
B. 9
C. 10
D. 12
Answer» B. 9
262.

R is a relation from {11, 12, 13} to {8, 10, 12} defined by y = x – 3. The relation R – 1 is

A. {(11, 8), (13, 10)}
B. {(8, 11), (10, 13)}
C. {(8, 11), (9, 12), (10, 13)}
D. none of the above
Answer» C. {(8, 11), (9, 12), (10, 13)}
263.

If R be relation ‘

A. {(1, 3), (1, 5), (2, 3), (2, 5), (3, 5), (4, 5)}
B. {(3, 1), (5, 1), (3, 2), (5, 2), (5, 3), (5, 4)}
C. {(3, 3), (3, 5), (5, 3), (5, 5)}
D. { (3, 3), (3, 4), (4, 5)}
Answer» D. { (3, 3), (3, 4), (4, 5)}
264.

Let a relation R in the set R of real numbers be defined as (a, b) ÃŽ R if and only if 1 + ab > 0 for all a, bÃŽR. The relation R is

A. reflexive and symmetric
B. symmetric and transitive
C. only transitive
D. an equivalence relation
Answer» B. symmetric and transitive
265.

R is a relation defined in Z by aRb if and only if ab ³ 0, then R is

A. reflexive
B. symmetric
C. transitive
D. equivalence
Answer» E.
266.

Let X be a family of sets and R be a relation in X, defined by ‘A is disjoint from B’. Then, R is

A. reflexive
B. symmetric
C. anti-symmetric
D. transitive
Answer» C. anti-symmetric
267.

If A = { (1, 2, 3}, then the relation R = {(2, 3)} in A is

A. symmetric and transitive only
B. symmetric only
C. transitive only
D. not transitive
Answer» E.
268.

If R = {x, y) : x, y Î Z, x2 + y2 £ 4} is a relation in z, then domain of R is

A. {0, 1, 2}
B. {– 2, – 1, 0}
C. {– 2, – 1, 0, 1, 2}
D. none of these
Answer» D. none of these
269.

The relation R defined on the set A = {1, 2, 3, 4, 5} by R = {(x, y) : x2 – y2 < 16} is given by

A. {(1, 1), (2, 1), (3, 1), (4, 1), (2, 3)}
B. {(2, 2), (3, 2), (4, 2), (2, 4)}
C. {(3, 3), (4, 3), (5, 4), (3, 4)}
D. none of the above
Answer» E.
270.

The relation R defined in A = {1, 2, 3} by aRb, if a2 – b2 £ 5. Which of the following is false?

A. r = {(1, 1), (2, 2), (3, 3), (2, 1), (1, 2), (2, 3), (3, 2)}
B. r–1 = r
C. domain of r = {1, 2, 3}
D. range of r = {5}
Answer» E.
271.

Which of the following is declarative statement?

A. it’s right
B. three is divisible by 3.
C. two may not be an even integer
D. i love you
Answer» C. two may not be an even integer
272.

The contrapositive of p →q is

A. ~ q → ~ p
B. ~ p → ~ qc
C. ~ p → q
D. ~ q → p
Answer» B. ~ p → ~ qc
273.

Which of the proposition is p ^ (~p v q) is

A. tautulogy
B. contradiction
C. logically equivalent to p ^ q
D. all of above
Answer» D. all of above
274.

If (p Ë… q) Ë„ (~ pË… ~q) is F, then

A. p is t, q is t, or q is f
B. p is f, q is t
C. p is t, q is f
D. p and q must have same truth values
Answer» E.
275.

(p ˄ (p → q )) → q is logically equivalent to

A. p Ë… q
B. (p ˄ q) ˅ (~ p˄ ~q)
C. tautology
D. (~ p Ë… q) Ë„ (p Ë… q)
Answer» D. (~ p Ë… q) Ë„ (p Ë… q)
276.

Let p denote the statement: “I finish my homework before dinner”, q: “It rains” and r: “I will go for a walk”, the representative of the following statement: if I finish my homework before dinner and it does not rain, then I will go for walk is

A. p Ë„ ~q Ë„ r
B. (p ˄ ~q )→ r
C. p →(~q˄ r)
D. (p →~q)→ r)
Answer» C. p →(~qË„ r)
277.

If ((p → q ) → q) → p is F, then

A. p is t, q is t
B. p is t, q is f
C. p is f, q is t
D. p is f, q is f
Answer» D. p is f, q is f
278.

If (∼ p → r) ˄ (p ↔ q) is T and r is F, then truth values of p and q are:

A. p is t, q is t
B. p is t, q is f
C. p is f, q is f
D. p is f, q is t
Answer» B. p is t, q is f
279.

If (∼ (p ˅ q)) → q is F, then

A. p is t, q is f
B. p is f, q is t
C. p is t, q is t
D. p is f, q is
Answer» C. p is t, q is t
280.

If p ˄ (p → q) is T, then

A. p is t
B. p is f, q is t
C. p is t, q is t
D. p is f, q is f
Answer» D. p is f, q is f
281.

Let p denote the statement: “Gopal is tall”, q: “Gopal is handsome”. Then the negation of the statement Gopal is tall, but not handsome,in symbolic form is:

A. ∼ p ˄q
B. ∼ p ˅ q
C. ∼ p ˅∼q
D. ∼ p ˄∼q
Answer» C. ∼ p ˅∼q
282.

Let p: I will get a job, q: I pass the exam, then the statement form: I will get a job only if I pass the exam, in symbolic from is

A. p → q
B. p Ë„ q
C. q → p
D. p Ë„ q
Answer» B. p Ë„ q
283.

Let p: Mohan is rich, q : Mohan is happy, then the statement: Mohan is rich, but Mohan is not happy in symbolic form is

A. p Ë„ q
B. ∼ p˄ q
C. p Ë… q
D. p ˄ ∼ q
Answer» E.
284.

The converse of p → q is

A. ∼q → ∼p
B. ∼ p → ∼ q
C. ∼ p → q
D. q → p
Answer» E.
285.

p → p is logically equivalent to

A. p
B. tautology
C. contradiction
D. none of these
Answer» C. contradiction
286.

The statement from ∼ (p ˄ q) is logically equivalent to

A. ∼ p ˅ ∼ q
B. ∼ p ˅ qc
C. p ˅ ∼ q
D. ∼ p ˄∼ q
Answer» B. ∼ p Ë… qc
287.

If p →q is F, then

A. p is t, q is t
B. p is f, q is t
C. p is f, q is f
D. p is t, q is f
Answer» E.
288.

If p Ë„ q is T, then

A. p is t, q is t
B. p is f, q is t
C. p is f, q is f
D. p is t, q is f
Answer» C. p is f, q is f
289.

Let A and B be two sets in the same universal set. Then A – B =

A. a  b
B. a b
C. a  b
D. none of these
Answer» D. none of these
290.

8. The set of positive integers is _________ .

A. infinite
B. finite
C. subset
D. empty
Answer» B. finite
291.

The set O of odd positive integers less than 10 can be expressed by ___________ .

A. {1, 2, 3}
B. {1, 3, 5, 7, 9}
C. {1, 2, 5, 9}
D. {1, 5, 7, 9, 11}
Answer» C. {1, 2, 5, 9}
292.

The number of subsets of a set containing n elements is

A. n
B. 2n - 1
C. n2
D. 2n
Answer» E.
293.

If A is the set of students who play crocket, B is the set of students who play football then the set of students who play either football or cricket, but not both, can be symbolically depicted as the set

A. a ⊕ b
B. a ∪ b
C. a – b
D. a ∩ b
Answer» B. a ∪ b
294.

The symmetric difference A ⊕ B is the set

A. a – a ∩ b
B. (a∪ b) – (a∩ b)
C. (a – b) ∩ (b – a)
D. a ∪ (b – a)
Answer» C. (a – b) ∩ (b – a)
295.

By mathematical Induction 2n> n3

A. for n ≥ 1
B. for n ≥ 4
C. for n ≥ 5
D. for n ≥ 10
Answer» E.
296.

Using Induction Principle if 13 = 1, 23 = 3 + 5, 33 = 7 + 9 + 11, then

A. 43= 15 + 17 + 19 + 21
B. 43= 11 + 13 + 15 + 17 + 19
C. 43 = 13 + 15 + 17 + 19
D. 43 = 13 + 15 + 17 + 19 + 21
Answer» D. 43 = 13 + 15 + 17 + 19 + 21
297.

Among the integers 1 to 300, the number of integers which are divisible by 3 or 5 is

A. 100
B. 120
C. 130
D. 140
Answer» E.
298.

The set (A - B) – C is equal to the set

A. (a – b) ∩ c
B. (a∪ b) – c
C. (a – b) ∪ c
D. (a ∪ b) – c
Answer» E.
299.

If A = {a,b,{a,c}, ∅}, then A - {a,c} is

A. {a, b, ∅}
B. {b, {a, c}, ∅}
C. {c, {b, c}}
D. {b, {a, c}, ∅}
Answer» B. {b, {a, c}, ∅}
300.

The set difference of the set A with null set is ________.

A. a
B. null
C. u
D. b
Answer» B. null