Daily Practice · GCSE Computer Science

June 2003 - GCSE Computer Science 5-a-day

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

Every sheet in June 2003

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

  1. 1st June 2003Given x = 5 and y = 8, state whether x < y AND x > 0 evaluates to True or False.
  2. 2nd June 2003A 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.
  3. 3rd June 2003Give one reason why RAM on its own is not enough, and a computer also needs secondary storage.
  4. 4th June 2003Explain the role of TCP when a large file is downloaded.
  5. 5th June 2003A password field requires between 6 and 12 characters. State two boundary data values that should be used to test this field.
  6. 6th June 2003A 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;
  7. 7th June 2003State one function carried out by the operating system of a computer.
  8. 8th June 2003In computational thinking, what is meant by the term 'decomposition'?
  9. 9th June 2003Given A = 1 and B = 1, state the value of A AND B.
  10. 10th June 2003Convert the 8-bit binary number 01011010 to denary.
  11. 11th June 2003Define a peer-to-peer network.
  12. 12th June 2003Give one advantage and one disadvantage of using a compiler.
  13. 13th June 2003Convert the denary number 5 to a 4-bit binary number.
  14. 14th June 2003A CPU has a clock speed of 4.0 GHz. Calculate how many clock cycles it completes in 2 seconds.
  15. 15th June 2003A 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.
  16. 16th June 2003Write a loop in pseudocode that outputs every element of a 1D array named names of length 6.
  17. 17th June 2003A mono sound clip has a sample rate of 4000 Hz and lasts 2 seconds. Calculate the total number of samples taken.
  18. 18th June 2003State the type of program that is typically stored in ROM.
  19. 19th June 2003State one reason a small business might choose to use open source software instead of proprietary (closed source) software.
  20. 20th June 2003A FOR loop runs: total = 0, FOR i = 1 TO 4, total = total + i, NEXT i. State the value of total after the loop finishes.
  21. 21st June 2003Write 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.
  22. 22nd June 2003State the typical maximum capacity of a single-layer DVD.
  23. 23rd June 2003A user reads the same email on a phone and a tablet, and deleting it on one deletes it on the other. Which protocol is in use and why?
  24. 24th June 2003State what is meant by a syntax error.
  25. 25th June 2003State what a foreign key is used for.
  26. 26th June 2003What type of utility software reorganises files on a hard disk so fragmented parts are stored closer together?
  27. 27th June 2003Calculate the maximum number of comparisons required by a binary search on a sorted list of 512 items.
  28. 28th June 2003Given P = 0 and Q = 1, state the value of P OR Q.
  29. 29th June 2003A 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.
  30. 30th June 2003A 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.