MCQ Based Question - XII
MCQ Based Question - XII
5 On reducing (A' + B). (A' + B'), the reduced expression which we get is
(a) B
(b) A’
(c) 1
(d) A + B’
6 The Absorption law states that
(a) X.X = X (b) X + X = X
(c) (X’)’ = X (d) X + X.Y = X
Faizan sir
7 The Expression A.A’=0 is a
(a) Involution Law (b) De Morgan’s Law (c) Associative Law (d)
Commutative Law
12 The Expression 1+p = 1 is a
(a) Tautology (b) Fallacy (c) Disjunction (d) None
13 The expression (A’+B)’ is equivalent to
Faizan sir
18. The combinational circuit which adds two binary bits is:
(a) Full Adder
(b) Decoder
(c) Half Adder
(d) Multiplexer
20. With reference to the given proposition ~P => Q, the converse of the proposition is:
(i) Q => ~P
(ii) Q => ~P
(iii) ~Q => ~P
(iv) ~P => ~Q
A + AB = A
b) A + AB = B
c) AB + AA’ = A
d) A + B = B + A
a) (A’ + B)(C’ + D)
b) (A + B’)(C’ + D)
c) (A’ + B)(C’ + D)
d) (A + B’)(C + D’)
a) AB + BC
b) (A + B)(A + C)
c) A’B + AB’C
d) (A + C)B
a) Pair
b) Quad
c) Octet
Faizan sir
d) Octave
a) Consensus law
b) Distributive law
c) Duality law
d) Absorption law
a. A + B
b. A+B’
c. B’+A
d. A’+B’
27. ______ is an operator but not connective.
A Disjunction B.Implication
C.Negation D.Conjunction
28 If A=0,B=1,C=0,D=1 then the Maxterm expression will be.
A) A'+B+C'+D B) A+B'+C+D'
C) A+B+C+D D) A+B'+C'+D'
29. . The Dual of A.(C+0)' will be
A) A+(C+1)' B)A.(C+1)'
C) A+(C.1)' D)A'+(C+1)'
30. Which law can be used to make F.F'=0
A) Involution Law B) Idempotence Law
C) Absorption Law D) Complmentarity Law
31. Consistent statement are the statement whose _______ are not contradiction.
A) Tautology B) Conjunction
C) Implication D)Conditional
Faizan sir
34. For the minterm X’.Y.Z’ value of X, Y and Z will be:
35. The compliment of the Boolean expression F(a,b,c)= (b’ +c)+a is:
(a) b’ + c + a
(b) b’.c.a
(c) b.c’.a’
(d) b.c’ + a’
Faizan sir
(c) A.B+A’B’.C’ (d) A’.B+AB’.C’
43 Which access specifier limits the visibility of a method to its own class and
its sub classis:
(a) private
(b) public
(c) protected
(d) friendly
44 public class Demo {
public static long task(long n) {
if ((n == 0) || (n == 1))
return n;
else
return task(n - 1) + task(n - 2);
}
With reference to the program code given above, what will the function task()
return when the value of n = 7?
(a) 5
(b) 8
(c) 13
(d) 21
Faizan sir
a) (Y + X).(X.0) = 0
b) (Y + X).(X’.0) = 1
c) (Y.X).(X’.1) = 0
d) (Y + X).(X’.0) = 0
47 From the declaration given below state the nature of the identifiers A,B,C,D:
class A extends B implements C
a) Super class- A, Subclass –B, Interface -C
b) Super class- B, Subclass –A, Interface -C
c) Super class- C, Subclass –B, Interface -A
d) Super class- A, Subclass –C, Interface -B
Faizan sir