Daily Practice · GCSE Computer Science

July 1966 5-a-day

Every sheet in July 1966

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

  1. 1st July 1966A row of 8 pixels is WWWBBBWW. Use run-length encoding to encode this row as pairs of (colour, run length).
  2. 2nd July 1966An array contains [9, 2, 6], to be sorted using insertion sort. Show the state of the array after each new element has been inserted into its correct position.
  3. 3rd July 1966Complete: NOT 0 = ?
  4. 4th July 1966State how many different values can be represented using 5 bits, and explain your reasoning.
  5. 5th July 1966State what LAN stands for.
  6. 6th July 1966State why a program written in a high level language must be translated.
  7. 7th July 1966An 8-bit register stores the value 01100000 (denary 96). State the resulting 8-bit binary value after a left shift by 1 place, and state whether an overflow occurs.
  8. 8th July 1966Which CPU register holds the address of the next instruction to be fetched?
  9. 9th July 1966Distinguish between the network security threats known as phishing and pharming.
  10. 10th July 1966Describe what a nested loop does when it processes a 2D array.
  11. 11th July 1966A row of pixels is encoded using run-length encoding as: 3W 4B 3W. State the original row of pixels it represents.
  12. 12th July 1966A photo file is 3.5 MB in size. Calculate its size in kilobytes (KB). Use 1 MB = 1000 KB.
  13. 13th July 1966A 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.
  14. 14th July 1966State the most appropriate data type for storing a person's shoe size if only whole sizes (e.g. 7, 8, 9) are allowed.
  15. 15th July 1966State the key difference between a procedure and a function.
  16. 16th July 1966Give one example of an optical secondary storage device.
  17. 17th July 1966Give two reasons why network communication is divided into layers.
  18. 18th July 1966State the term used for realistic data that a program would be expected to handle during normal use.
  19. 19th July 1966Give one advantage of a relational database over a flat-file database.
  20. 20th July 1966State the difference between lossy and lossless compression.
  21. 21st July 1966State the condition that must be met before a binary search can be used on an array.
  22. 22nd July 1966A 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.
  23. 23rd July 1966Convert the hexadecimal number 3F to denary.
  24. 24th July 1966Which piece of network hardware connects a LAN to another network such as the internet, directing data packets based on IP address?
  25. 25th July 1966Explain why an interpreter is often preferred while a program is being written.
  26. 26th July 1966Convert the denary number 45 to hexadecimal.
  27. 27th July 1966What does the acronym CPU stand for?
  28. 28th July 1966State what the term malware means.
  29. 29th July 1966A 2D array grid is declared as grid[4][6]. State how many rows and columns it has and how many elements it holds in total.
  30. 30th July 1966An 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).
  31. 31st July 1966Which of RAM and ROM is volatile, meaning its contents are lost when the power is removed?