Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1pixels = width * height | AThe answer 3000 is just the two numbers added together (1920 + 1080). The product is 2,073,600 pixels. | |
| 21920 * 1080 = 2073600 | Btotal_pixels = 800 * 600 | |
| 3The width is the number of pixels in each row, and the height is the number of rows, so multiply them to get the total pixels | CWidth and height are added instead of multiplied. Adding gives only the pixels along two edges, not the total in the whole image. It should be width * height. | |
| 4Counting the pixels is the first step before working out the file size of a bitmap image | Dfile_size = total_pixels * colour_depth | |
| 5pixels = width + height | EWorks out the total number of pixels in an image by multiplying the pixels per row by the number of rows | |
| 61920 * 1080 = 3000 | FA 1920 x 1080 image contains 2,073,600 pixels in total |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
pixels = width * height — Total pixels = pixels per row times number of rows. For 1920 x 1080 that is 2,073,600 pixels. This is the first step when working out image file size.pixels = width * heightpixels = width * heightpixels = width * heightpixels = width * heightwidth = 1920
height = 1080
OUTPUT width * height