The 256-color image of the file has a size of 1024×768. Determine the information capacity of the file

Given:

N = 256

K = 1024 * 768

I =?

1. Let’s find the informational weight of one symbol i, applying the formula: N = 2 ^ i.

i = 8 bits since 2 ^ 8 = 256.

2. The information capacity of the file is calculated by the formula: I = K * i.

I = 768 * 1024 * 8 bits

3. It is known that:

1 byte = 8 bits,

1 KB = 1024 bytes,

1 MB = 1024 KB.

Therefore: I = 768 * 1024 bytes = 768 KB = 0.75 MB.

Answer: 0.75 MB.



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.