Completed: / exercises

Number representations

These exercises have no effect on course grading.

There are 10 kinds of people...

...those that can read binary and those who can not. Yeah, an old joke, we know. In any case, let us find out in which group you belong! This task is recommended to do with pen and paper, since that helps with getting better understanding of binary numbers. There are some binary numbers below:
1101111
1011011010
0101010
010
Write the numbers as base 10 numbers in the box one below the other.
Warning: You have not logged in. You cannot answer.

The curse of the binaries

In this exercise you turn hexadecimal numbers into binary numbers. Below there is a group of base 16 numbers and your task is to magic them into binaries. It is probably easiest to do it one digit at a time if you remember that 0...f is 0000...1111 in binary. Remember also the leading zero bits! Also this exercise is recommended to do with the use of pen and paper.
f3c1
0917
aa51
Write the corresponding binary numbers in the box below.
Warning: You have not logged in. You cannot answer.

Conversion routine

When debugging low-level programs, the values are often represented in hexadecimal or binary. Let's practice converting numbers between binary, decimal, and hexadecimal! Every case has to be converted correctly only once.
Hint: One can complete these exercises with Python, if one desires.

Warning: You have not logged in. You cannot answer.
?