Unit 1: Number Systems - Practice Quiz

ECE213 — Digital Electronics 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 Which 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

2 What is the base (radix) of the binary number system?

Binary number system Easy
A.
B.
C.
D.

3 How many distinct symbols are used in the hexadecimal number system?

Hexadecimal number system Easy
A.
B.
C.
D.

4 Which digits are valid in the octal number system?

Octal number system Easy
A. to
B. to
C. and
D. to

5 What is the decimal equivalent of the binary number ?

Number base conversions Easy
A.
B.
C.
D.

6 The decimal number is represented in binary as:

Number base conversions Easy
A.
B.
C.
D.

7 In 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

8 What is the result of the binary addition ?

Binary arithmetic Easy
A.
B.
C.
D.

9 In BCD, how many bits are used to represent each decimal digit?

Binary coded decimal codes Easy
A. bits
B. bits
C. bits
D. bits

10 What 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

11 In 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

12 The 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

13 The Hamming code is primarily used for:

Hamming code Easy
A. Data compression
B. Single-bit error correction
C. Increasing transmission speed
D. Data encryption

14 The 's complement of the binary number is:

Compliments Easy
A.
B.
C.
D.

15 In 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

16 The hexadecimal digit is equal to which decimal value?

Hexadecimal number system Easy
A.
B.
C.
D.

17 The binary number is equal to which octal number?

Number base conversions Easy
A.
B.
C.
D.

18 Digital logic circuits primarily operate using how many logic levels?

Logic circuits Easy
A. Sixteen
B. Ten
C. Two
D. One

19 A 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

20 A single binary digit, either or , is called a:

Data representation and coding Easy
A. Word
B. Byte
C. Bit
D. Nibble

21 Convert the decimal number to its binary equivalent.

Number base conversions Medium
A.
B.
C.
D.

22 What is the hexadecimal equivalent of the binary number ?

Hexadecimal number system Medium
A.
B.
C.
D.

23 Convert the octal number to decimal.

Octal number system Medium
A.
B.
C.
D.

24 Perform the binary addition .

Binary arithmetic Medium
A.
B.
C.
D.

25 What is the 's complement of the -bit binary number ?

Compliments Medium
A.
B.
C.
D.

26 Using -bit 's complement representation, what decimal value does represent?

Representation of signed numbers Medium
A.
B.
C.
D.

27 What is the BCD representation of the decimal number ?

Binary coded decimal codes Medium
A.
B.
C.
D.

28 The binary number is converted to Gray code. What is the result?

Gray codes Medium
A.
B.
C.
D.

29 Compute the hexadecimal sum .

Hexadecimal arithmetic Medium
A.
B.
C.
D.

30 Perform the octal addition .

Octal arithmetic Medium
A.
B.
C.
D.

31 For 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.

32 In a Hamming code, how many parity bits are required to protect data bits?

Hamming code Medium
A.
B.
C.
D.

33 A 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

34 Convert the decimal fraction to binary.

Methods of base conversions Medium
A.
B.
C.
D.

35 How many distinct values can be represented using bits?

Binary number system Medium
A.
B.
C.
D.

36 In the IEEE-754 single-precision format, how many bits are allocated to the exponent field?

Floating point numbers Medium
A.
B.
C.
D.

37 Which 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

38 Subtract from using the 's complement method.

Binary arithmetic Medium
A.
B.
C.
D.

39 A code has a minimum Hamming distance of . How many bit errors can it correct?

Error correction code Medium
A.
B.
C.
D.

40 In 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.

41 Convert the decimal fraction to binary. What is the exact binary representation?

Methods of base conversions Hard
A.
B.
C.
D.

42 In an 8-bit two's complement system, what is the result of and does overflow occur?

Representation of signed numbers Hard
A. Result is , no overflow
B. Result wraps to , overflow occurs
C. Result is , overflow occurs
D. Result is , no overflow

43 A 7-bit Hamming code (even parity) is received (bits numbered 1–7 left to right). Assuming a single-bit error, which bit position is erroneous?

Hamming code Hard
A. No error present
B. Position 5
C. Position 7
D. Position 3

44 Using IEEE 754 single precision, the decimal number is stored. What is the biased exponent field (8 bits)?

Floating point numbers Hard
A.
B.
C.
D.

45 The Gray code word is given. What is its equivalent binary value?

Gray codes Hard
A.
B.
C.
D.

46 Perform in binary. What is the result?

Binary arithmetic Hard
A.
B.
C.
D.

47 The 9's complement of a decimal number is . What is the 10's complement of the original number?

Compliments Hard
A.
B.
C.
D.

48 Add the hexadecimal numbers . What is the sum?

Hexadecimal arithmetic Hard
A.
B.
C.
D.

49 Add the BCD numbers (i.e., 59 + 36). What is the correct BCD result?

Binary coded decimal codes Hard
A.
B.
C.
D.

50 Compute in octal. What is the result?

Octal arithmetic Hard
A.
B.
C.
D.

51 How 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.

52 Convert directly to octal. What is the equivalent octal value?

Number base conversions Hard
A.
B.
C.
D.

53 A 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

54 The 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.

55 The Excess-3 code word for a decimal digit is . What decimal digit does it represent?

Binary Codes Hard
A.
B.
C.
D.

56 In 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

57 What 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

58 Using 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

59 A 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

60 In 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