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

A number written as 4A₁₆ uses which base for place values

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

In any base-N system, the rightmost digit position has weight

A
B
C N⁰
D N⁻¹

Which is a valid octal digit

A 7
B 8
C 9
D A

Which is a valid hexadecimal digit

A G
B 16
C 2
D F

The “most significant bit” is the bit with

A Lowest place value
B Highest place value
C Middle place value
D No place value

Which notation commonly indicates octal in many languages

A 0x
B 0b
C 0o
D 0d

In binary, the place values from right to left are

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

Convert decimal 18 to binary

A 10100
B 10010
C 11000
D 01010

Convert binary 100000 to decimal

A 16
B 64
C 32
D 48

Convert decimal 45 to hexadecimal

A 2B
B 2D
C 3A
D 1F

Convert hexadecimal 3C to decimal

A 48
B 64
C 36
D 60

Convert binary 1001 to octal

A 12
B 11
C 14
D 15

Convert octal 25 to binary

A 101001
B 110010
C 100101
D 111000

Binary subtraction: 1000 − 0001 equals

A 0110
B 1001
C 1111
D 0111

When a binary subtraction needs borrowing, it is similar to

A Borrowing in decimal
B Multiplying digits
C Carrying in addition
D Ignoring place values

Binary multiplication is mainly repeated

A Subtraction steps
B Addition steps
C Division steps
D Complement steps

Binary division is mainly repeated

A Addition
B XOR
C Subtraction
D NOT

In 2’s complement, negative numbers are formed by

A Adding 2 always
B Flipping bits only
C Shifting left once
D Flip then add 1

In 2’s complement, subtraction A − B can be done as

A A + B
B A + (2’s comp B)
C A − (1’s comp B)
D A ÷ B

In 2’s complement, how many representations of zero exist

A Two forms
B Three forms
C One only
D Four forms

For 4-bit 2’s complement, the smallest value is

A −7
B −15
C 0
D −8

Sign extension of 1010 (4-bit signed) to 8 bits becomes

A 00001010
B 11111010
C 00001011
D 11110100

A carry out of MSB in unsigned addition indicates

A Overflow beyond range
B No issue always
C Sign bit changes
D Parity becomes odd

In 2’s complement signed addition, overflow occurs when

A Any carry happens
B Inputs different sign, result same
C Inputs same sign, result different
D MSB is always 1

A logic gate output depends on

A Random choice
B File type used
C Screen resolution
D Input logic levels

For a 2-input AND gate, output is 1 for

A 00 only
B 11 only
C 01 only
D 10 only

For a 2-input OR gate, output is 0 for

A 01 only
B 10 only
C 00 only
D 11 only

XOR output for inputs 1 and 1 is

A 1
B Carry 1
C Undefined
D 0

NAND output for inputs 1 and 1 is

A 1
B 0
C 10
D 11

NOR output for inputs 0 and 0 is

A 0
B 10
C 1
D 11

Which gate is easiest to build an inverter using same gate type

A NAND
B AND
C OR
D XOR

Truth table rows for 3 inputs are

A 6
B 9
C 16
D 8

Boolean expression uses operators mainly

A +, − only
B ×, ÷ only
C AND, OR, NOT
D <, > only

Commutative law example for OR is

A A+(B+C)=(A+B)+C
B A+B=B+A
C A(B+C)=AB+AC
D A+AB=A

Associative law example for AND is

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

Distributive law example is

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

Simplify: A + A·B equals

A A·B
B A
C B
D A+B

Simplify: A·(A + B) equals

A B
B A·B
C A+B
D A

A canonical SOP form is a sum of

A Maxterms
B Complements only
C Minterms
D Constants only

A canonical POS form is a product of

A Maxterms
B Minterms
C XOR terms
D NAND terms

Karnaugh map is mainly used to

A Store data permanently
B Simplify Boolean logic
C Increase clock speed
D Draw CPU diagrams

A half adder adds

A Three input bits
B Four input bits
C Eight input bits
D Two input bits

Half adder outputs are

A Sum and Borrow
B Carry and Borrow
C Sum and Carry
D Parity and Sum

A full adder adds

A Two bits only
B Two bits, carry
C One bit only
D Eight bits only

A multiplexer mainly works as a

A Data selector
B Data storage
C Error corrector
D Clock generator

A demultiplexer mainly works as a

A Many-to-one selector
B One-to-many distributor
C Memory cell
D Parity generator

A decoder converts

A Many outputs to one
B Analog to digital
C Text to ASCII
D Binary input to line

An encoder converts

A Code to many lines
B Decimal to float
C One active line to code
D ASCII to Unicode

ASCII basic form uses how many bits

A 5 bits
B 7 bits
C 6 bits
D 8 bits

A parity bit with even parity ensures

A Total 1s odd
B Total 0s even
C Total bits prime
D Total 1s even

Leave a Reply

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