Daily Practice · GCSE Computer Science
June 1957 5-a-day
Every sheet in June 1957
The same date always regenerates the same five questions, so a sheet you print today is the sheet a classmate prints tomorrow.
- 1st June 1957State one weakness of a simple shift cipher compared to modern encryption methods used on networks.
- 2nd June 1957Describe what a nested loop does when it processes a 2D array.
- 3rd June 1957Define the term 'pixel'.
- 4th June 1957Order these from fastest access speed to slowest: RAM, cache, registers, secondary storage.
- 5th June 1957Which piece of UK legislation makes it a criminal offence to gain unauthorised access to a computer system?
- 6th June 1957Evaluate the expression 23 DIV 4.
- 7th June 1957A 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.
- 8th June 1957A 1 TB hard disk drive costs 40 pounds. A 500 GB solid-state drive costs 60 pounds. Calculate the cost per gigabyte of each device, and state which is cheaper per GB. Use 1 TB = 1000 GB.
- 9th June 1957Give two reasons why network communication is divided into layers.
- 10th June 1957A 'quantity' field on a website must only accept whole numbers from 1 to 10. Which validation check identifies that 15 has been entered?
- 11th June 1957A table called bookings has fields bookingId, customerName and eventDate. Write an SQL statement that deletes the booking with bookingId 45.
- 12th June 1957A row of 8 pixels is WWWBBBWW. Use run-length encoding to encode this row as pairs of (colour, run length).
- 13th June 1957An 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.
- 14th June 1957Complete: NOT 0 = ?
- 15th June 1957Convert the denary number 39 to an 8-bit binary number, showing your working.
- 16th June 1957State what LAN stands for.
- 17th June 1957Explain why an interpreter is often preferred while a program is being written.
- 18th June 1957An 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.
- 19th June 1957Which CPU register holds the address of the next instruction to be fetched?
- 20th June 1957Distinguish between the network security threats known as phishing and pharming.
- 21st June 1957A 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.
- 22nd June 1957A row of pixels is encoded using run-length encoding as: 3W 4B 3W. State the original row of pixels it represents.
- 23rd June 1957A photo file is 3.5 MB in size. Calculate its size in kilobytes (KB). Use 1 MB = 1000 KB.
- 24th June 1957A 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.
- 25th June 1957State the most appropriate data type for storing a person's shoe size if only whole sizes (e.g. 7, 8, 9) are allowed.
- 26th June 1957Give one specific way this code could be refined without changing what it does: a = 5, b = 3, c = a + b, PRINT c
- 27th June 1957Give one example of an optical secondary storage device.
- 28th June 1957State the layer that IP operates in, and describe its job.
- 29th June 1957State the term used for realistic data that a program would be expected to handle during normal use.
- 30th June 1957A table called members has fields memberId, firstName, lastName and joinYear. Write an SQL statement that adds a new record with memberId 12, firstName 'Priya', lastName 'Shah' and joinYear 2026.