Предмет: Информатика, автор: irinalevcuk09

У племени "чичевоков" в алфавите 24 буквы и 8 цифр. Знаков препинания и арифметических знаков нет. Они написали 2 книги, первая содержит 150 страниц. На каждой странице — 40 строк, в каждой строке — 60 символов. Вторая – 100 страниц, на одной странице 80 строк, а в каждой строке в среднем по 50 символов. Каков объем информации в каждой книге? Ответ дайте в килобайтах и мегабайтах. ПОМОГИТЕ ПОЖАЛУЙСТА, НУЖНО НАПИСАТЬ УСЛОВИЕ ТОЖЕ ​

Ответы

Автор ответа: Disaczar
0

Ответ:

463.87 килобайта

0.453 мегабайта

Объяснение:

Посчитаем количество символов:

N = 24 + 8 = 32 символа

Определим вес символа

N = 2^i\\i = Log_2{N}\\i = Log_2{32}\\i = 5

То есть один символ занимает 5 бит.

Теперь посчитаем количество символов в первой и второй книге

K_1 = 150 * 40 * 60 = 360 000\\K_2 = 100 * 80 * 50 = 400 000

Теперь найдём объем информации по формуле

I = K * i = (K1 + K2) * i = 360 000 + 400 000) * 5 = 760 000 * 5 = 3 800 000 бит.

Теперь переведём всё в килобайты и мегабайты

3800000 / 8 / 1024 = 463.87 килобайт или

463.87 / 1024 = 0.453 мегабайта

Похожие вопросы
Предмет: Английский язык, автор: kodzai
Помогите плииииз!?
Упражнение 183. Раскройте скобки, употребляя глаголы в Present Continuous или в Present Simple.

1. His father (not to watch) TV at the moment. He (to sleep) because he (to be) tired. 2. Pat (not to cook) dinner at the moment. She (to talk) on the phone. She (to cook) dinner every Monday. 3. I (not to drink) coffee now. I (to write) an English exercise. 4. I (not to drink) coffee in the evening. I (to drink) coffee in the morning. 5. Your friend (to do) his homework now? 6. Your friend (to go) to school in the morning? 7. Look! The baby (to sleep). 8. The baby always (to sleep) after dinner. 9. My grandmother (not to work). She is on pension. 10. My father (not to sleep) now. He (to work) in the garden. 11. I usually (to get) up at seven o'clock in the morning. 12. What your sister (to do) now? — She (to wash) her face and hands. 13. When you usually (to come) home from school? — I (to come) at three o'clock. 14. Where your cousin (to work)? — He (to work) at a hospital. 15. Ypur sister (to study) at college? — No, she (to study) at school. 16. My cousin (to go) to school every day. 17. My mother (not to play) the piano now. She (to play) the piano in the morning. 18. When you (to listen) to the news on the radio? 19. Who (to make) breakfast for you now? 20. You (to read) a magazine and (to think) about your holiday at the moment? 21. They (to be) good dancers but they (not to go) to discos very often. 22. What she (to talk) about right now?