Daily Practice · GCSE Computer Science

March 2007 - GCSE Computer Science 5-a-day

Every GCSE Computer Science sheet published in March 2007, with answers. Systems, data representation, networks, algorithms and programming.

Every sheet in March 2007

The same date always regenerates the same five questions, so a sheet you print today is the sheet a classmate prints tomorrow.

  1. 1st March 2007A 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.
  2. 2nd March 2007Give one reason why RAM on its own is not enough, and a computer also needs secondary storage.
  3. 3rd March 2007Define the term protocol.
  4. 4th March 2007A password field requires between 6 and 12 characters. State two boundary data values that should be used to test this field.
  5. 5th March 2007A table called staff has fields staffId, name, department and salary, storing these records: staffId | name | department | salary, 1 | Ben | Sales | 24000, 2 | Chloe | IT | 31000, 3 | Dan | Sales | 27000. State which staffId(s) would be returned by: SELECT staffId FROM staff WHERE department = 'Sales' AND salary > 25000;
  6. 6th March 2007State one function carried out by the operating system of a computer.
  7. 7th March 2007In computational thinking, what is meant by the term 'decomposition'?
  8. 8th March 2007Given A = 1 and B = 1, state the value of A AND B.
  9. 9th March 2007Convert the 8-bit binary number 01011010 to denary.
  10. 10th March 2007Define a peer-to-peer network.
  11. 11th March 2007Explain the purpose of a breakpoint.
  12. 12th March 2007Convert the denary number 5 to a 4-bit binary number.
  13. 13th March 2007A CPU has a clock speed of 4.0 GHz. Calculate how many clock cycles it completes in 2 seconds.
  14. 14th March 2007A 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.
  15. 15th March 2007Explain why a running maximum should be initialised to the first element of the array rather than to 0.
  16. 16th March 2007A mono sound clip has a sample rate of 4000 Hz and lasts 2 seconds. Calculate the total number of samples taken.
  17. 17th March 2007State the type of program that is typically stored in ROM.
  18. 18th March 2007State one reason a small business might choose to use open source software instead of proprietary (closed source) software.
  19. 19th March 2007A FOR loop runs: total = 0, FOR i = 1 TO 4, total = total + i, NEXT i. State the value of total after the loop finishes.
  20. 20th March 2007Write the pseudocode header and body for a function called isAdult that takes one integer parameter called age and returns True if age is 18 or over.
  21. 21st March 2007State the typical maximum capacity of a single-layer DVD.
  22. 22nd March 2007Name the four layers of the TCP/IP model in order from the one closest to the user.
  23. 23rd March 2007State what is meant by a syntax error.
  24. 24th March 2007State what a foreign key is used for.
  25. 25th March 2007What type of utility software reorganises files on a hard disk so fragmented parts are stored closer together?
  26. 26th March 2007Calculate the maximum number of comparisons required by a binary search on a sorted list of 512 items.
  27. 27th March 2007Given P = 0 and Q = 1, state the value of P OR Q.
  28. 28th March 2007A pseudocode algorithm is: count <- 0, x <- 10, WHILE x > 0, count <- count + 1, x <- x - 3, ENDWHILE, OUTPUT count. Complete a trace table for x and count, laid out as x | count, then state the value output.
  29. 29th March 2007A network administrator is connecting 10 computers in a server room. Calculate the number of cables needed for a full mesh topology, and state the number needed for a star topology with one central switch.
  30. 30th March 2007A program compiles and runs but always outputs an average that is too small. State the type of error and explain why the translator did not report it.
  31. 31st March 2007Convert the 4-bit binary number 1101 to denary.