1. Foundations

Binary And Data — Quiz

Test your understanding of binary and data with 5 practice questions.

Read the lesson first

Practice Questions

Question 1

What is the 16-bit two's complement sign-extension of the 8-bit two's complement number $11101010_2$?

Question 2

What is the 10-bit two's complement representation of decimal -204?

Question 3

When adding $01011011_2$ and $01100110_2$ in 8-bit two's complement, what is the 8-bit result and does overflow occur?

Question 4

In big-endian format, which byte is stored at the lowest memory address for the 32-bit value 0x12345678?

Question 5

How many bytes are required to encode the Unicode code point U+1F600 in UTF-8?