True or false: A bit pattern has a fixed meaning even when no data type or encoding has been specified.
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.
A system stores data only in whole bytes. What is the minimum number of bytes needed to store a 19-bit pattern?
- A
2 bytes
- B
3 bytes
- C
8 bytes
- D
19 bytes
What is the standard term for a numeric value assigned to a character, such as U+0041?
Write the hexadecimal value of the binary pattern 001011112:
True or false: UTF-16 uses one or two 16-bit code units to encode a code point.
- A
True
- B
False
What is the decimal value of the hexadecimal number 0x3A?
- A
36
- B
48
- C
58
- D
310
Select all correct statements about the ranges of 8-bit integers.
- A
An 8-bit unsigned integer ranges from 0 to 255.
- B
An 8-bit unsigned integer ranges from −128 to 127.
- C
An 8-bit two’s-complement signed integer ranges from −128 to 127.
- D
An 8-bit two’s-complement signed integer ranges from −255 to 255.
Interpret the 8-bit pattern 110101102 as a signed two’s-complement integer. What is its value in decimal?
What is the largest value representable by an unsigned 6-bit integer? Enter the decimal value:
If 100000012 is interpreted as an unsigned 8-bit integer, what is its decimal value?
- A
127
- B
129
- C
-127
- D
131
Select all statements supported by the principles of basic data representation.
- A
A bit pattern may represent different things under different data types or formats.
- B
Every 8-bit pattern must represent a character.
- C
Image data can be represented by numerical pixel samples.
- D
Audio data can be represented by numerical sound samples.
Which statement correctly distinguishes a Unicode code point from UTF-8?
- A
A code point is the number of bytes used to store a character, while UTF-8 is a character.
- B
A code point and a UTF-8 byte sequence are always identical concepts.
- C
A code point identifies a character, while UTF-8 specifies how code points become stored bytes.
- D
UTF-8 assigns code points, while Unicode specifies the number of bits in each byte.
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.
Which 8-bit pattern represents −12 in two’s complement?
- A
111100112
- B
111101002
- C
000011002
- D
000011012
What decimal value does the unsigned binary numeral 1011012 represent?
- A
43
- B
45
- C
53
- D
37
Which binary numeral represents the decimal value 46?
- A
1011102
- B
1011012
- C
1101102
- D
1110102
Which of these unsigned binary numerals has the greater value: 1010112, 1011012, or 1001112?
- A
1010112
- B
1011012
- C
They have equal values.
- D
1001112
For an unsigned binary numeral, changing a bit in the 2k position from 0 to 1 while leaving every other bit unchanged increases the value by 2k.
- A
True
- B
False
In an unsigned binary numeral, what decimal amount does a 1 in the 24 position contribute to the total value?
What decimal value does the unsigned binary numeral 11101012 represent?