Bonjour
Donner l’écriture décimale des nombres binaires : 11011;1100;10111;100000
11011 =>
= 1 x 2^0 + 1 x 2^1 + 0 x 2^2 + 1 x 2^3 + 1 x 2^4
= 1 + 2 + 0 + 8 + 16
= 27
1100 =>
= 0 x 2^0 + 0 x 2^1 + 1 x 2^2 + 1 x 2^3
= 0 + 0 + 4 + 8
= 12
10111 =>
= 1 x 2^0 + 1 x 2^1 + 1 x 2^2 + 0 x 2^3 + 1 x 2^4
= 1 + 2 + 4 + 0 + 16
= 23
100000 =>
= 1 x 2^5
= 32