Chapter 5: Number System and Digital Logic (Set-8)

While converting a negative decimal number into binary for storage in CPU registers, which representation is most commonly used because it supports direct addition and subtraction?

A 1’s complement
B 2’s complement
C Sign-magnitude
D BCD code

For an n-bit 2’s complement number, which formula correctly gives the representable value range used by most processors?

A 0 to 2ⁿ−1
B −2ⁿ to +2ⁿ
C −2ⁿ⁻¹ to +2ⁿ⁻¹−1
D −(2ⁿ−1) to +(2ⁿ−1)

In 8-bit 2’s complement, which binary pattern represents the most negative number available in that range?

A 01111111
B 11111111
C 00000001
D 10000000

When adding two 8-bit signed numbers in 2’s complement, which condition is a correct sign-based indicator of overflow?

A Same signs change
B Different signs add
C Carry always present
D MSB always 1

A common hardware method to detect 2’s complement overflow uses the relationship between which two carry signals?

A LSB carry and MSB
B Input carry and sum
C Carry into MSB and carry out
D Parity carry and borrow

When a binary number is converted to hexadecimal, which grouping ensures correct mapping without changing value?

A 4-bit groups
B 2-bit groups
C 3-bit groups
D 5-bit groups

A 6-bit 2’s complement representation is used in a device. What is the maximum positive value it can store?

A +32
B +31
C +63
D +15

In 6-bit 2’s complement, the binary 100000 represents which decimal value?

A −31
B +32
C −32
D +0

In 1’s complement subtraction, after adding the complement, an extra step is needed if a carry occurs. What is that step?

A Ignore carry
B Flip MSB only
C Shift right
D Add carry back

In 2’s complement subtraction using addition, what is typically done with any carry out of the MSB?

A Ignore it
B Add back to LSB
C Store as sign
D Treat as borrow

While converting decimal to binary using repeated division, the produced remainders form bits from which side first?

A MSB first
B Middle first
C LSB first
D Random order

A binary number is often converted to octal quickly by grouping bits into sets of three. Why is three bits correct for one octal digit?

A 2² equals 8
B 2³ equals 8
C 2⁴ equals 8
D 8 equals 3

In an 8-bit unsigned system, what happens when 11111111₂ is incremented by 1 and stored in 8 bits?

A Becomes 00000000
B Becomes 11111110
C Becomes 10000000
D Becomes 00000001

A 4-bit BCD digit must represent only decimal 0–9. Which 4-bit pattern is invalid in BCD?

A 1001
B 0110
C 1010
D 0000

In BCD addition, if a 4-bit sum is greater than 1001 or a carry occurs, what correction is added to the digit?

A Add 0110
B Add 0011
C Add 0101
D Add 1001

A 3-variable truth table must list how many rows to cover all input combinations?

A 4 rows
B 6 rows
C 8 rows
D 16 rows

Which pair of gates are called universal because any Boolean function can be implemented using only one of them?

A AND and OR
B XOR and XNOR
C NOT and XOR
D NAND and NOR

If a NAND gate inputs are tied together to the same signal A, the output performs which operation on A?

A A AND A
B NOT A
C A OR A
D A XOR A

A logic circuit that has outputs depending only on current inputs and not on past values is categorized as which type?

A Sequential logic
B Memory logic
C Combinational logic
D Clocked storage

XOR gate is widely used in parity circuits because XOR outputs 1 when the number of 1s is what type?

A Odd count
B Even count
C Prime count
D Zero count

XNOR gate is useful for equality checking between two bits because it outputs 1 when inputs are

A Always different
B Both are 1 only
C Both are 0 only
D Always same

The Boolean expression A + A·B simplifies to A by which law that removes redundant terms?

A Identity law
B Null law
C Absorption law
D Complement law

The expression A·(A + B) simplifies to A mainly by using which rule?

A Absorption law
B Distributive law
C Commutative law
D Idempotent law

In Boolean algebra, commutative law for AND indicates which property?

A (A·B)’ = A’+B’
B A·B = B·A
C A·1 = A
D A+A = A

Associative law allows regrouping of terms. Which is a correct associative form for OR?

A A+B=B+A
B A·(B+C)=AB+AC
C A+(B+C)=(A+B)+C
D A+A’=1

A canonical SOP expression is formed by OR-ing which standard terms that include all variables once?

A Minterms
B Maxterms
C Parity terms
D Gray terms

A canonical POS expression is formed by AND-ing which standard terms that include all variables once?

A Minterms
B XOR terms
C Maxterms
D NOT terms

In a Karnaugh map, grouping 4 adjacent 1s eliminates how many variables from the resulting simplified term?

A Eliminates 1
B Eliminates 3
C Eliminates 4
D Eliminates 2

A half adder adds two bits A and B. Which expression correctly represents its carry output?

A A ⊕ B
B A · B
C A + B
D (A+B)’

A full adder sum output can be written as A ⊕ B ⊕ Cin. What does this indicate about when Sum becomes 1?

A Odd ones
B Even ones
C All zeros
D Always ones

A full adder carry-out becomes 1 when at least how many of its three inputs are 1?

A At least one
B At least three
C At least two
D None required

A 4-to-1 multiplexer requires how many select lines to choose one input out of four?

A Two select
B One select
C Three select
D Four select

A 1-to-8 demultiplexer distributes one input to one of eight outputs. How many select lines are required?

A Two select
B Three select
C Four select
D Eight select

A 3-to-8 decoder has how many input lines and how many outputs in standard form?

A 8 input, 3 output
B 2 input, 4 output
C 4 input, 16 output
D 3 input, 8 output

A priority encoder is mainly needed because it can handle which condition properly?

A No input active
B Only one output
C Multiple inputs active
D Always zero input

A latch is called level-sensitive because output may change as long as enable is

A High active
B Low only
C Clock absent
D Power off

A T flip-flop toggles its output on clock edges when the T input is

A 0 always
B Floating high
C Low pulse
D 1 always

Standard ASCII is considered a 7-bit code. This means it can represent how many different characters?

A 64 chars
B 96 chars
C 128 chars
D 256 chars

In BCD, the decimal digit 9 is represented as which 4-bit pattern?

A 1010
B 1001
C 1111
D 0111

A parity bit method is called even parity when total number of 1s in data plus parity is

A Always odd
B Always zero
C Always even
D Always prime

A single-bit error can be detected by parity because it changes the total number of 1s from even to odd or vice versa. This is because parity detects which type of error count?

A Odd errors only
B Even errors only
C No errors
D Prime errors

A circuit that stores one bit of information and changes state only on clock edge is generally called a

A Decoder
B Multiplexer
C Half adder
D Flip-flop

A simple method to convert binary to decimal is to multiply each bit by its positional weight. What are the weights based on?

A Powers of 8
B Powers of 2
C Powers of 10
D Powers of 16

In an unsigned 8-bit system, the binary number 00000000 represents 0. In 2’s complement signed system, the same pattern represents

A −0 only
B −1
C +0 only
D −128

In 2’s complement, the number −1 is represented by which 8-bit pattern?

A 11111111
B 10000001
C 00000001
D 01111111

In binary arithmetic, adding 1 to 01111111 in 8-bit 2’s complement results in 10000000. What does this indicate?

A No change
B Parity error
C Signed overflow
D Decimal carry

Which gate output is 1 only when at least one input is 1, making it useful for combining conditions?

A AND gate
B OR gate
C XOR gate
D NOR gate

In digital logic, De Morgan’s laws are especially useful when converting circuits into which single-gate implementations?

A XOR-only circuits
B BCD-only circuits
C ASCII-only circuits
D NAND-only or NOR-only

A MUX can implement a Boolean function by connecting select lines to variables and choosing data inputs as constants or variables. This makes MUX behave like a

A Code detector
B Voltage divider
C Logic generator
D Memory cell

If a Boolean expression is written as an OR of multiple AND terms, that expression is in which standard form used for gate design?

A Sum of products
B Product of sums
C Exclusive OR form
D Complement form

Leave a Reply

Your email address will not be published. Required fields are marked *