Computer Arithmetic: 1. The Octal Equivalent of The Binary Number 1011101011 Is: (1) 7353 (2) 1353 (3) 5651 (4) 5657
Computer Arithmetic: 1. The Octal Equivalent of The Binary Number 1011101011 Is: (1) 7353 (2) 1353 (3) 5651 (4) 5657
com
COMPUTER ARITHMETIC
1. The Octal equivalent of the binary number 1011101011 is:
(1) 7353
(2) 1353
(3) 5651
(4) 5657
Answer: 2
Explanation:
Group all the bits in the binary number in sets of three, starting from the far right. Add zeros to
the left of the last digit if you don't have enough digits to make a set of three.
Original Binary: 1011101011
Grouping: 1 011 101 011
Adding Zeros for Groups of Three: 001 011 101 011
001=1, 011=3, 101=5, 011=3
So final answer will be 1353
Answer: 1, 2
Explanation:
0 0 1 1 1 0 0 0 1
0 1 1 0 0 1 1 1 0
1 0 0 1 1 1 1 1 0
1 1 0 0 1 0 0 0 1
So both options 1 and 2 are correct.
Important Logical Equivalences.
The logical equivalences below are important equivalences that should be memorized.
Distributed by: www.estudyindia.com
Identity Laws:
p∧T⇔p
p∨F⇔p
Domination Laws:
p∨T⇔T
p∧F⇔F
Idempotent Laws:
p∨p⇔p
p∧p⇔p
Double Negation Law:
¬(¬p) ⇔ p
Commutative Laws:
p∨q⇔q∨p
p∧q⇔q∧p
Associative Laws:
(p ∨ q) ∨ r ⇔ p ∨ (q ∨ r)
(p ∧ q) ∧ r ⇔ p ∧ (q ∧ r)
Distributive Laws:
p ∨ (q ∧ r) ⇔ (p ∨ q) ∧ (p ∨ r)
p ∧ (q ∨ r) ⇔ (p ∧ q) ∨ (p ∧ r)
De Morgan’s Laws:
¬(p ∧ q) ⇔ ¬p ∨ ¬q
¬(p ∨ q) ⇔ ¬p ∧ ¬q
Absorption Laws:
p ∧ (p ∨ q) ⇔ p
p ∨ (p ∧ q) ⇔ p
Implication Law:
(p → q) ⇔ (¬p ∨ q)
Contrapositive Law:
(p → q) ⇔ (¬q → ¬p)
Tautology:
p ∨ ¬p ⇔ T
Contradiction:
p ∧ ¬p ⇔ F
Equivalence:
(p → q) ∧ (q → p) ⇔ (p ↔ q)
Answer: 2
Distributed by: www.estudyindia.com
4. In propositional logic if (P→Q)˄(R→S) and (P˅R) are two premises such that
Y is the premise:
(1) P˅R
(2) P˅S
(3) Q˅R
(4) Q˅S
Answer: 4
5. ECL is the fastest of all logic families. High Speed in ECL is possible because transistors are
used in difference amplifier configuration, in which they are never driven into ...............
(1) Race condition
(2) Saturation
(3) Delay
(4) High impedance
Answer: 2
Explanation:
Emitter-coupled logic (ECL) is the fastest of all logic families and therefore is used in
applications where very high speed is essential. High speeds have become possible in
ECL because the transistors are used in difference amplifier configuration, in which
they are never driven into saturation and thereby the storage time is eliminated.
6. A binary 3-bit down counter uses J-K flip-flops, FFi with inputs Ji, Ki and outputs Qi, i=0,1,2
respectively. The minimized expression for the input from following, is
I. J0=K0=0
II. J0=K0=1
III. J1=K1=Q0
IV. J1=K1=Q'0
V. J2=K2=Q1Q0
Vl. J2=K2=Q'1Q'0
(1) I, Ill, V
(2) I, IV, VI
(3) Il, III, V
(4) Il, IV, Vl
Answer: 4
7. Convert the octal number 0.4051 into its equivalent decimal number.
(1) 0.5100098
(2) 0.2096
(3) 0.52
(4) 0.4192
Answer: 1
Explanation:
(0.4051)8 = 4x8-1+0x8-2+5x8-3+1x8-4
Distributed by: www.estudyindia.com
= 0.5100098
8. The hexadecimal equivalent of the octal number 2357 is:
(1) 2EE
(2) 2FF
(3) 4EF
(4) 4FE
Answer: 3
Explanation:
(2357)8 can be converted into binary just digit by digit.
= 010 011 101 111
Now we can regroup the bits into groups of 4 and convert to hexadecimal.
= 0100 1110 1111
= 4EF
24. How many different truth tables of the compound propositions are there that involve the
propositions p & q ?
(A) 2 (B) 4
(C) 8 (D) 16
Answer: D
25. A Boolean function F is called self-dual if and only if
33. The quantification ∃!x P(x) denotes the proposition “There exists a unique x such that P(x) is
true”, express the quantification using universal and existential quantifications and logical
operators:
(A) ∃x P(x) ∨ ∀x∀y ((P(x) ∨ P(y)) → x = y)
(B) ∀ x P(x) ∧ ∀x∀y ((P(x) ∨ P(y)) → x = y)
(C) ∃x P(x) ∧ ∀x∀y ((P(x) ∧ P(y)) → x = y)
(D) ∃x P(x) ∧ ∃x∃y ((P(x) ∨ P(y)) → x = y)
Answer: C
34. If F and G are Boolean functions of degree n. Then, which of the following is true?
(A) F ≤ F + G and F G ≤ F
(B) G ≤ F + G and F G ≥ G
(C) F ≥ F + G and F G ≤ F
(D) G ≥ F + G and F G ≤ F
Answer: A
36. Which of the following shall be a compound proposition involving the propositions p, q and r,
that is true when exactly two of the p, q and r are true and is false otherwise?
(A) (p∨q∧˥r) ∨ (p∨q∧r) ∧ (˥p∧q∨r)
(B) (p∧q∨r) ∧ (p∧q∧r) ∨ (˥q∨˥p∧˥r)
(C) (p∧q∧˥r) ∨ (p∨˥q∧r) ∨ (˥p∧q∧r)
(D) (p∨r∧q) ∨ (p∧q∧r) ∨ (˥p∧q∧r)
Answer: C
37. The truth value of the statements:
∃!xP(x)→∃xP(x) and ∃!x˥P(x)→˥∀xP(x), (where the notation ∃!xP(x) denotes the proposition
"There exists a unique x such that P(x) is true'') are:
(A) True and False (B) False and True
(C) False and False (D) True and True
Distributed by: www.estudyindia.com
Answer: D
Answer: A
49. The absorption law in Boolean algebra say that
(A) X + X = X
(B) X . X = X
(C) x + x . y = x
(D) None of the above
Answer: C
50. The number of 1’s present in the binary representation of
10 × 256 + 5 × 16 + 5 is
(A) 5 (B) 6
(C) 7 (D) 8
Answer: B
51. The hexadecimal number equivalent to (1762.46) 8 is
(A) 3F2.89 (B) 3F2.98
(C) 2F3.89 (D) 2F3.98
Answer: B
52. 8-bit 1’s complement form of –77.25 is
(A) 01001101.0100
(B) 01001101.0010
(C) 10110010.1011
(D) 10110010.1101
Answer: C
53. The decimal number equivalent of (4057.06)8 is
(A) 2095.75
(B) 2095.075
(C) 2095.937
(D) 2095.0937
Answer: D
54. 12-bit 2’s complement of –73.75 is
(A) 01001001.1100
(B) 11001001.1100
(C) 10110110.0100
Distributed by: www.estudyindia.com
(D) 10110110.1100
Answer: C
55. Encoding of data bits 0011 into 7-bit even Parity Hamming Code is
(A) 0011110
(B) 0101110
(C) 0010110
(D) 0011100
Answer: A
56. What is decimal equivalent of BCD 11011.1100?
(A) 22.0
(B) 22.2
(C) 20.2
(D) 21.2
Answer: B
57. The simplified form of the Boolean expression (X+Y+XY)(X+Z) is
(A) X + Y + ZX + Y
(B) XY – YZ
(C) X + YZ
(D) XZ + Y
Answer: C
58. The answer of the operation (10111)2*(1110)2 in hex equivalence is
(A) 150
(B) 241
(C) 142
(D) 101011110
Answer: C
59. How many 1’s are present in the binary representation of
3 × 512 + 7 × 64 + 5 × 8 + 3
(A) 8
(B) 9
(C) 10
(D) 11
Answer: B
60. The Boolean expression x’y’z+yz+xz is equivalent to:
(A) x
(B) y
(C) z
(D) x+y+z
Answer: C
61. The characteristic equation of a JK flip flop is:
(A) Qn+1=J.Qn+K.Qn
(B) Qn+1=J.Q’n+K’.Qn
(C) Qn+1=QnJ.K
(D) Qn+1=(J+K)Qn
Answer: B
62. In order to implement a n variable switching function, a MUX must have:
Distributed by: www.estudyindia.com
(A) 2n inputs
(B) 2n+1 inputs
(C) 2n-1 inputs
(D) 2n-1 inputs
Answer: A
63. The octal equivalent of hexadecimal (A.B) 16 is:
(A) 47.21
(B) 12.74
(C) 12.71
(D) 17.21
Answer: B
64. A reduced state table has 18 rows. The minimum number of flip flops needed to implement the
sequential machine is:
(A) 18
(B) 9
(C) 5
(D) 4
Answer: C
65. A relation R in {1,2,3,4,5,6} is given by {(1,2),(2,3),(3,4),(4,4),(4,5)}. This relation is:
(A) reflexive
(B) symmetric
(C) transitive
(D) not reflexive, not symmetric and not transitive
Answer: D
66. The dual of the switching function x+yz is:
(A) x+yz
(B) x’+y’z’
(C) x(y+z)
(D) x’(y’+z’)
Answer: D
67. An example of a tautology is:
(A) x v y
(B) x v (~y)
(C) x v (~x)
(D) (x=>y)˄(x<=y)
Answer: C
68. The octal equivalent of the hexadecimal number FF is:
(A) 100
(B) 150
(C) 377
(D) 737
Answer: C
69. The idempotent law in Boolean algebra says that:
(A) ~(~x)=x
(B) x+x=x
(C) x+xy=x
Distributed by: www.estudyindia.com
(D) x(x+y)=x
Answer: B
70. A WFF that is equivalent to the WFF x=>y is:
(A) y=>x (B) ~y=>x
(C) ~y=>~x (D) y=>~x
Answer: B
71. Simplified form of Boolean expression xy+(~x)z+yz is:
(A) xy+(~x)z (B) (~x)y+(~x)z
(C) (~x)y+xz (D) xy+xz
Answer: A
72. The dual of the switching function F=x+yz is given by:
(A) x+yz
(B) x(y+z)
(C) (~x)+(~y)(~z)
(D) (~x)((~y)+(~z))
Answer: B
73. 2’s complement of -100 is:
(A) 00011100
(B) 10011101
(C) 10011100
(D) 11100100
Answer: C
74. Which of the following expression remove hazard form: xy+zx’ ?
(A) xy+zx’
(B) xy+zx’
(C) xy+zx’+yz
(D) xy+zx’+wz
Answer: C
75. How many 1’s are present in the binary representation of 15x256+5x16+3:
(A) 8
(B) 9
(C) 10
(D) 11
Answer: A
76. What is the maximum counting speed of a 4-bit binary counter which is composed of Flip-
Flop with a propagation delay of 25ns?
(A) 1MHz
(B) 10MHz
(C) 100MHz
(D) 4MHz
Answer: B
77. The hexadecimal equivalent of (10111)2×(1110)2 is:
(A) 150 (B) 241
(C) 142 (D) 101011110
Answer: C
Distributed by: www.estudyindia.com
78. An example of a self complementing code is:
(A) 8421 code (B) Gray code
(C) Excess-3 code (D) 7421 code
Answer: C
79. Which of the following logic is the fastest ?
(A) RTL (B) ECL (C) HTL (D) HCL
Answer: B
80. The number of 1’s present in the binary representation of (3x512 + 7x64 + 5x8 + 3) 10 is:
(A) 8
(B) 9
(C) 10
(D) 11
Answer: B
81. Which of the following expression removes static hazard from a two level AND-OR gate
implementation of xy + zx’
(A) xy + zx’
(B) xy + zx’ + wyz
(C) xy + zx’ + yz
(D) xy + zx’ + wz
Answer: C
82. In a weighted code with weight 6, 4, 2 ,-3 the decimal 5 is represented by:
(A) 0101
(B) 0111
(C) 1011
(D) 1000
Answer: C
83. Which of the following is divisible by 4?
(A) 100101100
(B) 1110001110001
(C) 11110011
(D) 10101010101010
Answer: A
84. (101011)2 = (53)b, then b is equal to:
(A) 4 (B) 8
(C) 10 (D) 16
Answer: B
85. The logic expression x’yz’ + x’yz + xyz’ + xyz reduces to:
(A) x’z (B) xyz
(C) y (D) y z
Answer: C
86. Which of the following binary number is the same as its 2’s complement:
(A) 1010 (B) 0101
(C) 1000 (D) 1001
Answer: C
87. An example of a binary number which is equal to its 2’s complement is:
Distributed by: www.estudyindia.com
(A) 1100 (B) 1001
(C) 1000 (D) 1111
Answer: C
88. When a tri-state logic device is in the third state, then:
(A) it draws low current
(B) it does not draw any current
(C) it draws very high current
(D) it presents a low impedance
Answer: D
89. An example of a connective which is not associative is:
(A) AND (B) OR
(C) EX-OR (D) NAND
Answer: D
90. Essential hazards may occur in:
(A) Combinational logic circuits
(B) Synchronous sequential logic circuits
(C) Asynchronous sequential logic circuits working in the fundamental mode
(D) Asynchronous sequential logic circuits working in the pulse mode
Answer: C
91. The characteristic equation of a T flip-flop is:
(A) Qn+1=TQ’n + T’ Qn
(B) Qn+1=T+Qn
(C) Qn+1=TQn
(D) Qn+1= T’Q’n
The symbols used have the usual meaning.
Answer: A
92. The equivalent hexadecimal notation for octal number 2550276 is:
(A) FADED (B) AEOBE
(C) ADOBE (D) ACABE
Answer: C
93. Equivalent logical expression for the Well Formed Formula (WFF),
x) F[x]
is
(A) x (~F[x]) x) F[x]
(C) x (~F[x]) (D) x F[x]
Answer: C
94. Let us assume that you construct ordered tree to represent the compound proposition
(~(p˄q))↔(~p˅~q).
Then, the prefix expression and post-fix expression determined using this ordered tree are given
as ........... and ............. respectively.
(A) ↔~˄pq˅ ~~pq, pq˄~p~q~˅↔
(B) ↔~˄pq˅ ~p~q, pq˄~p~q~˅↔
(C) ↔~˄pq˅ ~~pq, pq˄~p~ ~q˅↔
(D) ↔~˄pq˅ ~p~q, pq˄~p~~q˅↔
Distributed by: www.estudyindia.com
95. If the proposition 7P⇒Q is true, then the truth value of the proposition 7PV(P⇒Q) is:
(A) True (B) Multi-Valued
(C) False (D) Cannot determined
Answer: D
96. The preposition (p→q) ˄ (~q˅p) is equivalent to:
(A) q→p
(B) p→q
(C) (q→p) ˄ (p→q)
(D) (p→q) ˅ (q→p)
Answer: C
97. The proposition ~q∨p is equivalent to:
(A) (B) (C) (D)
Answer:
98. In propositional logic P↔Q is equivalent to (Where ~ denotes NOT):
(A) ~(P∨Q)∧~(Q∨P) (B) (~P∨Q)∧(~Q∨P)
(C) (P∨Q)∧(Q∨P) (D) ~(P∨Q)→~(Q∨P)
Answer: B
99. The simplified function in product of sums of Boolean function F(W, X, Y, Z) = Σ(0, 1, 2, 5,
8, 9, 10) is
(A) (W' + X') (Y' + Z') (X' + Z)
(B) (W' + X') (Y' + Z') (X' + Z')
(C) (W' + X') (Y' + Z) (X' + Z)
(D) (W' + X') (Y + Z') (X' + Z)
Answer: A
100. Consider a single perception with weights as given in the following figure:
104. Simplified Boolean equation for the following truth table is:
x y z F
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 1
1 0 0 1
1 0 1 0
1 1 0 1
1 1 1 0
(A) F = yz’ + y’z (B) F = xy’ + x’y
(C) F = x’z + xz’ (D) F = x’z + xz’ + xyz
Answer: C
106. Give a compound proposition involving propositions p, q and r that is true when exactly
two of p, q and r are true and is false otherwise.
(A) (p∨q∧¬r) ∧ (p∧¬q∧r) ∧ (¬p∧q∧r)
(B) (p∧q∧¬r) ˄ (p∨q∧¬r) ∧ (¬p∧q∧r)
(C) (p∧q∧¬r) ∨ (p∧¬q∧r) ∧ (¬p∧q∧r)
(D) (p∧q∧¬r) ∨ (p∧¬q∧r) ∨ (¬p∧q∧r)
Answer: D
Answer: A
108. AB+(A+B)’ is equivalent to
Distributed by: www.estudyindia.com
(B) AʘB
Answer: B
109. If A⊕B=C, then:
(A) A⊕C=B
(B) B⊕C=A
(C) A⊕B⊕C=1
(D) A⊕B⊕C=0
Answer: A,B,D
3. Let A and B be sets in a finite universal set U. Given the following:
|A – B|, |AB|, |A|+|B| and |AB|
Which of the following is in order of increasing size ?
(A) |A – B| ≤ |AB| ≤ |A| + |B| ≤ |AB|
(B) |AB| ≤ |A – B| ≤ |AB| ≤ |A| + |B|
(C) |AB| ≤ |A| + |B| ≤ |A – B| ≤ |AB|
(D) |A – B| ≤ |AB| ≤ |AB| ≤ |A| + |B|
Answer: D