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

A fixed 7-bit unsigned register stores a value 1011010₂. What decimal value does this represent using correct place weights?

A 91
B 92
C 90
D 93

A programmer reads a value written as 0x3E and wants the decimal. What is the correct decimal conversion for 3E₁₆?

A 62
B 60
C 61
D 63

The octal number 157₈ is stored in a system. What is its decimal value based on base-8 place values?

A 103
B 109
C 115
D 111

Convert binary 1101111₂ into hexadecimal using correct nibble grouping from the right.

A 6E
B 7F
C 6F
D 5F

A 5-bit 2’s complement number is 10110₂. What decimal value does it represent?

A −9
B −10
C +22
D +10

In 8-bit 2’s complement, the value 11100110₂ is interpreted as which decimal?

A −26
B −25
C +230
D +26

A CPU uses 8-bit signed integers. What happens when 01000000₂ is added to itself in 8-bit 2’s complement?

A No overflow
B Unsigned wrap only
C Signed overflow
D Always zero

Which statement about end-around carry is correct when using 1’s complement subtraction in fixed width?

A Always discard carry
B Add carry to LSB
C Store carry as sign
D Convert carry to XOR

In 2’s complement subtraction implemented as A + (2’s comp B), the final carry-out bit is generally

A Ignored
B Added back
C Stored as sign
D Used as parity

A designer wants to convert an OR gate using only NAND gates. Which technique is primarily applied?

A Base conversion
B Parity setting
C BCD correction
D De Morgan law

The XOR of four bits (A⊕B⊕C⊕D) equals 1 when the number of 1s is

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

A 3-input XOR gate output is 1 for input combinations having

A Even ones
B Only zeros
C Odd ones
D Only ones

For a 4-variable K-map, how many cells exist and why?

A 8, because 2³
B 16, because 2⁴
C 32, because 2⁵
D 64, because 2⁶

In a K-map, a group of 8 adjacent 1s eliminates how many variables from the simplified product term?

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

A full adder carry-out is 1 when at least two inputs are 1. Which Boolean expression matches this carry logic?

A A⊕B⊕Cin
B (A+B+Cin)’
C AB + ACin + BCin
D A·B·Cin

A half adder sum output differs from carry output. Which pair correctly matches sum and carry equations?

A Sum=XOR, Carry=AND
B Sum=AND, Carry=XOR
C Sum=OR, Carry=NOR
D Sum=NAND, Carry=OR

A 4-to-1 multiplexer selects one input using 2 select lines. How many distinct select combinations are possible?

A 2
B 3
C 4
D 8

A 3-to-8 decoder activates exactly one output line for each input code. How many input bits are required for 8 outputs?

A 3 bits
B 2 bits
C 4 bits
D 8 bits

A priority encoder is preferred over a simple encoder because it can correctly handle what input condition?

A Single active input
B All inputs zero
C Clock missing
D Multiple active inputs

A latch is called level-sensitive because its output can change while enable is

A Clock edge
B Power off
C Active level
D Grounded

A D flip-flop is often used to avoid invalid SR conditions because its single data input directly controls

A Parity state
B Next state
C Base state
D Hex state

In binary division, shifting right by one bit for an unsigned number is equivalent to dividing by

A 2
B 4
C 8
D 16

If the binary number 101000₂ is shifted left by 2 positions, what happens to its value in decimal terms?

A Multiplies by 2
B Multiplies by 8
C Multiplies by 4
D Divides by 4

In unsigned arithmetic, overflow is best indicated by

A Carry-out bit
B Sign bit set
C Borrow bit only
D Parity mismatch

In BCD, which range of 4-bit patterns is invalid for a single digit representation?

A 0000–1001
B 0001–0111
C 1010–1111
D 0010–1000

Gray code is useful in encoders because adjacent codes differ by

A Two bits
B One bit
C Three bits
D Four bits

A logic function written as OR of AND terms is in which standard form used for implementation?

A SOP form
B POS form
C XOR form
D NOR form

A logic function written as AND of OR terms is in which standard form?

A SOP form
B XOR form
C NAND form
D POS form

The expression (A+B)’ equals A’·B’ which is used to change an OR followed by NOT into

A OR of NOTs
B AND of NOTs
C XOR of NOTs
D NAND of AND

A 4-bit unsigned number 1111₂ added to 0001₂ produces 1 0000₂. In 4-bit storage, what is stored?

A 0001
B 1111
C 0000
D 1000

In an 8-bit signed system, adding 01100000₂ and 01100000₂ results in a negative pattern. What does this indicate?

A Signed overflow
B Valid sum
C No carry
D Parity error

A binary-to-decimal conversion using weights requires multiplying each bit by powers of

A 10
B 8
C 2
D 16

The hexadecimal number 0xFF corresponds to how many bits all set to 1?

A 4 bits
B 8 bits
C 12 bits
D 16 bits

The octal digit 7 corresponds to which 3-bit binary group?

A 111
B 110
C 101
D 100

A 2-input XNOR gate can be used as a basic comparator because it outputs 1 when inputs are

A Different
B Both 1 only
C Same
D Both 0 only

The complement of a Boolean variable is also called its

A Inverse
B Identity
C Product
D Sum

In Boolean algebra, the distributive law allows rewriting A(B+C) as

A AB+BC
B A+B+C
C (AB)’
D AB+AC

The associative law for AND is correctly written as

A A·B=B·A
B A+A=A
C A·(B·C)=(A·B)·C
D A·0=0

A function expressed in canonical SOP includes terms that each correspond to

A Output 1 rows
B Output 0 rows
C Random rows
D Don’t-care rows

A function expressed in canonical POS includes terms that each correspond to

A Output 1 rows
B Output 0 rows
C Only MSB rows
D Only LSB rows

A binary code used for text representation where ‘A’ and digits have assigned numeric codes is

A BCD
B Gray code
C ASCII
D Excess-3

A parity bit is mainly used for which type of basic checking during transmission?

A Error detection
B Error correction
C Data encryption
D Data sorting

A simple parity check can miss errors most commonly when

A One bit flips
B Two bits flip
C No bits flip
D LSB is 1

A binary adder that adds two bits and a carry-in uses which circuit?

A Half adder
B Decoder
C Encoder
D Full adder

A flip-flop is part of sequential logic because it requires a

A Memory element
B Only OR gates
C Only NAND gates
D Only XOR gates

In sign extension for a negative 2’s complement number, new bits added on the left are

A Always 0
B Alternating
C Always 1
D Random

The binary 00101100₂ equals which decimal value using weights?

A 42
B 44
C 45
D 46

Converting binary 11110000₂ to hex gives which result?

A F0
B 0F
C FF
D F8

In a 2-input AND gate, output becomes 1 for how many input combinations?

A Two cases
B Three cases
C One case
D Four cases

A NOR gate is often used to build other functions because it is universal. Which condition makes NOR output 1?

A Both inputs 1
B Inputs different
C Any input 1
D Both inputs 0

Leave a Reply

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