Daily Practice · GCSE Computer Science
July 2024 - GCSE Computer Science 5-a-day
Every GCSE Computer Science sheet published in July 2024, with answers. Systems, data representation, networks, algorithms and programming.
Every sheet in July 2024
The same date always regenerates the same five questions, so a sheet you print today is the sheet a classmate prints tomorrow.
- 1st July 2024Define the term 'interrupt' as used to describe a signal received by a CPU.
- 2nd July 2024An array called items contains [12, 45, 7, 30, 19] at indices 0 to 4. Describe how a linear search would locate the value 30, stating the number of comparisons needed.
- 3rd July 2024Evaluate X = NOT A AND B when A = 0 and B = 1.
- 4th July 2024Convert the hexadecimal number FF to an 8-bit binary number.
- 5th July 2024Give one advantage of a star topology compared with a mesh topology.
- 6th July 2024Describe what syntax highlighting is and how it helps a programmer.
- 7th July 2024Add the 8-bit binary numbers 00101101 and 00010011, giving your answer as an 8-bit binary number.
- 8th July 2024State the three stages of the fetch-decode-execute cycle in the order they occur.
- 9th July 2024State one weakness of a simple shift cipher compared to modern encryption methods used on networks.
- 10th July 2024Trace 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).
- 11th July 2024Define the term 'pixel'.
- 12th July 2024Order these from fastest access speed to slowest: RAM, cache, registers, secondary storage.
- 13th July 2024Which piece of UK legislation makes it a criminal offence to gain unauthorised access to a computer system?
- 14th July 2024Evaluate the expression 23 DIV 4.
- 15th July 2024State the correct order of the three operations used to read data from a text file.
- 16th July 2024A 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.
- 17th July 2024Explain the role of TCP when a large file is downloaded.
- 18th July 2024A 'quantity' field on a website must only accept whole numbers from 1 to 10. Which validation check identifies that 15 has been entered?
- 19th July 2024A 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.
- 20th July 2024A row of 8 pixels is WWWBBBWW. Use run-length encoding to encode this row as pairs of (colour, run length).
- 21st July 2024An 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.
- 22nd July 2024Complete: NOT 0 = ?
- 23rd July 2024Convert the denary number 200 to hexadecimal, showing your working.
- 24th July 2024State what LAN stands for.
- 25th July 2024Give one advantage and one disadvantage of using a compiler.
- 26th July 2024An 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.
- 27th July 2024Which CPU register holds the address of the next instruction to be fetched?
- 28th July 2024Distinguish between the network security threats known as phishing and pharming.
- 29th July 2024Write a loop in pseudocode that outputs every element of a 1D array named names of length 6.
- 30th July 2024A row of pixels is encoded using run-length encoding as: 3W 4B 3W. State the original row of pixels it represents.
- 31st July 2024A photo file is 3.5 MB in size. Calculate its size in kilobytes (KB). Use 1 MB = 1000 KB.