Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
You're offline
Unit 3 MCQsIntroduction to number system and logic gates
Which of the following represents the decimal number in binary?
Not quite. Try another option.
Answer:
To convert decimal to binary, divide by 2 repeatedly and record remainders: rem ; rem ; rem ; rem ; rem . Reading remainders bottom-up gives .
Question 2 of 50
Convert the hexadecimal number to its decimal equivalent.
Not quite. Try another option.
Answer:
Hexadecimal is calculated as: (since ). .
Question 3 of 50
What is the decimal value of the binary number ?
Not quite. Try another option.
Answer:
Integer part . Fractional part . Total is .
Question 4 of 50
Which of the following is an unweighted code?
Not quite. Try another option.
Answer: Excess-3 Code
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.
Question 5 of 50
Convert the binary number to Gray code.
Not quite. Try another option.
Answer:
To convert Binary to Gray: MSB stays the same. Subsequent bits are XORed with the previous bit. MSB=. Next=. Next=. Next=. Result: .
Question 6 of 50
The Gray code represents which binary number?
Not quite. Try another option.
Answer:
Gray to Binary: MSB stays same (). Next Binary = (Previous Binary) (Current Gray). . . . Result: .
Question 7 of 50
What is the BCD (8421) representation of decimal number ?
Not quite. Try another option.
Answer:
In BCD, each decimal digit is represented by a 4-bit binary group. , . Combined: .
Question 8 of 50
What is the Excess-3 code for the decimal number ?
Not quite. Try another option.
Answer:
Excess-3 is calculated by adding 3 to the decimal number and converting to binary. . Binary of is .
Question 9 of 50
The 2's complement of the binary number is:
Not quite. Try another option.
Answer:
To find 2's complement: Invert all bits () and add 1 ().
Question 10 of 50
In 8-bit 2's complement representation, what is the range of integers that can be represented?
Not quite. Try another option.
Answer: -128 to +127
For bits, the range of signed 2's complement numbers is to . For , range is to .
Question 11 of 50
Perform the subtraction using 2's complement method.
A digital circuit that produces a logic output when the input number of s is odd is:
Not quite. Try another option.
Answer: XOR gate
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).
Question 29 of 50
If and , what is the value of ?
Not quite. Try another option.
Answer:
. . . Total sum .
Question 30 of 50
The dual of the boolean expression is:
Not quite. Try another option.
Answer:
To find the dual, swap OR () with AND () and vice versa, and swap 0s with 1s. becomes .
Question 31 of 50
In a 3-variable K-map, the cells and are considered:
Not quite. Try another option.
Answer: Adjacent
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.
Question 32 of 50
Which of the following is equivalent to the Boolean function ?
Not quite. Try another option.
Answer:
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.
Question 33 of 50
Convert the binary fraction to decimal.
Not quite. Try another option.
Answer:
.
Question 34 of 50
What is the radix of the octal number system?
Not quite. Try another option.
Answer: 8
The radix (or base) of the Octal system is 8 (digits 0-7).
Question 35 of 50
The boolean expression is equivalent to:
Not quite. Try another option.
Answer:
Distributive law: .
Question 36 of 50
To perform binary subtraction using 1's complement:
Not quite. Try another option.
Answer: Add to 1's complement of . If carry generated, add 1 to sum.
In 1's complement subtraction, if an end-around carry is generated, it must be added to the LSB of the result.
Question 37 of 50
What is the minimum number of NAND gates required to implement an OR gate?
Not quite. Try another option.
Answer: 3
. Step 1: Invert A (1 NAND). Step 2: Invert B (1 NAND). Step 3: NAND them (1 NAND). Total 3 gates.
Question 38 of 50
In K-Map simplification, 'Don't Care' conditions are represented by:
Not quite. Try another option.
Answer: X
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.
Question 39 of 50
The Gray code is often used in:
Not quite. Try another option.
Answer: Shaft position encoders
Gray codes are used in position encoders because only one bit changes at a time between adjacent values, reducing errors during transition.
Question 40 of 50
Which of the following corresponds to the Logic equation ?
Not quite. Try another option.
Answer: XOR
This is the standard sum-of-products definition for the Exclusive-OR (XOR) function.
Question 41 of 50
What is the 1's complement of ?
Not quite. Try another option.
Answer:
The 1's complement is obtained by simply flipping every bit. , . .
Question 42 of 50
Convert decimal to Excess-3 code.
Not quite. Try another option.
Answer:
. Binary of is .
Question 43 of 50
The distributive law applies to:
Not quite. Try another option.
Answer: Both boolean and ordinary algebra
The distributive law holds true in both standard algebraic systems and Boolean logic.
Question 44 of 50
If a 3-input NAND gate has inputs , the output is:
Not quite. Try another option.
Answer: 1
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.
Question 45 of 50
The standard POS form of the expression corresponds to:
Not quite. Try another option.
Answer: Product of Maxterms
POS stands for Product of Sums. In standard/canonical form, these sum terms are called Maxterms.
Question 46 of 50
The binary code for Hexadecimal is:
Not quite. Try another option.
Answer:
Hex digits: . Binary for is .
Question 47 of 50
Which theorem allows moving a bubble from the output of an AND gate to the inputs, changing the gate to OR?
Not quite. Try another option.
Answer: De Morgan's Theorem
De Morgan's theorem conceptually allows 'breaking the bar and changing the sign', essentially swapping NAND for Negative-OR (bubbled inputs on OR).
Question 48 of 50
Overflow in 2's complement addition occurs when:
Not quite. Try another option.
Answer: Adding two numbers of same sign yields a result of opposite sign
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.
Question 49 of 50
In a 4-variable K-Map, how are the rows and columns labeled?
Not quite. Try another option.
Answer: Gray Code ()
Axes must use Gray code ordering so that adjacent cells differ by exactly one bit, enabling the grouping logic.
Question 50 of 50
The value of in boolean algebra is:
Not quite. Try another option.
Answer:
In boolean algebra, OR anything is always (High).
That's unit 3
Answer a few questions and your score shows up here.
Nearly through. Did unit 3 of ECE249 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 3 of ECE249 save you a night before the exam?
Then you can help keep it free for the next batch. 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.