Online graphic information coding test. Test “Information coding. How many different encodings of letters of the Russian alphabet are there?

Test on the topic « Encoding information"_Option 1

Part A

When completing the tasks of this part, in answer form No. 1, under the number of the task you are performing (A1 - A20), put the sign “"in the box whose number corresponds to the number of the answer you chose.


  1. Assuming that each character is encoded by one byte, determine the information volume of the following statement Alexei Tolstoy:

    1. The one who does nothing makes no mistakes, although this is his main mistake.

    2. 1) 512 bits 2) 608 bits 3) 8 kbytes 4) 123 bytes

  2. The chessboard consists of 8 columns and 8 rows. What is the minimum number of bits required to encode the coordinates of one chessboard?
1) 4 2) 5 3) 6 4) 7

  1. The message size is 11 kbytes. The message contains 11264 characters. What is the power of the alphabet?
1) 64 2) 128 3) 256 4) 512

  1. The box contains 64 colored pencils. The message that a white pencil has been taken out carries 4 bits of information. How many white pencils were in the box?
1) 4 2) 8 3) 16 4) 32

  1. To encode the background color of an Internet page, use the bgcolor="#ХХХХХХ" attribute, where hexadecimal values ​​of the intensity of color components in the 24-bit RGB model are specified in quotes. What color will the color of the page specified by the tag be close to?
1) yellow 2) pink 3) light green 4) light blue

  1. The main characteristics of computer audio encoding are...
1) Regeneration frequency, bit depth 2) Sampling frequency, bit depth

3) Dimension, Sampling frequency 4) Audio bit depth, Bit depth


  1. When encoding a picture for subsequent presentation on a computer using raster graphics, the image:

    1. is divided into a number of areas with the same brightness;

    2. represented by a set of coordinates of points that have the same color;

    3. is converted into an array of coordinates of segments that divide the image into areas of the same color;

    4. appears as a mosaic of square elements, each of which has its own color;

  2. In what format does the file store information about a dynamic image?
1) jpeg 2) wav 3) fla 4) bmp
  1. ^

    How many different encodings of letters of the Russian alphabet are there?

1) one 2) two (MS-DOS, Windows)

3) three (MS-DOS, Windows, Macintosh) 4) five (MS-DOS, Windows, Macintosh, KOI-8, ISO)


  1. How many times will the information volume of a page of text (the text does not contain formatting control characters) increase when it is converted from ASCII encoding (the encoding table contains 256 characters) to Unicode encoding?
1) 2 times b) 8 times c) 16 times d) 256 times

  1. To encode a 16-color image per video pixel, the following number of bits is required:
1)16; 2)2; 3)4; 4) 8;

  1. The RGB system is used to encode...information
^

1) text 2) numeric 3) graphic 4) audio


  1. It is known that there are 256 balls in the box. Of these, 128 are black, 64 are white, and the rest are yellow. The amount of information in the message “Randomly got a yellow ball” is equal to:

    1. 5 bits b)1 bit c)2 bits d)4 bits

  2. The computer's graphics system includes:
    1) video memory and graphic display 2) graphic display and RAM
    3) video adapter and graphics display 4) display processor and graphics display\

  3. The screen can display 1024 colors. the number of different brightness levels for red is 8. The number of different brightness levels for green is 8. How many different brightness levels can the blue component have?
1) 32 2) 16 3) 8 4) 4

  1. How will the information volume of a graphic file change if the original number of colors was 256, but as a result of transformations, 16 colors were set?
1) Will increase by 2 times. 2) Will increase 4 times. 3) Will decrease by 2 times. 4) Will decrease by 4 times.

  1. How many times will the information capacity of a file containing a raster image increase if its color depth is increased from the “black and white” standard to the “4,294,967,296 colors” standard?
1)8 2)16 3)32 4)64

  1. After changing the desktop properties, the monitor acquired a resolution of 1024x768 pixels and was able to display 65,536 colors. How much video memory does the current desktop image take up?
1) 3 MB 2) 1.5 MB 3) 12 MB 4) 24 MB

  1. When connected to the Internet, the modem provides a data transfer speed of 28,800 bps. How long will it take to transfer a 72,000 byte file?
1) 5 seconds 2) 10 seconds 3) 20 seconds 4) 60 seconds

  1. The two messages contain the same number of characters. The amount of information in the first text is 2 times greater than in the second. The number of characters in each alphabet does not exceed 20, and there are a whole number of bits per character. Determine the greatest power of the first alphabet.
1) 4 characters 2) 6 characters 3) 2 characters 4)8 characters

Part B

The answer to the tasks of this part (B1 - B10) is a set of symbols that should be written in answer form No. 1 to the right of the number of the corresponding task, starting from the first cell. Write each character in a separate box. Be sure to write the complete solution on your draft.

  1. In some countries, a 5-character license plate is made up of capital letters (30 letters in total) and decimal digits in any order. Each character is encoded with the same and minimum possible number of bits, and each number is encoded with the same and minimum possible number of bytes. Determine the amount of memory required to store 50 license plates.

  2. The document consists of text and graphic information. The text contains 30 lines of 30 characters each. The black and white image size is 120 x 300 pixels. Determine the information volume of this document, express the answer in bytes.

  3. The table below shows part of the ASCII code table:

Symbol

1

5

A

B

Q

a

b

Decimal code

49

53

65

66

81

97

98

Hex code

31

35

41

42

51

61

62

What is the hexadecimal code for the character "q"?

  1. The database stores records containing information about dates. Each record contains three fields: the year (a number from 1 to 2100), the month number (a number from 1 to 12), and the day number in the month (a number from 1 to 31). Each field is written separately from other fields using the smallest possible number of bits. Determine the minimum number of bits required to encode one record.

  2. The color scanner has a resolution of 1024*512 dpi. The amount of memory occupied by a scanned image measuring 2*4 inches is about 8 MB. What is the scanner's color depth expressed in bits?

  3. How much disk space in kilobytes would be needed to store 16-bit audio at a sampling rate of 24 kHz for 512 seconds?

  4. The text is written in ASCII encoding. After 20 characters were removed from the text, its information volume became 1200 bits. Find the volume of the source text.

  5. The book consists of three chapters. The first chapter contains 24 pages, the second chapter is three times longer than the third. The message that the book was randomly opened to a page from the third chapter contains 3 bits of information. Find the number of pages in the second chapter.

  6. Calculate the size of a video file (in GB) with a duration of 60 s, a frame rate of 30 frames/sec, a resolution of 800*600 pixels and a color depth of 24 bits. The volume of the audio component of the video clip can be neglected.

  7. To form the color, 32 shades of green, 16 shades of blue and 32 shades of red are used. How many colors can be displayed on the screen in this case?

Part C


    1. At the zoo, 32 monkeys live in two enclosures, A and B. One of the monkeys is an albino (all white). The message “An albino monkey lives in enclosure A” contains 4 bits of information. How many monkeys live in enclosure B?

    2. How many seconds will it take for a modem sending messages at 19200 bps to transmit a color bitmap image of 1280 by 800 pixels, assuming that the color of each pixel is encoded in 24 bits?

    3. Chains of characters (strings) are created according to the following rule. The first line consists of one character, the number 1. Each of the following chains is created like this. First, the serial number of this line is written down, then the entire chain of numbers from the previous line is written down twice. The first 4 lines created using this rule look like this:
1

3211211

432112113211211

How many times in total does the number 1 appear in the 9th line?


    1. The angry examiner never gives A's in computer science. Due to his maliciousness, he determined in advance the number of marks of each type and randomly assigned them to 24 applicants. The amount of information contained in the message “Applicant Ivanov received a four” is equal to 1+log 2 3 bits. The information volume of the message “Applicant Sidorov received a C” is 3+ log 2 3- log 2 5 bits. Find the number of applicants who failed the exam.

Test on the topic: “Coding and processing of graphic information” Option 1 1. One of the main functions of a graphics editor is: 1) scaling images; 2) storing the image code; 3) creating images; 4) viewing and displaying the contents of video memory. 2. An elementary object used in a raster graphics editor is: 1) a point (pixel); 2) object (rectangle, circle, etc.); 3) color palette; 4) familiarity (symbol) 3. The grid of horizontal and vertical columns that pixels form on the screen is called: 1) video memory; 2) video adapter; 3) raster; 4) display processor; 4. Graphics that represent an image as a collection of objects are called: 1) fractal; 2) raster; 3) vector; 4) straight. 5. A pixel on a display screen represents: 1) the minimum area of ​​the image that can be independently assigned a color; 2) binary code of graphic information; 3) electron beam; 4) a set of 16 phosphor grains. 6. A video controller is: 1) a display processor; 2) a program that distributes video memory resources; 3) an electronic volatile device for storing information about a graphic image; 4) a device that controls the operation of the graphic display. 7.... 1 2 3 4 5 6 7 8 Option 1 c a c c a d b b Option 2 b c b a g a b c

Test on the topic: “Coding and processing of graphic information”

Option 1

    One of the main functions of the graphic editor is:

    1. image scaling;

      image code storage;

      image creation;

      viewing and displaying the contents of video memory.

    The elementary object used in the raster graphics editor is:

    1. dot(pixel);

      object (rectangle, circle, etc.);

      Color palette;

      familiar place (symbol)

    The grid of horizontal and vertical columns that pixels form on the screen is called:

    1. video memory;

      video adapter;

    2. display processor;

    Graphics that present an image as a collection of objects are called:

    1. fractal;

      raster;

      vector;

      rectilinear.

    A pixel on a display screen represents:

    1. the minimum area of ​​the image that can be independently assigned a color;

      binary code of graphic information;

      electron beam;

      a set of 16 phosphor grains.

    Video controller is:

    1. display processor;

      a program that distributes video memory resources;

      an electronic volatile device for storing information about a graphic image;

      a device that controls the operation of a graphic display.

    The color of a dot on a display screen with a 16-color palette is formed from the signals:

    1. red, green and blue;

      red, green, blue and brightness;

      yellow, green, blue and red;

      yellow, blue, red and brightness.

    Which method of presenting graphic information is more economical in terms of memory use:

    1. raster;

      vector.

Test on the topic “Coding and processing of graphic information”

Option 2

    The toolbar buttons, palette, workspace, menu form:

    1. a complete set of graphic primitives of the graphic editor;

      graphic editor environment;

      list of operating modes of the graphic editor;

      a set of commands that can be used when working with a graphic editor.

    The smallest element of the screen surface for which address, color and intensity can be set is:

    1. phosphor grain;

    Deformation of the image when resizing the picture is one of the disadvantages:

    1. vector graphics;

      raster graphics.

    Video memory is:

    1. an electronic device for storing the binary code of an image displayed on a screen;

      a program that distributes PC resources during image processing;

      a device that controls the operation of a graphic display;

      part of a random access memory device.

    Graphics that represent an image as a collection of points are called:

    1. straight;

      fractal;

      vector;

      raster.

    What devices are included in the graphics adapter?

    1. display processor and video memory;

      display, display processor and video memory;

      display processor, RAM, backbone;

      backbone, display processor and video memory.

    Primitives in a graphic editor are called:

    1. graphic editor environment;

      simple figures drawn using special tools in a graphics editor;

      operations performed on files containing images created in a graphics editor;

      operating modes of the graphic editor.

  1. What extension do Paint graphics editor files have?

ANSWERS

Option 1

Option 1.

    The smallest unit of information measurement is...

    What is 1 byte equal to?

    A raster graphic file contains black and white (without grayscale) with a size of 100x100 pixels. What is the information volume of this file? (in bits)

    A raster file containing a black and white (no shades of gray) square image has a capacity of 200 bytes. Calculate the side size of the square (in pixels).

    Determine the required amount of video memory if the monitor screen size is 640x480, color depth is 24 bits.

    In the process of converting a raster graphic image, the number of colors decreased from 65536 to 16. How many times will the amount of memory it occupies decrease?

    It is known that the computer’s video memory has a capacity of 512 KB. Screen resolution is 640 by 200 pixels. How many screen pages will simultaneously fit in video memory with a palette of 8 colors?

Option 2.

    The largest unit of information measurement is...

    What is 1 Megabyte equal to?

    A raster graphic file contains black and white (without grayscale) 10x10 pixels in size. What is the information volume of this file? (in bits)

    A raster file containing a black and white (no shades of gray) square image has a capacity of 400 bytes. Calculate the side size of the square (in pixels).

    Determine the required amount of video memory if the monitor screen size is 800x600, color depth is 16 bits.

    To store a raster image measuring 128x128 pixels, 4 KB of memory were allocated. What is the maximum possible number of colors in the image palette.

    How much video memory is needed to store four image pages if the bit depth is 24 and the display resolution is 800x600 pixels. (in MB)

    In the process of converting a raster graphic image, the number of colors decreased from 65536 to 256. How many times will the amount of memory it occupies decrease?

    It is known that the computer’s video memory has a capacity of 512 KB. Screen resolution is 640 by 200 pixels. How many screen pages will simultaneously fit in video memory with a palette of 16 colors?

Answers.

Option 1.

    Bit

    8 bit.

    10000 bits

    40x40

    7372800 bits=921600bytes=900Kbytes

    N=4

    4 times

    Solution: 640x200x3=384000bit – 1 page

4194304bit/384000bit=10.9 pages

Option 2.

    1 TB

    1 MB=1024KB=1048576bytes=8388608bits

    100bit

    400bytes=400*8=3200bits, 56.6x56.6

    800x600x16=480000bit=60000byte=58.6KB

    N=4

    5.5 MB for storing 4 pages

    65536=2 16 ,256=2 8 ; 16/8=2 times

    Solution: 640x200x4=512000bit – 1 page

512KB=512x1024x8=4194304bit

4194304bit/512000bit=8.19 pages

There are examples with solutions.

Option 1

  1. Analog shape
  2. Discrete form

2.Graphic images are converted by spatial sampling:

3. What is the minimum object used in a vector graphics editor?

  1. Screen point (pixel);
  2. Color palette;
  3. familiar place (symbol).

4. Image deformation when changing the size of the picture is one of the disadvantages:

  1. vector graphics;
  2. raster graphics.

5. In the process of converting a raster graphic image, the number of colors decreased from 4,096 to 16. How many times will its information volume decrease?

  1. 2 times
  2. 3 times
  3. 4 times
  4. 5 times

6. A color raster image with a palette of 256 colors has a size of 10*10 pixels. What information volume does the image have?

  1. 100 bits
  2. 100 bytes
  3. 256 bit
  4. 25600 bits

7. Basic colors of the RGB palette:

1) red, blue and green

2) blue, yellow, green

3) red, yellow and green

5) the color palette is formed by setting the values ​​of color hue, saturation and brightness

1) N=2 i

2) N=2 ∙ i

3) I=N ∙ 2

4) 2=Ni

5) I=N 2

9.The RGB color model has the following parameters: 0, 0, 255. What color will correspond to these parameters?

  1. Black
  2. red
  3. green
  4. blue

10. To encode the background color of an Internet page, use the bgcolor=”#XXXXXX” attribute, where hexadecimal values ​​of the intensity of color components in the 24-bit RGB model are specified in quotes. What background color will the page specified by the tag have?

1) white

2) green

3) red

4) blue

Test on the topic “Coding graphic information”

Option 2

1. Graphic information can be presented in the form:

  1. Analog shape
  2. Discrete form
  3. Analog and discrete form

2. Graphic images are converted by spatial sampling:

  1. from analog to digital
  2. from digital to analogue

3. What is the minimum object used in a raster graphics editor?

  1. pixel;
  2. Color palette;
  3. object (rectangle, circle, etc.);
  4. familiar place (symbol).

4. Primitives in a graphic editor are called:

  1. graphic editor environment;
  2. simple figures drawn using special tools in a graphics editor;
  3. operations performed on files containing images created in a graphics editor;
  4. operating modes of the graphic editor.

5. In the process of converting the graphic file, the number of colors decreased from 65,536 to 256. How many times will the information volume of the file decrease?7

  1. 2 times;
  2. 4 times;
  3. 8 times;
  4. 16 times.

6. A color raster image with a palette of 256 colors has a size of 20*20 pixels. What information volume does the image have?

  1. 400 bits
  2. 400 bytes
  3. 256 bit
  4. 102400 bits

7. Basic colors of the RGB palette:

1) blue, yellow, green

2) red, blue and green

3) red, yellow and green

4) cyan, yellow and magenta

8 . The number of colors in the palette (N) and the amount of information required to encode each point (i) are related and can be calculated using the formula:

1) I=N ∙ 2

2) N=2 ∙ i

3) N=2i

4) I=N 2

5) 2=N i

9.The RGB color model has the following parameters: 255, 255, 255. What color will correspond to these parameters?

  1. white
  2. red
  3. green
  4. blue

10. To encode the background color of an Internet page, use the bgcolor=”#XXXXXX” attribute, where hexadecimal values ​​of the intensity of color components in the 24-bit RGB model are specified in quotes. What background color will the page specified by the FF 0000”> tag have?

1) white

2) green

3) red