Analysis of task 9 of the Unified State Exam 2018 in computer science and ICT from the demo version. This is a task of a basic level of difficulty. Approximate time to complete the task is 5 minutes.
Checked content elements:
— The ability to determine the speed of information transmission for a given channel bandwidth, the amount of memory required to store audio and graphic information.
Task 9
The automatic camera produces raster images of 640x480 pixels. In this case, the size of the image file cannot exceed 320 KB, and no data packaging is performed. What is the maximum number of colors that can be used in a palette?
Answer: ________
Analysis of task 9 of the Unified State Exam 2018 in computer science
The volume of a raster image is calculated as the product of the number of pixels in the image and the amount of memory i , necessary to store the color of one pixel
In our case
640 480 i ≤ 320 1024 8 bits
i ≤ 320 1024 8/(640 480),
since a bit can only be an integer, we get
i=8(in our problem it is said that the size of the image file cannot exceed 320 KB, therefore, we cannot round up! The resulting value i round down to 8 bits!)
To do this we use the formula N = 2i
N = 2 8 = 256
This means that you can use no more than 256 colors.
| Computer Science and Information and Communication Technologies | Preparation for the Unified State Exam | Control training tasks
Control training tasks
Part 1
Task 9
The answers to tasks 1 – 23 are a number, a sequence of letters or numbers that should be written in ANSWER FORM No. 1 to the right of the number of the corresponding task, starting from the first cell, without spaces, commas and other additional characters. Write each character in a separate box in accordance with the samples given in the form.
Example 1
What is the minimum amount of memory (in KB) that must be reserved to be able to store any 64x64 pixel bitmap image, assuming that the image can contain 256 different colors? In your answer, write down only an integer; there is no need to write a unit of measurement.
Example 2
To store an arbitrary raster image of 1024x1024 pixels in size, 512 KB of memory is allocated, and for each pixel a binary number is stored - the color code of this pixel. For each pixel, the same number of bits are allocated to store the code. Data compression is not performed. What is the maximum number of colors that can be used in an image?
Answer: ___________________________.
Example 3
The automatic camera produces raster images of 640x480 pixels. In this case, the size of the image file cannot exceed 320 KB, and no data packaging is performed. What is the maximum number of colors that can be used in a palette?
For completing the task correctly you will receive 1 point. It takes approximately 5 minutes.
To complete task 9 in computer science you need to know:
- I - volume of information
- to store a bitmap you need to allocate memory I = N i bits, where N– number of pixels and i– color depth (encoding bit depth)
- number of image pixels N calculated as the product of the image width and height (in pixels)
- coding depth is the number of bits allocated to store the color of one pixel
- The volume of a music file is calculated using formula I = f*r*k*t, Where f- sampling frequency, r– resolution (encoding depth), k– number of channels, t – playing time
- channel B capacity = f*r*k
Tasks for training
Task No. 1
The automatic camera produces raster images of 640x480 pixels. In this case, the size of the image file cannot exceed 320 KB, and no data packaging is performed. What is the maximum number of colors that can be used in a palette?
Task No. 2
To store an arbitrary raster image of 256×1024 pixels in size, 64 KB of memory is allocated, and for each pixel a binary number is stored - the color code of this pixel. For each pixel, the same number of bits are allocated to store the code. Data compression is not performed. What is the maximum number of colors that can be used in an image?
Task No. 3
What is the minimum amount of memory (in KB) that must be reserved to be able to store any 512-by-128-pixel bitmap image, assuming that the image can use 512 different colors? In your answer, write down only an integer; there is no need to write a unit of measurement.
Task No. 4
The musical fragment was recorded in stereo format (two-channel recording), digitized and saved as a file without using data compression. The size of the resulting file is 100 MB. The same piece of music was then re-recorded in mono and digitized at a resolution 3 times higher and a sampling rate 5 times lower than the first time. No data compression was performed. Specify the file size in MB of the resulting rewrite. In your answer, write down only an integer; there is no need to write a unit of measurement.
. Information coding, volume and transmission of information: demo version Unified State Examination Computer Science 2019; state final exam 2019; training versions of the Unified State Exam in computer science, thematic test tasks and tasks from the computer science simulator 2019
✍ Solution:
- Let's remember the basic formula for the volume of an image file:
m, n — resolution (width and height in pixels)
i — color coding depth
Result: 1024
9 Unified State Exam 2019 tasks for training
Option No. 3, 2019 (10 options), S.S. Krylov, T.E. Churkina:
800×2800 700 KB
Which
Answer: 4
Option No. 4, Model exam options 2019 (10 options), S.S. Krylov, T.E. Churkina:
An automatic camera produces raster images of size 1000×1600 pixels. The same number of bits are used to encode the color of each pixel, and the pixel codes are written to the file one after the other without gaps. The size of the image file cannot exceed 2100 KB excluding the size of the file header.
Which maximum number of colors can it be used in a palette?
Answer: 1024
Option No. 8, Model exam options 2019 (10 options), S.S. Krylov, T.E. Churkina:
Which minimum memory size (in KB) needs to be reserved so that any bitmap size can be saved 1280 x 80 pixels provided that the image may be used 64 different colors?
In your answer, write down only an integer; there is no need to write a unit of measurement.