The organization has a safe. A combination of 4 symbols is used to open it. Each character can with equal probability

The organization has a safe. A combination of 4 symbols is used to open it. Each character can with equal probability take on a value corresponding to a natural number in the range from 1 to 8. What amount of information will carry a message from one employee to another: “In the code that opens the safe, the first and third characters are even, and the second is odd.” Enter an integer number of bits in your answer.

By default, each character is encoded with 8 bits of information. If you need to find the number of bits in a message, then, as you know, in the code that opens the safe, the first and third characters are even, and the second is odd. When calculating the number of characters, you get 79.

Now let’s find out how many bits of information a given number of characters contains.

79 * 8 = 632 bits

Answer: 632



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.