Daily Practice · GCSE Computer Science
July 2008 - GCSE Computer Science 5-a-day
Every GCSE Computer Science sheet published in July 2008, with answers. Systems, data representation, networks, algorithms and programming.
Every sheet in July 2008
The same date always regenerates the same five questions, so a sheet you print today is the sheet a classmate prints tomorrow.
- 1st July 2008State why an organisation might employ penetration testers to test its network.
- 2nd July 2008Trace 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).
- 3rd July 2008State one example of a file format that commonly uses lossy compression.
- 4th July 2008State how many bits are in one byte, and how many bytes are in one kibibyte (KiB).
- 5th July 2008State whether the source code of proprietary (closed source) software is normally available for the public to view.
- 6th July 2008Write one line of pseudocode that converts the string stored in heightInput into a real number and stores it in a variable called height.
- 7th July 2008State the value returned by LENGTH(word) if word stores the string 'Computer'.
- 8th July 2008Order these units of data from smallest to largest: megabyte, byte, gigabyte, kilobyte.
- 9th July 2008Explain the role of TCP when a large file is downloaded.
- 10th July 2008Give one example of erroneous test data for a field that only accepts whole numbers from 1 to 10.
- 11th July 2008A table called books has fields bookId, title, authorId and copiesAvailable. Write an SQL statement that selects the title of every book with more than 2 copies available.
- 12th July 2008Each pair from the previous question is stored using 2 bytes. Calculate the compression ratio achieved, given the uncompressed row (1 byte per pixel) uses 8 bytes.
- 13th July 2008Which flowchart symbol shape is used to represent a decision point (e.g. a yes/no branch)?
- 14th July 2008State the two values a Boolean data type can hold.
- 15th July 2008State how many different values can be represented using 5 bits, and explain your reasoning.
- 16th July 2008Calculate the number of cables needed to connect 8 computers in a full mesh topology, where every computer connects directly to every other computer.
- 17th July 2008Give one advantage and one disadvantage of using a compiler.
- 18th July 2008Convert the hexadecimal number 1A to denary.
- 19th July 2008Convert the denary number 156 to an 8 bit binary number.
- 20th July 2008Which type of malware can replicate itself and spread across a network without attaching to another program or needing a user to run it?
- 21st July 2008Write a loop in pseudocode that outputs every element of a 1D array named names of length 6.
- 22nd July 2008An image uses a colour depth of 2 bits per pixel. Calculate the maximum number of different colours it can represent.
- 23rd July 2008A 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.
- 24th July 2008Describe two negative consequences of throwing away old computer hardware instead of recycling it.
- 25th July 2008Write a function called isEven that takes one integer parameter, num, and returns True if num is even and False otherwise.
- 26th July 2008State the key difference between a procedure and a function.
- 27th July 2008A 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.
- 28th July 2008A 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?
- 29th July 2008Explain why iterative testing, carried out throughout development, tends to make errors cheaper to fix than relying only on final testing.
- 30th July 2008Give one advantage of a relational database over a flat-file database.
- 31st July 2008Define the term 'interrupt' as used to describe a signal received by a CPU.