HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Problems
  2. /An image is 800 pixels wide and 600 pixels high…
HardComputer ScienceHigh School (9–10)Computer Science › Data RepresentationNumericalConceptualIGCSE

An image is 800 pixels wide and 600 pixels high…

StemPy LabContributed by StemPy Lab

Try it on paper first. A hint, the key idea and the worked solution are here when you need them.

An image is 800 pixels wide and 600 pixels high. Its file, with no compression, is 1406.25 KiB.

  1. Find the colour depth.
  1. How many colours can each pixel have?

Check your answer

Work it out on paper, then type your number. The answer itself stays hidden.

Need a reminder? The key ideaShowHide

Image bits === width ×\times× height ×\times× colour depth. Sound bits === sample rate ×\times× resolution ×\times× seconds. Divide by 8 for bytes, then by 1024 for each step up to the unit the question asks for. To count files that fit, put both sizes in one unit, divide and round down.

The worked solution

Have you tried it?

Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.

Step 1. Bytes. 1406.25×1024=14400001406.25 \times 1024 = 14400001406.25×1024=1440000 bytes.

Step 2. Bits. 1440000×8=115200001440000 \times 8 = 115200001440000×8=11520000 bits.

Step 3. Pixels. 800×600=480000800 \times 600 = 480000800×600=480000 pixels.

Step 4. Colour depth. 11520000÷480000=2411520000 \div 480000 = 2411520000÷480000=24 bits a pixel.

Step 5. Colours. 224=167772162^{24} = 16777216224=16777216 colours.

Check. Forwards: 800×600×24÷8÷1024=1406.25800 \times 600 \times 24 \div 8 \div 1024 = 1406.25800×600×24÷8÷1024=1406.25 KiB. Yes.

Answer: (a) 24 bits. (b) 16777216 colours.

Log in to save this for later
← All Problems
← A camera takes photos of 2048 by 1536 pixels with a colour depth of 24 bits…One row of a scanned page is 13 pixels: 6 white, then 3 black, then 4 white… →
More onComputer Science › Data Representation

Discussion (0)

Log in to join the discussion.

Loading…

More on this topic

  1. A student must compress two files. File A is a text file holding the 7 characters ABCDEFG, one byte…Hard
  2. A line of an icon is stored with run-length encoding as these pairs of (count, colour code): (5…Medium
  3. One row of a scanned page is 13 pixels: 6 white, then 3 black, then 4 white…Easy
  4. A camera takes photos of 2048 by 1536 pixels with a colour depth of 24 bits…Medium
  5. A music app records 2 minutes of sound at 8192 samples a second, with a sample resolution of 16…Medium
All problems on this topic →