Daily Practice · GCSE Computer Science

April 1985 5-a-day

Every sheet in April 1985

The same date always regenerates the same five questions, so a sheet you print today is the sheet a classmate prints tomorrow.

  1. 1st April 1985Write a loop in pseudocode that outputs every element of a 1D array named names of length 6.
  2. 2nd April 1985A row of pixels is encoded using run-length encoding as: 3W 4B 3W. State the original row of pixels it represents.
  3. 3rd April 1985A photo file is 3.5 MB in size. Calculate its size in kilobytes (KB). Use 1 MB = 1000 KB.
  4. 4th April 1985A streaming company records which shows each user watches and uses this to recommend similar shows. Explain one ethical concern this could raise, even if the company only uses the data to improve recommendations.
  5. 5th April 1985State the most appropriate data type for storing a person's shoe size if only whole sizes (e.g. 7, 8, 9) are allowed.
  6. 6th April 1985State the key difference between a procedure and a function.
  7. 7th April 1985Give one example of an optical secondary storage device.
  8. 8th April 1985A user reads the same email on a phone and a tablet, and deleting it on one deletes it on the other. Which protocol is in use and why?
  9. 9th April 1985State the term used for realistic data that a program would be expected to handle during normal use.
  10. 10th April 1985Give one advantage of a relational database over a flat-file database.
  11. 11th April 1985State the difference between lossy and lossless compression.
  12. 12th April 1985State the condition that must be met before a binary search can be used on an array.
  13. 13th April 1985A logic circuit has inputs C and D. C feeds into a NOT gate; the output of the NOT gate and D feed into an OR gate, giving output Y. Write the Boolean expression for Y and state its value when C = 1 and D = 0.
  14. 14th April 1985Convert the hexadecimal number 3F to denary.
  15. 15th April 1985Which piece of network hardware connects a LAN to another network such as the internet, directing data packets based on IP address?
  16. 16th April 1985Name the translator used for assembly language and describe how it differs from a compiler.
  17. 17th April 1985Convert the denary number 45 to hexadecimal.
  18. 18th April 1985What does the acronym CPU stand for?
  19. 19th April 1985State what the term malware means.
  20. 20th April 1985Explain what happens if a program tries to read index 5 of an array declared with 5 elements.
  21. 21st April 1985An uncompressed file is 6000 KB. After lossless compression it is 1500 KB. Calculate the compression ratio in the form n:1 (original size : compressed size).
  22. 22nd April 1985Which of RAM and ROM is volatile, meaning its contents are lost when the power is removed?
  23. 23rd April 1985Which piece of UK legislation controls how organisations must store and use people's personal data?
  24. 24th April 1985Given x = 5 and y = 8, state whether x < y AND x > 0 evaluates to True or False.
  25. 25th April 1985A programmer wants any syntax error in their program to be reported before the program starts running at all. State whether a compiler or an interpreter behaves this way, and explain why.
  26. 26th April 1985Give one reason why RAM on its own is not enough, and a computer also needs secondary storage.
  27. 27th April 1985Define the term protocol.
  28. 28th April 1985A password field requires between 6 and 12 characters. State two boundary data values that should be used to test this field.
  29. 29th April 1985A table called bookings has fields bookingId, customerName and eventDate. Write an SQL statement that deletes the booking with bookingId 45.
  30. 30th April 1985State one function carried out by the operating system of a computer.