Professional Documents
Culture Documents
C - Informatie - Datarepresentatie - Bits&bytes
C - Informatie - Datarepresentatie - Bits&bytes
Leerdoelen
1. Je weet waarom een computer werkt met enen en nullen.
2. Je weet wat bits en bytes zijn.
3. Je kent de karaktersets ASCII en Unicode.
4. Je kan binaire, decimale en hexadecimale getallen naar elkaar omrekenen.
Vorige les
https://www.youtube.com/watch?v=xS8U6eoXhNg
Uitleg
Machten 27 26 25 24 23 22 21 20
Decimaal 128 64 32 16 8 4 2 1
1 1 0 1 0 1
= 1 * 25 1 * 24 0 * 23 1 * 22 0 * 21 1 * 20
= 32 16 8 4 0 1 = 61
Oefeningen
ASCII te beperkt
Unicode bestaat uit 4 bytes
Hexadecimaal Decimaal
0 0
1 1
A 10
F 15
64 100
FF 255
Uitleg
FF
= F * 161 F * 160
= 15 * 161 15 * 160
= 240 15 = 255