(a) A text file contains 2000 ASCII characters. Calculate the file size in bytes. Show your working. [1] (b) A mono sound file is recorded at 8000 Hz sample...

Assessment: Computer Science 0478 | Paper 1 Mock 01 | Computer Systems Subject: Computer Science - 0478

Question 1 Report

(a) A text file contains 2000 ASCII characters. Calculate the file size in bytes. Show your working.

[1]

(b) A mono sound file is recorded at 8000 Hz sample rate, 8-bit bit depth, for 5 seconds. Calculate the file size in bytes. Show your working.

[2]

Answer Details

(a) Calculate the file size of 2000 ASCII characters in bytes. [1]

Each ASCII character is stored using 1 byte (8 bits). Therefore:

File size = 2000 x 1 = 2000 bytes [1]

(b) Calculate the file size of a mono sound file. [2]

Using the formula: file size = sampling rate x bit depth x duration:

  1. File size in bits = 8000 x 8 x 5 = 320,000 bits [1]
  2. Convert to bytes: 320,000 / 8 = 40,000 bytes [1]

This is a mono recording so only one channel is used. A stereo version at the same settings would be exactly double (80,000 bytes).

Download The App On Google Playstore

Everything you need to excel in your exams

Green Bridge CBT Mobile App
Personalized AI Learning Chat Assistant
200,000+ Exam Questions Across IGCSE, JAMB, WAEC & NECO
Over 3,900 Lesson Notes
Offline Support - Learn Anytime, Anywhere
Green Bridge Timetable
Literature Summaries & Potential Questions
Track Your Performance & Progress
In-depth Explanations for Comprehensive Learning