1Which of the following best describes a digital signal?
Analog vs Digital
Easy
A.A signal that cannot be processed by computers
B.A signal that takes discrete values
C.A signal that varies continuously over time
D.A signal with infinite amplitude levels
Correct Answer: A signal that takes discrete values
Explanation:
A digital signal represents information using discrete (finite) values, typically two levels (0 and 1), unlike an analog signal which varies continuously.
Incorrect! Try again.
2What is the base (radix) of the binary number system?
Binary number system
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
The binary number system uses only two digits, and , so its base is .
Incorrect! Try again.
3How many distinct symbols are used in the hexadecimal number system?
Hexadecimal number system
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
Hexadecimal uses symbols: – and –, giving it a base of .
Incorrect! Try again.
4Which digits are valid in the octal number system?
Octal number system
Easy
A. to
B. to
C. and
D. to
Correct Answer: to
Explanation:
The octal system has base and uses digits through .
Incorrect! Try again.
5What is the decimal equivalent of the binary number ?
Number base conversions
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
.
Incorrect! Try again.
6The decimal number is represented in binary as:
Number base conversions
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
.
Incorrect! Try again.
7In a positional number system, the value of a digit depends on:
Positional number system
Easy
A.Only the digit itself
B.The total number of digits
C.Its position and the base
D.The color used to write it
Correct Answer: Its position and the base
Explanation:
In a positional (weighted) system, each digit's contribution depends on its position and the base raised to that positional power.
Incorrect! Try again.
8What is the result of the binary addition ?
Binary arithmetic
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
In binary, , which is a sum of with a carry of .
Incorrect! Try again.
9In BCD, how many bits are used to represent each decimal digit?
Binary coded decimal codes
Easy
A. bits
B. bits
C. bits
D. bits
Correct Answer: bits
Explanation:
Binary Coded Decimal uses bits to represent each decimal digit (–).
Incorrect! Try again.
10What is the key property of the Gray code?
Gray codes
Easy
A.Two bits change between successive values
B.Only one bit changes between successive values
C.All bits change between successive values
D.No bits ever change
Correct Answer: Only one bit changes between successive values
Explanation:
Gray code is a unit-distance code in which only a single bit differs between two consecutive numbers.
Incorrect! Try again.
11In an even parity scheme, the parity bit is set so that the total number of s is:
Parity check codes
Easy
A.Odd
B.Equal to the data bits
C.Even
D.Always zero
Correct Answer: Even
Explanation:
In even parity, the parity bit makes the total count of s (data plus parity) an even number.
Incorrect! Try again.
12The main purpose of an error detection code is to:
Error detection code
Easy
A.Identify errors in transmitted data
B.Encrypt the data
C.Speed up data transmission
D.Compress the data
Correct Answer: Identify errors in transmitted data
Explanation:
Error detection codes add redundancy so that errors introduced during transmission or storage can be identified.
Incorrect! Try again.
13The Hamming code is primarily used for:
Hamming code
Easy
A.Data compression
B.Single-bit error correction
C.Increasing transmission speed
D.Data encryption
Correct Answer: Single-bit error correction
Explanation:
Hamming code is an error-correcting code capable of detecting and correcting single-bit errors.
Incorrect! Try again.
14The 's complement of the binary number is:
Compliments
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
The 's complement is obtained by inverting each bit: .
Incorrect! Try again.
15In signed binary numbers using the sign-magnitude method, the leftmost bit represents:
Representation of signed numbers
Easy
A.The parity
B.The sign
C.The carry
D.The magnitude
Correct Answer: The sign
Explanation:
In sign-magnitude representation, the most significant bit indicates the sign ( for positive, for negative).
Incorrect! Try again.
16The hexadecimal digit is equal to which decimal value?
Hexadecimal number system
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
In hexadecimal, , , up to .
Incorrect! Try again.
17The binary number is equal to which octal number?
Number base conversions
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
, which is in octal.
Incorrect! Try again.
18Digital logic circuits primarily operate using how many logic levels?
Logic circuits
Easy
A.Sixteen
B.Ten
C.Two
D.One
Correct Answer: Two
Explanation:
Digital logic circuits work with two levels, commonly represented as (low) and (high).
Incorrect! Try again.
19A floating point number representation typically consists of a sign, an exponent, and a:
Floating point numbers
Easy
A.Mantissa
B.Carry bit
C.Radix point only
D.Parity bit
Correct Answer: Mantissa
Explanation:
Floating point format stores a sign, an exponent, and a mantissa (significand) to represent real numbers.
Incorrect! Try again.
20A single binary digit, either or , is called a:
Data representation and coding
Easy
A.Word
B.Byte
C.Bit
D.Nibble
Correct Answer: Bit
Explanation:
A bit (binary digit) is the smallest unit of digital data and holds a value of or .
Incorrect! Try again.
21Convert the decimal number to its binary equivalent.
Number base conversions
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Dividing repeatedly by gives remainders read bottom-up, so . Check: .
Incorrect! Try again.
22What is the hexadecimal equivalent of the binary number ?
Hexadecimal number system
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Group into nibbles: and , giving .
Incorrect! Try again.
23Convert the octal number to decimal.
Octal number system
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
.
Incorrect! Try again.
24Perform the binary addition .
Binary arithmetic
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
and ; their sum is .
Incorrect! Try again.
25What is the 's complement of the -bit binary number ?
Compliments
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Invert all bits to get , then add to obtain .
Incorrect! Try again.
26Using -bit 's complement representation, what decimal value does represent?
Representation of signed numbers
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
The sign bit is , so take the 's complement: invert to and add to get . Thus the value is .
Incorrect! Try again.
27What is the BCD representation of the decimal number ?
Binary coded decimal codes
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
In BCD each decimal digit is encoded separately: and , giving .
Incorrect! Try again.
28The binary number is converted to Gray code. What is the result?
Gray codes
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
The MSB stays the same; each Gray bit is the XOR of adjacent binary bits: , giving .
Incorrect! Try again.
29Compute the hexadecimal sum .
Hexadecimal arithmetic
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
, which is in hex: write , carry . Then , giving .
Incorrect! Try again.
30Perform the octal addition .
Octal arithmetic
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
(write , carry ); (write , carry ); . Result is .
Incorrect! Try again.
31For the -bit data , what even-parity bit should be appended so the total number of s is even?
Parity check codes
Medium
A.The parity bit is determined separately for each half of the data word rather than the whole
B.Cannot be determined
C.
D.
Correct Answer:
Explanation:
The data has four s, which is already even, so an even-parity bit of keeps the total even.
Incorrect! Try again.
32In a Hamming code, how many parity bits are required to protect data bits?
Hamming code
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Parity bits must satisfy . For : , which holds, while fails.
Incorrect! Try again.
33A single parity bit added to a data word can reliably detect which type of error?
Error detection code
Medium
A.Any even number of bit errors
B.All possible bit errors and also correct them
C.Any odd number of bit errors
D.Any two-bit error
Correct Answer: Any odd number of bit errors
Explanation:
A single parity bit changes state only when an odd number of bits flip, so it detects odd errors but misses even-numbered errors.
Incorrect! Try again.
34Convert the decimal fraction to binary.
Methods of base conversions
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Multiply by repeatedly: (1), (0), (1), giving .
Incorrect! Try again.
35How many distinct values can be represented using bits?
Binary number system
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
With bits, distinct values are possible. For , .
Incorrect! Try again.
36In the IEEE-754 single-precision format, how many bits are allocated to the exponent field?
Floating point numbers
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Single precision uses sign bit, exponent bits, and mantissa bits for a total of bits.
Incorrect! Try again.
37Which statement best distinguishes a digital signal from an analog signal?
Analog vs Digital
Medium
A.A digital signal cannot carry audio information of any kind
B.A digital signal takes discrete values while an analog signal varies continuously
C.An analog signal uses only two voltage levels while digital uses many
D.A digital signal is always slower than an analog signal
Correct Answer: A digital signal takes discrete values while an analog signal varies continuously
Explanation:
Digital signals are quantized into discrete levels (typically two), whereas analog signals vary continuously over a range of values.
Incorrect! Try again.
38Subtract from using the 's complement method.
Binary arithmetic
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
and ; the difference is .
Incorrect! Try again.
39A code has a minimum Hamming distance of . How many bit errors can it correct?
Error correction code
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
A code corrects up to errors. For , .
Incorrect! Try again.
40In a positional number system, what is the weight (place value) of the digit in the number ?
Codes- Positional number system
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
The digit is in the position, so its weight is in decimal.
Incorrect! Try again.
41Convert the decimal fraction to binary. What is the exact binary representation?
51How many parity bits are minimally required to build a single-error-correcting Hamming code for data bits?
Error correction code
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
The condition is . For : , which holds; gives , false. So .
Incorrect! Try again.
52Convert directly to octal. What is the equivalent octal value?
Number base conversions
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
First to binary: . Group in threes from the binary point: .
Incorrect! Try again.
53A code uses one even parity bit appended per byte. During transmission, exactly two bits of a byte are flipped. What happens?
Parity check codes
Hard
A.The parity bit alone flips
B.The error goes undetected
C.The error is detected and located
D.A single-bit error is falsely reported
Correct Answer: The error goes undetected
Explanation:
A single parity bit detects only an odd number of errors. Two flipped bits preserve overall parity, so the double error is undetected.
Incorrect! Try again.
54The 8-bit pattern represents what decimal value in sign-magnitude, one's complement, and two's complement respectively?
Representation of signed numbers
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Sign bit is 1 (negative). Magnitude → sign-mag . One's complement: invert to → . Two's complement: value .
Incorrect! Try again.
55The Excess-3 code word for a decimal digit is . What decimal digit does it represent?
Binary Codes
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Excess-3 adds 3 to the digit before encoding. , so the digit is .
Incorrect! Try again.
56In a fixed-point format with 4 integer bits and 4 fractional bits (unsigned), what is the resolution (smallest representable step) and the maximum value?
Fixed numbers
Hard
A.Step , max
B.Step , max
C.Step , max
D.Step , max
Correct Answer: Step , max
Explanation:
Resolution . Maximum .
Incorrect! Try again.
57What is the largest decimal value that can be stored in a 4-digit octal number, and how many distinct values can it represent?
Octal number system
Hard
A., values
B., values
C., values
D., values
Correct Answer: , values
Explanation:
A 4-digit octal number ranges to , giving distinct values.
Incorrect! Try again.
58Using two's complement, compute in a 4-bit system. What is the result and its interpretation?
Binary arithmetic
Hard
A., overflow
B., no overflow
C., no overflow
D., overflow
Correct Answer: , no overflow
Explanation:
. Compute . Adding numbers of opposite sign cannot overflow, and .
Incorrect! Try again.
59A message is protected by a 2-D parity scheme (row and column parities, even). If exactly one bit in the data grid flips, what is guaranteed?
Error detection code
Hard
A.The error may go undetected
B.Only column parity flips
C.The error is both detected and located
D.The error is detected but not located
Correct Answer: The error is both detected and located
Explanation:
A single-bit flip changes exactly one row parity and one column parity. Their intersection uniquely identifies the bit, allowing detection and correction.
Incorrect! Try again.
60In IEEE 754 single precision, a stored value has exponent field all zeros () and a nonzero mantissa. How is this value interpreted?
Floating point numbers
Hard
A.A normalized number with exponent
B.A denormalized (subnormal) number
C.Not-a-Number (NaN)
D.Positive infinity
Correct Answer: A denormalized (subnormal) number
Explanation:
Exponent field of all zeros with a nonzero mantissa denotes a subnormal (denormalized) number, using an implicit leading 0 and fixed exponent , enabling gradual underflow.
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 →