Daily Practice · GCSE Computer Science

January 2013 - GCSE Computer Science 5-a-day

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

Every sheet in January 2013

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

  1. 1st January 2013A row of 8 pixels is WWWBBBWW. Use run-length encoding to encode this row as pairs of (colour, run length).
  2. 2nd January 2013An 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.
  3. 3rd January 2013Complete: NOT 0 = ?
  4. 4th January 2013Convert the 8-bit binary number 01011010 to denary.
  5. 5th January 2013State what LAN stands for.
  6. 6th January 2013Explain the purpose of a breakpoint.
  7. 7th January 2013An 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.
  8. 8th January 2013Which CPU register holds the address of the next instruction to be fetched?
  9. 9th January 2013Distinguish between the network security threats known as phishing and pharming.
  10. 10th January 2013Explain why a running maximum should be initialised to the first element of the array rather than to 0.
  11. 11th January 2013A row of pixels is encoded using run-length encoding as: 3W 4B 3W. State the original row of pixels it represents.
  12. 12th January 2013A photo file is 3.5 MB in size. Calculate its size in kilobytes (KB). Use 1 MB = 1000 KB.
  13. 13th January 2013A streaming company records which shows each user watches and uses this to recommend similar shows. Explain one ethical concern this could raise, even if the company only uses the data to improve recommendations.
  14. 14th January 2013State the most appropriate data type for storing a person's shoe size if only whole sizes (e.g. 7, 8, 9) are allowed.
  15. 15th January 2013Write 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.
  16. 16th January 2013Give one example of an optical secondary storage device.
  17. 17th January 2013Name the four layers of the TCP/IP model in order from the one closest to the user.
  18. 18th January 2013State the term used for realistic data that a program would be expected to handle during normal use.
  19. 19th January 2013State what a foreign key is used for.
  20. 20th January 2013State the difference between lossy and lossless compression.
  21. 21st January 2013State the condition that must be met before a binary search can be used on an array.
  22. 22nd January 2013A logic circuit has inputs C and D. C feeds into a NOT gate; the output of the NOT gate and D feed into an OR gate, giving output Y. Write the Boolean expression for Y and state its value when C = 1 and D = 0.
  23. 23rd January 2013A 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.
  24. 24th January 2013Which piece of network hardware connects a LAN to another network such as the internet, directing data packets based on IP address?
  25. 25th January 2013A 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.
  26. 26th January 2013Convert the denary number 45 to hexadecimal.
  27. 27th January 2013What does the acronym CPU stand for?
  28. 28th January 2013State what the term malware means.
  29. 29th January 2013An array named temps holds 12 values. State the index of the first item and the index of the last item.
  30. 30th January 2013An uncompressed file is 6000 KB. After lossless compression it is 1500 KB. Calculate the compression ratio in the form n:1 (original size : compressed size).
  31. 31st January 2013Which of RAM and ROM is volatile, meaning its contents are lost when the power is removed?