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 cheap voice recorder takes a sample every 0.25 milliseconds…
HardComputer ScienceHigh School (9–10)Computer Science › Data RepresentationNumericalConceptualIGCSE

A cheap voice recorder takes a sample every 0.25 milliseconds…

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 cheap voice recorder takes a sample every 0.250.250.25 milliseconds. Each sample is stored with 3 bits.

  1. How many different levels can a sample take?
  1. What is the sample rate, in samples a second?
  1. How many bits does a 2-second recording need?
  1. The owner says the recording sounds rough. Which setting would you raise first, and why?

Check your answer

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

Need a reminder? The key ideaShowHide

Sound is sampled: the amplitude is measured at regular moments and each value is stored in binary. The sample rate is the number of samples a second (hertz). The sample resolution is the number of bits per sample, and bbb bits give 2b2^b2b levels. Bits === sample rate ×\times× resolution ×\times× seconds. Higher settings give a more accurate recording 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. Levels. 23=82^3 = 823=8 levels, numbered 0 to 7.

Step 2. The sample rate. One second is 1000 milliseconds. 1000÷0.25=40001000 \div 0.25 = 40001000÷0.25=4000 samples a second.

Step 3. The size. 4000×3×2=240004000 \times 3 \times 2 = 240004000×3×2=24000 bits.

Step 4. Which to raise. With only 8 levels, every sample is rounded to one of 8 heights, so the stored wave is very coarse. Raising the resolution, for example to 8 bits (256 levels), would make the recording much more accurate. The file would grow, because each sample needs more bits.

Check. 24000 bits is 24000÷8=300024000 \div 8 = 300024000÷8=3000 bytes, a small file, as you would expect from a cheap recorder.

Answer: (a) 8 levels. (b) 4000 samples a second. (c) 24000 bits. (d) The resolution, because 3 bits give only 8 levels.

Log in to save this for later
← All Problems
← A podcast clip is recorded at 16000 samples a second with a resolution of 16 bits…An app icon is 32 pixels wide and 32 pixels high, with a colour depth of 8 bits… →
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 →