Explore topic-wise MCQs in Technical Programming.

This section includes 1331 Mcqs, each offering curated multiple-choice questions to sharpen your Technical Programming knowledge and support exam preparation. Choose a topic below to get started.

401.

Which of these subsets are equal: A = {r.t.s} B = {s,t,r,s} C = {t,s,t,r} D = {s,r,s,t}

A. A and B
B. A and C
C. B and D
D. all are equal
Answer» E.
402.

In-----Relation every element is related with itself.

A. Reflexive
B. Symmetric
C. Transitive
D. None
Answer» B. Symmetric
403.

Let A={2,{4,5},4} Which statement is correct?

A. 5 is an element of A.
B. {5} is an element of A.
C. {4, 5} is an element of A.
D. {5} is a subset of A.
Answer» D. {5} is a subset of A.
404.

Write the negation in good english sentence : I will not win the game or I will not enter the contest.

A. I will not win the game and I will enter the contest.
B. I will win the game and I will enter the contest.
C. I will win the game and I will not enter the contest.
D. None
Answer» C. I will win the game and I will not enter the contest.
405.

(x ^ y)’ = x’ V y’

A. FALSE
B. TRUE
C. Both a and b
D. None
Answer» C. Both a and b
406.

Determine the validity of the following argument: S1: all my friends are musicians. S2: John is my friend. S3: None of my neighbours are musicians. S: John is not my neighbour.

A. Valid
B. Not valid
C. Both a and b
D. None
Answer» B. Not valid
407.

If A be a finite set of size n, then number of elements in the power set of A x A is

A. 22^n
B. 2n^2
C. (2n)2
D. none
Answer» C. (2n)2
408.

Fact 1:All dogs like to run.Fact 2:Some dogs like to swim.Fact 3:Some dogs look like their masters.If the first three statements are facts, which of the following statements must also be a fact? I:All dogs who like to swim look like their masters. II:Dogs who like to swim also like to run.III:Dogs who like to run do not look like their masters.

A. I only
B. II only
C. III only
D. All
Answer» C. III only
409.

. Let S={1, 2, 3}. How many subsets does S contain?

A. 3
B. 6
C. 8
D. 4
Answer» D. 4
410.

If |A|=5 and |B|=4, then there exists an injective function f: B→A.

A. T
B. F
Answer» C.
411.

De Morgan's laaws are two examplesof rules of inference

A. TRUE
B. FALSE
C. both a and b
D. none
Answer» C. both a and b
412.

Let R be a relation on a set A = {1, 2, 3, 4} given by R ={(1, 1), (1, 2), (1, 3), (2, 1), (2,2), (2, 3), (3, 1), (3, 2), (3,3)}. Then the relation is:

A. reflexive and symmetric, but not transitive.
B. reflexive and transitive, but not symmetric.
C. symmetric and transitive, but not reflexive.
D. reflexive, but neither symmetric nor transitive.
Answer» D. reflexive, but neither symmetric nor transitive.
413.

All the trees in the park are flowering trees. Some of the trees in the park are dogwoods. All dogwoods in the park are flowering trees. If the first two statements are true, the third statement is

A. TRUE
B. FALSE
C. Both
D. None
Answer» B. FALSE
414.

If A and B are two non empty sets then cartesian product of A and B is----------

A. AΧB={(a,b);a,bϵA}
B. AΧB={(a,b);a,bϵB}
C. AΧB={(a,b);aϵAand bϵB}
D. AΧB={(a,b);aϵBand bϵA}
Answer» D. AΧB={(a,b);aϵBand bϵA}
415.

^ denotes

A. union
B. AND
C. set membership
D. negation
Answer» C. set membership
416.

Test the validity of argument:“If it rains tomorrow, I will carry my umbrella, if its cloth is mended. It will rain tomorrow and the cloth will not be mended. Therefore I will not carry my umbrella”

A. Invalid
B. Valid
C. Both a and b
D. None
Answer» C. Both a and b
417.

In a club , all members participate either in tambola or the fete. 420 participate in the fete, 350 play tambola and 220 participate in both. How many members does the club have?

A. 250
B. 550
C. 120
D. 140
Answer» C. 120
418.

A sufficient condition that a triangle T be a right triangle is that a2 + b2 = c2. An equivalent statement is

A. If T is a right triangle then a2 + b2 = c2.
B. If a2 + b2 = c2 then T is a right triangle.
C. If a2 + b2 6= c2 then T is not a right triangle.
D. T is a right triangle only if a2 + b2 = c2.
Answer» C. If a2 + b2 6= c2 then T is not a right triangle.
419.

In above q.80 how many students exactly know 2 languages?

A. 52
B. 54
C. 60
D. 25
Answer» C. 60
420.

Which of these sets is not a null set?

A. A = {x | 6x = 24 and 3x = 1}
B. B = {x | x + 10= 10}
C. C = {x | x is a man older than 200 years}
D. D = {x | x < x}
Answer» C. C = {x | x is a man older than 200 years}
421.

Let R = {(a, a), (a, b)} be a relation on S = {a, b, c}. Then R is not transitive.

A. T
B. F
Answer» C.
422.

If set A contains n elements, set B contains m elements then number of elements in AXB is---

A. m+n
B. n-m
C. m.n
D. n/m
Answer» D. n/m
423.

The function f : Z → Z given by f (x)= x +1 is a bijection.

A. T
B. F
Answer» B. F
424.

If U = {1, 2, 3, . . . 10 } and S = { 4, 5, 6, 7, 8 }, then S ' =

A. { 9, 10 }
B. {1, 2, 3 }
C. {1, 2, 3 9 }
D. {1, 2, 3 9 10 }
Answer» E.
425.

For a conditional statement p===>q, which of the following is incorrect.

A. Converse of the inverse is its contrapositive
B. contrapositive of the converse is its inverse
C. Inverse of thecontrapositiv e is its converse
D. None
Answer» E.
426.

If a has relation with b and b has relation with c then a has relation with c is………………..Relation.

A. Reflexive
B. Symmetric
C. Transitive
D. None
Answer» D. None
427.

Fact 1: All chickens are birds. Fact 2: Some chickens are hens. Fact 3: Female birds lay eggs.If the first three statements are facts, which of the following statements must also be a fact?I: All birds lay eggs.II: Some Hens are birds.III: Some chickens are not hens.

A. I only
B. II only
C. II and III only
D. All
Answer» D. All
428.

The number of elements in the chain is called as------

A. Chain
B. Antichains
C. None
D. Length of chain
Answer» E.
429.

A preposition is a statement that is either ture or false

A. TRUE
B. FALSE
C. none
D. both a and b
Answer» B. FALSE
430.

If A,B and C are non empty sets then AX(B∩C) is-----.

A. (AXB)U(AXC)
B. (AXB)∩(AXC)
C. (AXB)∩C
D. (AXC)∩B
Answer» C. (AXB)∩C
431.

. Which set S does the power set 2S = {Ф,{1}, {2}, {3}, {1,2}, {1, 3}, {2, 3}, {1, 2, 3}} come from?

A. {{1},{2},{3}}
B. {1, 2, 3}
C. {{1, 2}, {2, 3},{1, 3}}
D. {{1, 2, 3}}
Answer» C. {{1, 2}, {2, 3},{1, 3}}
432.

It was found that in first year of computer science of 80 students 50 know Cobol, 55 know C, 46 know pascal. It was also known that 37 know C and cobol, 28 know C and pascal , 25 know pascal and cobol, 7 students know none of the languages. Find how many all the 3 languages?

A. 10
B. 12
C. 35
D. 9
Answer» C. 35
433.

Write the negation in good english sentence : The weather is bad and I will not go to work.

A. The weather is not bad or I will go to work.
B. The weather is good or I will go to work.
C. The weather is not bad or I will not go to work.
D. None
Answer» B. The weather is good or I will go to work.
434.

Define an equivalence relation R on the positive integers A = {2, 3, 4, . . . , 20} by m R n if the largest prime divisor of m is the same as the largest prime divisor of n. The number of equivalence classes of R is

A. 8
B. 10
C. 9
D. 11
Answer» B. 10
435.

Which statement represents "all numbers between negative 4 and positive 8" ?

A. -4 > x > 8
B. -4 < x < 8
C. -4 > x < 8
D. None of these
Answer» C. -4 > x < 8
436.

the truth table for exclusive disjunction will be

A. tautology
B. Contradiction
C. Logical equivalent
D. p or q but not both
Answer» E.
437.

Which of the following set (s) are empty ?

A. {x : x = x}
B. {x : x ≠ x}
C. {x : x = x2}
D. {x : x ≠ x2}
Answer» C. {x : x = x2}
438.

p V ~(p٨q) is….

A. Contradiction
B. Tautology
C. predicate
D. None
Answer» C. predicate
439.

n a Venn diagram , the overlap between two circles represents:

A. the union of two sets
B. the intersection of two sets
C. the elements that are in either of two sets
D. the difference between the number of elements in two sets
Answer» C. the elements that are in either of two sets
440.

If n is an integer and x is an irrational real number, then nx is irrational.

A. T
B. F
Answer» C.
441.

Consider the statement,“If n is divisible by 30 then n is divisible by 2 and by 3 andby 5.”Which of the following statements is equivalent to this statement?

A. If n is not divisible by 30 then n is divisible by 2 or divisible by 3 or divisibleby 5
B. If n is not divisible by 30 then n is not divisible by 2 or not divisible by 3 or not divisible by 5
C. If n is divisible by 2 and divisible by 3 anddivisible by 5 then n is divisible by 30.
D. If n is not divisible by 2 or not divisible by 3 or not divisible by 5 then n is not divisible by 30
Answer» E.
442.

Sum of first n positive integers is

A. n(n+1)
B. n
C. n(n+1)0.5
D. n(n+2)
Answer» D. n(n+2)
443.

In q. 80 how many students know exactly 1 language?

A. 54
B. 12
C. 7
D. 8
Answer» D. 8
444.

If A is any non-empty set and R is a partial ordered relation on set A, then the ordered pair (A,R) is called-------

A. Poset
B. p-set
C. Positive set
D. None
Answer» B. p-set
445.

The statement ( p^q) → p is a

A. absurdity
B. contadiction
C. tautology
D. none
Answer» D. none
446.

“If the sky is cloudy then it will rain and it will not rain”

A. absurdity
B. contadiction
C. tautology
D. none
Answer» D. none
447.

Let P(S) denote the power set of set S. which of the is always true

A. P(P(s))=p(s)
B. P(S)∩ S= P(S)
C. P(S)∩P(P(S))={Ф}
D. None
Answer» D. None
448.

Determine the validity of argument given: s1: If I like mathematics then I will study. S2: Either I will study or I will fail. S: If I fail then I do not mlike mathematics.

A. Valid
B. Invalid
C. Both a and b
D. none
Answer» C. Both a and b
449.

Consider the set A={{1,3,5},{7,9,11},{13,15}} then determine which of the following is/are true.1.1ЄA 2.{{1,3,5}} CA 3. Ф subet of A 4. A

A. 2 and 3 is true
B. 1 and 3 is true
C. 3 is true
D. None
Answer» B. 1 and 3 is true
450.

Which of the following sets are equal. 1. {p,q,m,n} 2.{m,p,n,q} 3.{q,p,p,m,m,p,n} 4.{p,q,n,,n,m}

A. 1 and 2 are equal
B. 2 and 3 are equal
C. 3 and 4 are equal
D. All are equal.
Answer» E.