Daily Practice · GCSE Computer Science
August 1978 5-a-day
Every sheet in August 1978
The same date always regenerates the same five questions, so a sheet you print today is the sheet a classmate prints tomorrow.
- 1st August 1978Convert the hexadecimal number 1A to denary.
- 2nd August 1978Convert the denary number 156 to an 8 bit binary number.
- 3rd August 1978Which type of malware can replicate itself and spread across a network without attaching to another program or needing a user to run it?
- 4th August 1978A 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.
- 5th August 1978An image uses a colour depth of 2 bits per pixel. Calculate the maximum number of different colours it can represent.
- 6th August 1978A CPU's cache has a hit rate of 80%. During a task the CPU makes 4000 requests for data. Calculate the number of cache hits and cache misses.
- 7th August 1978Describe two negative consequences of throwing away old computer hardware instead of recycling it.
- 8th August 1978Write a function called isEven that takes one integer parameter, num, and returns True if num is even and False otherwise.
- 9th August 1978State the key difference between a procedure and a function.
- 10th August 1978A company backs up its files onto magnetic tape cartridges, each with a capacity of 3 TB. The company needs to back up 20 TB of data. Calculate the minimum number of cartridges needed.
- 11th August 1978State the layer that IP operates in, and describe its job.
- 12th August 1978Explain why iterative testing, carried out throughout development, tends to make errors cheaper to fix than relying only on final testing.
- 13th August 1978Give one advantage of a relational database over a flat-file database.
- 14th August 1978Define the term 'interrupt' as used to describe a signal received by a CPU.
- 15th August 1978An 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.
- 16th August 1978Evaluate X = NOT A AND B when A = 0 and B = 1.
- 17th August 1978Convert the hexadecimal number 3F to denary.
- 18th August 1978Give one advantage of a star topology compared with a mesh topology.
- 19th August 1978Describe what syntax highlighting is and how it helps a programmer.
- 20th August 1978Add the 8-bit binary numbers 00101101 and 00010011, giving your answer as an 8-bit binary number.
- 21st August 1978State the three stages of the fetch-decode-execute cycle in the order they occur.
- 22nd August 1978State one weakness of a simple shift cipher compared to modern encryption methods used on networks.
- 23rd August 1978Trace 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).
- 24th August 1978Define the term 'pixel'.
- 25th August 1978Order these from fastest access speed to slowest: RAM, cache, registers, secondary storage.
- 26th August 1978Which piece of UK legislation makes it a criminal offence to gain unauthorised access to a computer system?
- 27th August 1978Evaluate the expression 23 DIV 4.
- 28th August 1978A 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.
- 29th August 1978A 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.
- 30th August 1978Explain the role of TCP when a large file is downloaded.
- 31st August 1978A 'quantity' field on a website must only accept whole numbers from 1 to 10. Which validation check identifies that 15 has been entered?