Daily Practice · GCSE Computer Science

July 1957 5-a-day

Every sheet in July 1957

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 1957State the difference between lossy and lossless compression.
  2. 2nd July 1957State the condition that must be met before a binary search can be used on an array.
  3. 3rd July 1957A 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.
  4. 4th July 1957Convert the hexadecimal number FF to an 8-bit binary number.
  5. 5th July 1957Which piece of network hardware connects a LAN to another network such as the internet, directing data packets based on IP address?
  6. 6th July 1957Describe what syntax highlighting is and how it helps a programmer.
  7. 7th July 1957Convert the denary number 45 to hexadecimal.
  8. 8th July 1957What does the acronym CPU stand for?
  9. 9th July 1957State what the term malware means.
  10. 10th July 1957Trace this algorithm with data = [4, 9, 2, 9, 7] and state the final output. total = 0; count = 0; for i = 0 to 4: if data[i] > 5 then total = total + data[i] and count = count + 1; next i; print(total, count).
  11. 11th July 1957An 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).
  12. 12th July 1957Which of RAM and ROM is volatile, meaning its contents are lost when the power is removed?
  13. 13th July 1957Which piece of UK legislation controls how organisations must store and use people's personal data?
  14. 14th July 1957Given x = 5 and y = 8, state whether x < y AND x > 0 evaluates to True or False.
  15. 15th July 1957State the correct order of the three operations used to read data from a text file.
  16. 16th July 1957Give one reason why RAM on its own is not enough, and a computer also needs secondary storage.
  17. 17th July 1957Explain the role of TCP when a large file is downloaded.
  18. 18th July 1957A password field requires between 6 and 12 characters. State two boundary data values that should be used to test this field.
  19. 19th July 1957A table called products has fields productId, name, price and stock. Write an SQL statement that changes the price of the product with productId 7 to 15.99.
  20. 20th July 1957State one function carried out by the operating system of a computer.
  21. 21st July 1957In computational thinking, what is meant by the term 'decomposition'?
  22. 22nd July 1957Given A = 1 and B = 1, state the value of A AND B.
  23. 23rd July 1957Convert the denary number 200 to hexadecimal, showing your working.
  24. 24th July 1957Define a peer-to-peer network.
  25. 25th July 1957Give one advantage and one disadvantage of using a compiler.
  26. 26th July 1957Convert the denary number 5 to a 4-bit binary number.
  27. 27th July 1957A CPU has a clock speed of 4.0 GHz. Calculate how many clock cycles it completes in 2 seconds.
  28. 28th July 1957A simple cipher shifts every letter 2 places forward in the alphabet, wrapping around so Y becomes A and Z becomes B. Encrypt the plaintext CAT using this cipher.
  29. 29th July 1957Write a loop in pseudocode that outputs every element of a 1D array named names of length 6.
  30. 30th July 1957A mono sound clip has a sample rate of 4000 Hz and lasts 2 seconds. Calculate the total number of samples taken.
  31. 31st July 1957State the type of program that is typically stored in ROM.