Free Practice Quiz Question List

1 Binary Representation and Data Online Quiz Questions

Use this free practice quiz with 20 questions to review 1 Binary Representation and Data, test your knowledge, and prepare for your next test or exam.

20 questions
01
True or false
1 point

True or false: A bit pattern has a fixed meaning even when no data type or encoding has been specified.

  1. A

    True

  2. B

    False

02
Choose one
1 point

A system stores data only in whole bytes. What is the minimum number of bytes needed to store a 19-bit pattern?

  1. A

    2 bytes

  2. B

    3 bytes

  3. C

    8 bytes

  4. D

    19 bytes

03
Written response
1 point

What is the standard term for a numeric value assigned to a character, such as U+0041\text{U+0041}?

04
Fill in the blank
1 point

Write the hexadecimal value of the binary pattern 00101111200101111_2:

05
True or false
1 point

True or false: UTF-16 uses one or two 16-bit code units to encode a code point.

  1. A

    True

  2. B

    False

06
Choose one
1 point

What is the decimal value of the hexadecimal number 0x3A\text{0x3A}?

  1. A

    36

  2. B

    48

  3. C

    58

  4. D

    310

07
Choose all
1 point

Select all correct statements about the ranges of 8-bit integers.

  1. A

    An 8-bit unsigned integer ranges from 00 to 255255.

  2. B

    An 8-bit unsigned integer ranges from −128-128 to 127127.

  3. C

    An 8-bit two’s-complement signed integer ranges from −128-128 to 127127.

  4. D

    An 8-bit two’s-complement signed integer ranges from −255-255 to 255255.

08
Written response
1 point

Interpret the 8-bit pattern 11010110211010110_2 as a signed two’s-complement integer. What is its value in decimal?

09
Fill in the blank
1 point

What is the largest value representable by an unsigned 6-bit integer? Enter the decimal value:

10
Choose one
1 point

If 10000001210000001_2 is interpreted as an unsigned 8-bit integer, what is its decimal value?

  1. A

    127

  2. B

    129

  3. C

    -127

  4. D

    131

11
Choose all
1 point

Select all statements supported by the principles of basic data representation.

  1. A

    A bit pattern may represent different things under different data types or formats.

  2. B

    Every 8-bit pattern must represent a character.

  3. C

    Image data can be represented by numerical pixel samples.

  4. D

    Audio data can be represented by numerical sound samples.

12
Choose one
1 point

Which statement correctly distinguishes a Unicode code point from UTF-8?

  1. A

    A code point is the number of bytes used to store a character, while UTF-8 is a character.

  2. B

    A code point and a UTF-8 byte sequence are always identical concepts.

  3. C

    A code point identifies a character, while UTF-8 specifies how code points become stored bytes.

  4. D

    UTF-8 assigns code points, while Unicode specifies the number of bits in each byte.

13
Open ended
1 point

Explain the difference between a Unicode code point and an encoding form. Use the character A to give one example of a code point and how UTF-8 stores it.

14
Choose one
1 point

Which 8-bit pattern represents −12-12 in two’s complement?

  1. A

    11110011211110011_2

  2. B

    11110100211110100_2

  3. C

    00001100200001100_2

  4. D

    00001101200001101_2

15
Choose one
1 point

What decimal value does the unsigned binary numeral 1011012101101_2 represent?

  1. A

    43

  2. B

    45

  3. C

    53

  4. D

    37

16
Choose one
1 point

Which binary numeral represents the decimal value 46?

  1. A

    1011102101110_2

  2. B

    1011012101101_2

  3. C

    1101102110110_2

  4. D

    1110102111010_2

17
Choose one
1 point

Which of these unsigned binary numerals has the greater value: 1010112101011_2, 1011012101101_2, or 1001112100111_2?

  1. A

    1010112101011_2

  2. B

    1011012101101_2

  3. C

    They have equal values.

  4. D

    1001112100111_2

18
True or false
1 point

For an unsigned binary numeral, changing a bit in the 2k2^k position from 0 to 1 while leaving every other bit unchanged increases the value by 2k2^k.

  1. A

    True

  2. B

    False

19
Written response
1 point

In an unsigned binary numeral, what decimal amount does a 1 in the 242^4 position contribute to the total value?

20
Written response
1 point

What decimal value does the unsigned binary numeral 111010121110101_2 represent?