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. /A photo is 200 pixels wide and 150 pixels high, with a colour depth of 16 bits…
HardComputer ScienceHigh School (9–10)Computer Science › Data RepresentationNumericalConceptualIGCSE

A photo is 200 pixels wide and 150 pixels high, with a colour depth of 16 bits…

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.

A photo is 200 pixels wide and 150 pixels high, with a colour depth of 16 bits. To send it quickly, an app halves the width and the height and stores it with a colour depth of 8 bits.

  1. Find the size of the original photo in bits.
  1. Find the size of the new photo in bits.
  1. What fraction of the original size is the new photo? Give a decimal.

Check your answer

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

Need a reminder? The key ideaShowHide

An image is a grid of pixels. The resolution is the number of pixels (width ×\times× height). The colour depth is the number of bits per pixel, and ddd bits give 2d2^d2d colours. Bits === width ×\times× height ×\times× colour depth, and bytes === bits ÷8\div 8÷8. Higher settings give better quality and a larger file.

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. The original. 200×150×16=480000200 \times 150 \times 16 = 480000200×150×16=480000 bits.

Step 2. The new photo. It is 100 by 75 pixels with 8 bits: 100×75×8=60000100 \times 75 \times 8 = 60000100×75×8=60000 bits.

Step 3. The fraction. 60000÷480000=0.12560000 \div 480000 = 0.12560000÷480000=0.125.

Check. A quarter of the pixels, each with half the bits: 14×12=18=0.125\tfrac{1}{4} \times \tfrac{1}{2} = \tfrac{1}{8} = 0.12541​×21​=81​=0.125.

Watch out. The new photo has less detail and fewer colours: 28=2562^8 = 25628=256 instead of 216=655362^{16} = 65536216=65536. The data that was removed cannot be brought back.

Answer: (a) 480000 bits. (b) 60000 bits. (c) 0.125 of the original.

Log in to save this for later
← All Problems
← A scanner makes a picture of a page that is 100 pixels wide and 80 pixels high…A camera has a memory card of 32 GiB. A student wants to know the size in smaller units… →
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. An image is 800 pixels wide and 600 pixels high…Hard
  5. A camera takes photos of 2048 by 1536 pixels with a colour depth of 24 bits…Medium
All problems on this topic →