Question 1
2 marksCallum writes a blog post that contains 6,000 characters. Each character is stored using 8 bits.
Calculate the size of the text file in kilobytes (KB). Show your working.
Model answer
Size = bits per character × number of characters
= 8 × 6,000 = 48,000 bits
48,000 ÷ 8 = 6,000 bytes
6,000 ÷ 1,000 = 6 KB
Explanation
Use the text file formula: bits per character × number of characters gives 48,000 bits. Divide by 8 to get bytes (6,000 bytes) and by 1,000 to get kilobytes (6 KB); dividing by 1,024 instead gives 5.86 KB, which is also accepted. Because each character here is 8 bits (1 byte), the number of bytes equals the number of characters, which is a useful check.
Mark scheme
-
1 mark
Working: 8 × 6,000 (= 48,000 bits) // 48,000 ÷ 8 (= 6,000 bytes) // 6,000 bytes ÷ 1,000 (or ÷ 1,024)
Award for any correct stage of the method. Ignore missing unit labels in the working.
-
1 mark
6 KB // 5.86 KB (using 1,024)
Accept 5.86 / 5.9 / 5.859 KB (6,000 ÷ 1,024). Allow an answer with a stated metadata allowance, e.g. 6.6 KB with 10% added. 48 KB (bits not divided by 8) does not get this mark. Correct answer with no working scores full marks.