2021-10-25 17:13:44 +00:00
|
|
|
Expresa el tamaño en kb, kB y kiB de un texto de 220.000 caracteres codificados
|
|
|
|
en: (a) ASCII, (b) Latin-15 y (c) UCS-4.
|
|
|
|
|
|
|
|
a)
|
|
|
|
8 bits/carácter * 220000 caracteres = 1760 kb
|
|
|
|
1760 kb / 8 bits/byte = 220 kB
|
|
|
|
220000 B / 1024 = 214.84 kiB
|
2021-10-26 13:18:43 +00:00
|
|
|
|
|
|
|
b)
|
|
|
|
Asumiendo Latin-15 = 16 bits/carácter
|
|
|
|
16 bits/carácter * 220000 caracteres = 3520 kb
|
|
|
|
3520 kb / 8 bits/byte = 440 kB
|
|
|
|
440000 B / 1024 = 429.688 kiB
|
|
|
|
|
|
|
|
c)
|
|
|
|
UCS-4 = 32 bits/carácter
|
|
|
|
32 bits/carácter * 220000 caracteres = 7040 kb
|
|
|
|
7040 / 8 bits/byte = 880 kB
|
|
|
|
880000 B / 1024 = 859.375 kiB
|