Вопрос задан 04.09.2020 в 09:06. Предмет Информатика. Спрашивает Зотева Вера.

Документ объемом 12 Мбайт можно передать с одного компьютера на другой двумя способами: А) сжать

архиватором, передать архив по каналу связи, распаковать. Б) передать по каналу связи без использования архиватора. Какой способ быстрее и на сколько, если: - средняя скорость передачи данных по каналу связи составляет 2 20 бит в секунду; - объем сжатого архиватором документа равен 25% от исходного; - время, требуемое на сжатие документа – 22 секунды, на распаковку – 2 секунды
0 0
Перейти к ответам

Ответы на вопрос

Внимание! Ответы на вопросы дают живые люди. Они могут содержать ошибочную информацию, заблуждения, а также ответы могут быть сгенерированы нейросетями. Будьте внимательны. Если вы уверены, что ответ неверный, нажмите кнопку "Пожаловаться" под ответом.
Отвечает нейросеть ChatGpt. Будьте внимательны, ответы нейросети могут содержать ошибочные или выдуманные данные.

Comparison of Two Methods for Transferring a 12 MB Document

To determine which method is faster for transferring a 12 MB document between two computers, we will compare two approaches:

Method A: Compressing with an archiver, transferring the archive, and then unpacking it.

Method B: Transferring the document without using an archiver.

To make the comparison, we need to consider the following information:

- The average data transfer speed over the communication channel is 20 bits per second. - The compressed size of the document using an archiver is 25% of the original size. - The time required for compressing the document is 22 seconds, and for unpacking it, it is 2 seconds.

Method A: Compressing with an Archiver

In this method, the document is compressed using an archiver, transferred over the communication channel, and then unpacked.

The steps involved in Method A are as follows:

1. Compress the document using an archiver. The compressed size of the document will be 25% of the original size. 2. Transfer the compressed archive over the communication channel. 3. Unpack the document on the receiving computer.

Method B: Transferring Without Using an Archiver

In this method, the document is transferred without using an archiver.

The steps involved in Method B are as follows:

1. Transfer the document over the communication channel without compression or archiving.

Comparison of Transfer Speed

To determine which method is faster, we need to calculate the time required for each method.

Method A: Compressing with an Archiver

- Time required for compressing the document: 22 seconds - Time required for unpacking the document: 2 seconds - Total time for Method A: 22 + 2 = 24 seconds

Method B: Transferring Without Using an Archiver

- Size of the document: 12 MB - Data transfer speed: 20 bits per second

To calculate the time required for Method B, we need to convert the document size from bytes to bits:

- Document size in bits: 12 MB * 8 bits/byte = 96 Mb - Time required for Method B: 96 Mb / 20 bits per second = 4.8 seconds

Conclusion

Based on the calculations, Method B (transferring without using an archiver) is faster than Method A (compressing with an archiver). Method B takes approximately 4.8 seconds, while Method A takes 24 seconds.

Please note that these calculations are based on the given information and assumptions. The actual transfer time may vary depending on various factors such as network conditions and system performance.

Let me know if there's anything else I can help with!

0 0

Топ вопросов за вчера в категории Информатика

Последние заданные вопросы в категории Информатика

Задать вопрос