Daily Practice - GCSE Computer Science
3rd January 1998
- 1Programming Practice: Writing and Refining Programs
A function is defined as: FUNCTION addTax(price) RETURN price x 1.2 ENDFUNCTION. Another line of code runs: total <- addTax(20) + addTax(30). Trace both function calls and state the final value of total.
- 2SQL and Data Handling
Give one advantage of a relational database over a flat-file database.
- 3Trace Tables and Binary/Hex Conversions
Convert the denary number 200 to hexadecimal, showing your working.
- 4Systems Architecture
Two CPUs are compared for a task optimised for multiple cores: CPU A has 2 cores at 4.2 GHz; CPU B has 6 cores at 3.0 GHz. Explain which CPU is likely to perform better for this task.
- 5Memory and Primary Storage
A 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.
You are looking at an earlier sheet. Today's sheet is the one that adds a day.
Your run is kept in this browser only, and there is no account.
Recent GCSE Computer Science sheets
Any date always gives the same five questions, so a sheet can be set again or shared. All of January 1998, including the monthly compilation PDF.