1Which of the following represents the decimal number in binary?
A.
B.
C.
D.
Correct Answer:
Explanation:
To convert decimal to binary, divide by 2 repeatedly and record remainders: rem ; rem ; rem ; rem ; rem . Reading remainders bottom-up gives .
Incorrect! Try again.
2Convert the hexadecimal number to its decimal equivalent.
A.
B.
C.
D.
Correct Answer:
Explanation:
Hexadecimal is calculated as: (since ). .
Incorrect! Try again.
3What is the decimal value of the binary number ?
A.
B.
C.
D.
Correct Answer:
Explanation:
Integer part . Fractional part . Total is .
Incorrect! Try again.
4Which of the following is an unweighted code?
A.8421 Code
B.BCD Code
C.Excess-3 Code
D.2421 Code
Correct Answer: Excess-3 Code
Explanation:
Excess-3 is a non-weighted code because the position of the bits does not correspond to a specific weight/value, unlike BCD (8421) where positions represent powers of 2.
Incorrect! Try again.
5Convert the binary number to Gray code.
A.
B.
C.
D.
Correct Answer:
Explanation:
To convert Binary to Gray: MSB stays the same. Subsequent bits are XORed with the previous bit. MSB=. Next=. Next=. Next=. Result: .
Incorrect! Try again.
6The Gray code represents which binary number?
A.
B.
C.
D.
Correct Answer:
Explanation:
Gray to Binary: MSB stays same (). Next Binary = (Previous Binary) (Current Gray). . . . Result: .
Incorrect! Try again.
7What is the BCD (8421) representation of decimal number ?
A.
B.
C.
D.
Correct Answer:
Explanation:
In BCD, each decimal digit is represented by a 4-bit binary group. , . Combined: .
Incorrect! Try again.
8What is the Excess-3 code for the decimal number ?
A.
B.
C.
D.
Correct Answer:
Explanation:
Excess-3 is calculated by adding 3 to the decimal number and converting to binary. . Binary of is .
Incorrect! Try again.
9The 2's complement of the binary number is:
A.
B.
C.
D.
Correct Answer:
Explanation:
To find 2's complement: Invert all bits () and add 1 ().
Incorrect! Try again.
10In 8-bit 2's complement representation, what is the range of integers that can be represented?
A.-127 to +128
B.-256 to +255
C.-128 to +127
D.0 to 255
Correct Answer: -128 to +127
Explanation:
For bits, the range of signed 2's complement numbers is to . For , range is to .
Incorrect! Try again.
11Perform the subtraction using 2's complement method.
28A digital circuit that produces a logic output when the input number of s is odd is:
A.AND gate
B.XOR gate
C.OR gate
D.XNOR gate
Correct Answer: XOR gate
Explanation:
An XOR gate (or a chain of them) acts as an odd parity detector. For 2 inputs, it is 1 if inputs are different (one 1, one 0 - odd number of 1s).
Incorrect! Try again.
29If and , what is the value of ?
A.Indeterminate
B.
C.
D.High Impedance
Correct Answer:
Explanation:
. . . Total sum .
Incorrect! Try again.
30The dual of the boolean expression is:
A.
B.
C.
D.
Correct Answer:
Explanation:
To find the dual, swap OR () with AND () and vice versa, and swap 0s with 1s. becomes .
Incorrect! Try again.
31In a 3-variable K-map, the cells and are considered:
A.Diagonal
B.Isolated
C.Opposite
D.Adjacent
Correct Answer: Adjacent
Explanation:
K-maps wrap around. The top edge and bottom edge are adjacent. In a flat layout, column 00 and column 10 (if organized as gray code columns) might not look adjacent, but logically, minterms differing by one bit ( and differ only in MSB) are adjacent.
Incorrect! Try again.
32Which of the following is equivalent to the Boolean function ?
A.
B.
C.
D.
Correct Answer:
Explanation:
For variables, the total indices are 0, 1, 2, 3. If Maxterms are 0 and 3, the Minterms must be the remaining indices: 1 and 2.
Incorrect! Try again.
33Convert the binary fraction to decimal.
A.
B.
C.
D.
Correct Answer:
Explanation:
.
Incorrect! Try again.
34What is the radix of the octal number system?
A.10
B.16
C.8
D.2
Correct Answer: 8
Explanation:
The radix (or base) of the Octal system is 8 (digits 0-7).
Incorrect! Try again.
35The boolean expression is equivalent to:
A.
B.
C.
D.
Correct Answer:
Explanation:
Distributive law: .
Incorrect! Try again.
36To perform binary subtraction using 1's complement:
A.Subtract directly.
B.Add to .
C.Add to 1's complement of . If carry generated, add 1 to sum.
D.Add to 1's complement of . If carry generated, ignore it.
Correct Answer: Add to 1's complement of . If carry generated, add 1 to sum.
Explanation:
In 1's complement subtraction, if an end-around carry is generated, it must be added to the LSB of the result.
Incorrect! Try again.
37What is the minimum number of NAND gates required to implement an OR gate?
A.3
B.4
C.2
D.1
Correct Answer: 3
Explanation:
. Step 1: Invert A (1 NAND). Step 2: Invert B (1 NAND). Step 3: NAND them (1 NAND). Total 3 gates.
Incorrect! Try again.
38In K-Map simplification, 'Don't Care' conditions are represented by:
A.Z
B.1
C.X
D.0
Correct Answer: X
Explanation:
Don't care conditions are input combinations that never occur or whose output doesn't matter. They are marked with an 'X' and can be grouped as either 0 or 1 to optimize simplification.
Incorrect! Try again.
39The Gray code is often used in:
A.Shaft position encoders
B.Floating point operations
C.Error correction
D.Arithmetic operations
Correct Answer: Shaft position encoders
Explanation:
Gray codes are used in position encoders because only one bit changes at a time between adjacent values, reducing errors during transition.
Incorrect! Try again.
40Which of the following corresponds to the Logic equation ?
A.XNOR
B.NOR
C.XOR
D.NAND
Correct Answer: XOR
Explanation:
This is the standard sum-of-products definition for the Exclusive-OR (XOR) function.
Incorrect! Try again.
41What is the 1's complement of ?
A.
B.
C.
D.
Correct Answer:
Explanation:
The 1's complement is obtained by simply flipping every bit. , . .
Incorrect! Try again.
42Convert decimal to Excess-3 code.
A.
B.
C.
D.
Correct Answer:
Explanation:
. Binary of is .
Incorrect! Try again.
43The distributive law applies to:
A.Both boolean and ordinary algebra
B.Neither
C.Only boolean algebra
D.Only ordinary algebra
Correct Answer: Both boolean and ordinary algebra
Explanation:
The distributive law holds true in both standard algebraic systems and Boolean logic.
Incorrect! Try again.
44If a 3-input NAND gate has inputs , the output is:
A.0
B.High Impedance
C.Undefined
D.1
Correct Answer: 1
Explanation:
NAND output is Low (0) only if all inputs are High (1). Since , the AND result is 0, and the NOT (NAND) result is 1.
Incorrect! Try again.
45The standard POS form of the expression corresponds to:
A.Sum of Minterms
B.Sum of Maxterms
C.Product of Maxterms
D.Product of Minterms
Correct Answer: Product of Maxterms
Explanation:
POS stands for Product of Sums. In standard/canonical form, these sum terms are called Maxterms.
Incorrect! Try again.
46The binary code for Hexadecimal is:
A.
B.
C.
D.
Correct Answer:
Explanation:
Hex digits: . Binary for is .
Incorrect! Try again.
47Which theorem allows moving a bubble from the output of an AND gate to the inputs, changing the gate to OR?
A.Duality Theorem
B.Superposition Theorem
C.Consensus Theorem
D.De Morgan's Theorem
Correct Answer: De Morgan's Theorem
Explanation:
De Morgan's theorem conceptually allows 'breaking the bar and changing the sign', essentially swapping NAND for Negative-OR (bubbled inputs on OR).
Incorrect! Try again.
48Overflow in 2's complement addition occurs when:
A.Always when carry out is 1
B.Adding two numbers of same sign yields a result of opposite sign
C.Adding a positive and a negative number
D.Carry out occurs from MSB
Correct Answer: Adding two numbers of same sign yields a result of opposite sign
Explanation:
Overflow happens if two positives sum to a negative (MSB 1) or two negatives sum to a positive (MSB 0) within the fixed bit width.
Incorrect! Try again.
49In a 4-variable K-Map, how are the rows and columns labeled?
A.Binary Sequence ()
B.Gray Code ()
C.Randomly
D.Decimal Order
Correct Answer: Gray Code ()
Explanation:
Axes must use Gray code ordering so that adjacent cells differ by exactly one bit, enabling the grouping logic.
Incorrect! Try again.
50The value of in boolean algebra is:
A.
B.
C.
D.
Correct Answer:
Explanation:
In boolean algebra, OR anything is always (High).
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →