0
0
Intro to Computingfundamentals~20 mins

How images are stored (pixels, resolution) in Intro to Computing - Practice Exercises

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Image Storage Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
What does image resolution represent?

Imagine a photo made of tiny colored squares called pixels. What does the resolution of an image tell us?

AThe file size of the image in megabytes
BThe number of pixels in width and height, showing image detail
CThe number of colors used in the image
DThe type of camera used to take the photo
Attempts:
2 left
💡 Hint

Think about how many tiny squares fit across and down the image.

trace
intermediate
2:00remaining
How many pixels in a 4x3 image?

Consider an image that is 4 pixels wide and 3 pixels tall. How many pixels does it have in total?

A7 pixels
B1 pixel
C12 pixels
D24 pixels
Attempts:
2 left
💡 Hint

Multiply width by height to find total pixels.

Comparison
advanced
2:00remaining
Comparing image quality by resolution

Two images have these resolutions:
Image 1: 800x600 pixels
Image 2: 1600x1200 pixels
Which image will generally have better detail?

AImage 2 because it has four times more pixels
BImage 1 because it has fewer pixels
CBoth have the same detail because they are rectangular
DImage 1 because it loads faster
Attempts:
2 left
💡 Hint

Think about total pixels and how that affects detail.

identification
advanced
2:00remaining
Identify the pixel arrangement in an image

Which diagram best represents a 3x3 pixel image where each square is a pixel?


Options:

  • A: A grid with 3 rows and 3 columns of squares
  • B: A grid with 2 rows and 3 columns of squares
  • C: A grid with 3 rows and 2 columns of squares
  • D: A single row with 9 squares
A3 rows and 2 columns forming 6 pixels
B2 rows and 3 columns forming 6 pixels
C1 row and 9 columns forming 9 pixels
D3 rows and 3 columns forming 9 pixels
Attempts:
2 left
💡 Hint

Count rows and columns to match 3x3 pixels.

🚀 Application
expert
3:00remaining
Calculate file size from image resolution and color depth

An image has a resolution of 1000x500 pixels. Each pixel uses 24 bits (3 bytes) to store color. What is the approximate file size in bytes (ignore compression)?

A1,500,000 bytes
B1,000,000 bytes
C15,000,000 bytes
D500,000 bytes
Attempts:
2 left
💡 Hint

Multiply total pixels by bytes per pixel.