How many pages of text can fit in 320MB RAM if the page contains 40 lines of 60 characters each

How many pages of text can fit in 320MB RAM if the page contains 40 lines of 60 characters each (and it takes 8 bits to store one character) What would be the stack height if 100 pages are 1 cm high?

Determine the total number of characters on one page.

We multiply the given number of lines by the number of characters in one line.

40 * 60 = 2400 characters.

We find the informational amount of memory that is required for one page.

Multiply 2400 characters by 8 bits.

We get:

2400 * 8 = 19200 bits.

We translate 320 MB to kilobytes.

Since 1 MB contains 1024 kb, we get:

320 * 1024 = 327680 kb.

We translate kb into bits.

In 1 kb – 1024 bytes, and in 1 byte – 8 bits, so it will be:

327680 * 1024 * 8 = 2684354560 bits.

So the number of pages will leave:

2684354560/19200 = 139810 pages.

The height will be:

139810/100 = 1398 cm.

Answer: 1398710 pages, 1398 cm.



One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.