Unit 1 - Practice Quiz

ECE213 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 Which type of signal can take any value within a continuous range?

Analog vs Digital Easy
A. Binary signal
B. Discrete signal
C. Analog signal
D. Digital signal

2 What is the base or radix of the decimal number system?

Number Systems Easy
A. 8
B. 10
C. 16
D. 2

3 Which of the following is NOT a valid binary number?

Binary number system Easy
A. 001100
B. 10210
C. 101101
D. 110011

4 What is the decimal equivalent of the binary number ?

Number base conversions Easy
A. 3
B. 5
C. 6
D. 4

5 Which set of digits is used in the octal number system?

Octal number system Easy
A. 0-9
B. 0, 1
C. 0-7
D. 0-F

6 In the hexadecimal number system, what decimal value does the letter 'F' represent?

Hexadecimal number system Easy
A. 10
B. 12
C. 14
D. 15

7 What is the result of the binary addition ?

Binary arithmetic Easy
A.
B.
C.
D.

8 What is the 1's complement of the binary number 110100?

Compliments Easy
A. 001011
B. 001100
C. 110101
D. 001010

9 In an 8-bit sign-magnitude representation, what does the Most Significant Bit (MSB) indicate?

Representation of signed numbers Easy
A. The magnitude of the number
B. The least significant value
C. An error bit
D. The sign of the number

10 How is the decimal number 39 represented in BCD (Binary Coded Decimal)?

Binary coded decimal codes Easy
A. 111001
B. 100111
C. 0011 1001
D. 0010 0111

11 What is a primary characteristic of Gray codes?

Gray codes Easy
A. They are identical to standard binary representation.
B. They are primarily used for arithmetic operations.
C. Only one bit changes between any two successive code words.
D. They are weighted codes.

12 For the data bits 11010, what would the parity bit be to achieve odd parity?

Parity Easy
A. 1
B. Cannot be determined
C. It is not needed
D. 0

13 Which of the following is a simple code used for detecting single-bit errors?

Error detection code Easy
A. BCD code
B. Parity check code
C. Gray code
D. Hamming code

14 A digital system is a system that processes information represented by:

Digital Systems Easy
A. Discrete values
B. Infinitely variable physical quantities
C. Continuous waveforms
D. Analog signals

15 The basic building blocks of all digital logic circuits are known as:

Logic circuits Easy
A. Diodes
B. Logic gates
C. Microprocessors
D. Resistors

16 A code that can not only detect but also correct errors is called a(n):

Error correction code Easy
A. Error detection code
B. Alphanumeric code
C. Error correction code
D. Weighted code

17 In a floating-point number representation, the part that indicates the position of the radix point is the:

Floating point numbers Easy
A. Exponent
B. Base
C. Mantissa
D. Sign

18 What is the hexadecimal equivalent of the binary number ?

Methods of base conversions Easy
A. E
B. D
C. C
D. B

19 What is the sum of and in octal?

Octal arithmetic Easy
A.
B.
C.
D.

20 What is the sum of and ?

Hexadecimal arithmetic Easy
A.
B.
C.
D.

21 What is the result of the hexadecimal addition ?

Hexadecimal arithmetic Medium
A.
B.
C.
D.

22 Convert the fractional decimal number to its binary equivalent.

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

23 What is the 8-bit 2's complement representation of the decimal number -75?

Compliments Medium
A. 10110110
B. 01001011
C. 10110100
D. 10110101

24 What is the Gray code equivalent of the binary number ?

Gray codes Medium
A. 11110
B. 11011
C. 11101
D. 10101

25 A 7-bit Hamming code 1011000 is received. Assuming even parity and the bit order is , which bit position is in error?

Hamming code Medium
A. Position 5 ()
B. Position 4 ()
C. No error
D. Position 6 ()

26 Calculate the sum of the octal numbers and .

Octal arithmetic Medium
A.
B.
C.
D.

27 What is the result of adding the BCD numbers (for 56) and (for 34)?

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

28 In the IEEE 754 single-precision (32-bit) floating-point standard, the exponent field is 8 bits long and is represented using a biased notation. What is the value of this bias?

Floating point numbers Medium
A. 128
B. 64
C. 1023
D. 127

29 Using 8-bit 2's complement arithmetic, what is the result of subtracting 45 from 20 (i.e., )?

Binary arithmetic Medium
A. 11111111
B. 11100111
C. 11100110
D. 00011001

30 A data word 1011001 is to be transmitted with an odd parity bit appended at the end. What is the complete transmitted codeword?

Parity check codes Medium
A. 11011001
B. 01011001
C. 10110011
D. 10110010

31 Which statement best describes the primary advantage of a Hamming code over a simple parity check code?

Error correction code Medium
A. It is significantly simpler to implement in hardware.
B. It can detect all multiple-bit errors.
C. It can identify the location of a single-bit error and correct it.
D. It uses fewer redundant bits for the same amount of data.

32 What is the hexadecimal representation of the octal number ?

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

33 In an 8-bit system, what is the decimal value of the binary number 10101100 if it is interpreted as a signed magnitude number?

Representation of signed numbers Medium
A. -83
B. 172
C. -44
D. -84

34 For a data message containing 8 bits of data (), what is the minimum number of parity bits () required to create a Hamming code that can correct a single-bit error?

Hamming code Medium
A. 4
B. 8
C. 3
D. 5

35 Perform the binary subtraction using 2's complement on a 6-bit system.

Compliments Medium
A. 100101
B. 111011
C. 111010
D. 000101

36 If the hexadecimal number is converted to decimal, what is its value?

Hexadecimal number system Medium
A. 210.12
B. 32.75
C. 42.75
D. 42.12

37 Using Cyclic Redundancy Check (CRC), the data to be sent is 110101 and the generator polynomial is . What is the transmitted codeword?

Error Detection and Correction Medium
A. 110101111
B. 10110111
C. 110101101
D. 110101000

38 Which of the following is a key characteristic of Gray code that makes it particularly useful for mechanical rotary encoders?

Binary Codes Medium
A. Only one bit changes between any two consecutive code words.
B. It is a weighted code, making arithmetic operations simple.
C. It directly represents decimal digits in binary form.
D. It contains an inherent error-correction capability.

39 What is the result of converting the base-10 number 159 to its octal equivalent?

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

40 In an 8-bit system, what is the range of decimal values that can be represented using the 2's complement format?

Data representation and coding Medium
A. -127 to +127
B. -128 to +127
C. 0 to 255
D. -128 to +128

41 A (7,4) Hamming code uses even parity. The received codeword is 1011011 (P1 P2 D3 P4 D5 D6 D7). What is the corrected data word (D3 D5 D6 D7)?

Hamming code Hard
A. The error is in a parity bit, data is 0011
B. 1011
C. 0111
D. 0011

42 What is the decimal value of the smallest positive denormalized number representable in the IEEE 754 32-bit single-precision format?

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

43 An 8-bit number is given in 2's complement form as 10110101. What is the result of multiplying this number by 2, expressed in 8-bit 2's complement? Assume no overflow check is performed, only the bit-wise operation.

Compliments Hard
A. 01101011
B. 11101010
C. 01101010
D. Overflow occurs, result is invalid

44 Calculate the result of the hexadecimal division . What are the quotient and remainder?

Hexadecimal arithmetic Hard
A. Quotient: , Remainder:
B. Quotient: , Remainder:
C. Quotient: , Remainder:
D. Quotient: , Remainder:

45 A 4-bit binary number is arithmetically shifted right by one position, including the sign bit, to get . The result is then converted to its Gray code equivalent. What is the final Gray code?

Gray codes Hard
A. 1111
B. 1101
C. 1011
D. 1001

46 A custom coding scheme encodes a 4-bit data word into a 7-bit codeword by adding 3 parity bits with even parity. The parity bits are defined as: , , . If the received codeword is 0110110, which data bit is in error?

Error correction code Hard
A.
B. No error or multiple errors detected
C.
D.

47 What is the result of the BCD addition of and after performing the necessary corrections?

Binary Coded Decimal codes Hard
A. 1001 1111
B. 0001 0001 0010
C. 1010 0000
D. 0001 0000 0110

48 For an n-bit binary system where , which statement correctly describes the relationship between the number of unique values representable by Sign-Magnitude, 1's Complement, and 2's Complement systems?

Representation of signed numbers Hard
A. 2's Complement can represent one more unique value than Sign-Magnitude and 1's Complement.
B. Sign-Magnitude and 1's Complement can represent unique values, while 2's Complement can represent unique values.
C. All three systems can represent the same number of unique values ().
D. 2's Complement has a symmetric range of positive and negative numbers, unlike the other two.

49 In the IEEE 754 single-precision format, what is the 'gap' or 'ulp' (unit in the last place) between the number and the next higher representable floating-point number?

Floating point numbers Hard
A. 4
B.
C. 2
D. 1

50 Perform the octal division . What is the quotient and remainder?

Octal arithmetic Hard
A. Quotient: , Remainder:
B. Quotient: , Remainder:
C. Quotient: , Remainder:
D. Quotient: , Remainder:

51 The Excess-3 BCD code is a 'self-complementing' code. What does this property imply when finding the 9's complement of a decimal number represented in Excess-3?

Binary Codes Hard
A. The 9's complement is found by taking the 2's complement of each nibble.
B. The 9's complement is found by inverting all the bits of its Excess-3 representation.
C. The 9's complement requires converting to decimal, complementing, and converting back.
D. The 9's complement is found by adding 0011 to each nibble.

52 Given a set of 5-bit code words: {00111, 11100, 01010, 10001}. What is the minimum Hamming distance () of this code, and what are its error detection and correction capabilities?

Error Detection and Correction Hard
A. ; can detect up to 3 errors and correct up to 2 errors.
B. ; can detect up to 3 errors and correct up to 1 error.
C. ; can detect up to 2 errors and correct up to 1 error.
D. ; can detect up to 1 error and correct 0 errors.

53 Two unsigned 8-bit fixed-point numbers, A in Q4.4 format and B in Q2.6 format, are multiplied. What is the Q-format of the 16-bit result?

Fixed numbers Hard
A. Q6.8
B. Q8.8
C. Q10.6
D. Q6.10

54 What is the result of the expression , where 'b' is an unknown number base?

Number base conversions Hard
A. Base 6
B. Base 8
C. Base 4
D. Base 5

55 What is the result of taking the 2's complement of the most negative number that can be represented in an 8-bit system?

Compliments Hard
A. One (00000001)
B. Zero (00000000)
C. The number itself (10000000)
D. The largest positive number (01111111)

56 A digital system needs to represent the 12 months of the year. Which of the following encoding schemes uses the minimum number of bits while also having a Hamming distance of at least 2 between any two valid codewords, ensuring single-bit error detection?

Data representation and coding Hard
A. A 4-bit 'one-hot' encoding (e.g., Jan=0001, Feb=0010, Mar=0100...).
B. A minimal 4-bit Gray code for the numbers 1 through 12.
C. A standard 4-bit binary encoding (Jan=0001, Feb=0010, ..., Dec=1100).
D. A 5-bit code where the 5th bit is an even parity bit for the first 4 bits.

57 A 16-bit data block is arranged in a 4x4 grid. A 2D even parity check is applied, generating 4 row parity bits and 4 column parity bits. If a single bit in the data block is flipped and a single parity bit is also flipped during transmission, what will the receiver's syndrome check indicate?

Parity Check Codes Hard
A. A single row and a single column will have incorrect parity, correctly identifying the flipped data bit.
B. The error will be detected, but it will be unclassifiable or appear as a different single-bit error.
C. Two rows and two columns will have incorrect parity.
D. No error will be detected.

58 Using Booth's algorithm for 2's complement multiplication, what are the first three bits of the product (from MSB) when multiplying by using 4-bit representations?

Binary Arithmetic Hard
A. 001
B. 111
C. 000
D. 100

59 In the IEEE 754 single-precision (32-bit) format, what is the hexadecimal representation of Negative Infinity ()?

Floating point numbers Hard
A. 7F800000
B. 80000000
C. FFFFFFFF
D. FF800000

60 If , what is the value of in base 10?

Number Systems Hard
A. 127
B. 111
C. 145
D. 109