Daily Practice · GCSE Computer Science
April 2012 - GCSE Computer Science 5-a-day
Every GCSE Computer Science sheet published in April 2012, with answers. Systems, data representation, networks, algorithms and programming.
Every sheet in April 2012
The same date always regenerates the same five questions, so a sheet you print today is the sheet a classmate prints tomorrow.
- 1st April 2012State one example of a file format that commonly uses lossy compression.
- 2nd April 2012State how many bits are in one byte, and how many bytes are in one kibibyte (KiB).
- 3rd April 2012State whether the source code of proprietary (closed source) software is normally available for the public to view.
- 4th April 2012Write one line of pseudocode that converts the string stored in heightInput into a real number and stores it in a variable called height.
- 5th April 2012State the value returned by LENGTH(word) if word stores the string 'Computer'.
- 6th April 2012Order these units of data from smallest to largest: megabyte, byte, gigabyte, kilobyte.
- 7th April 2012Define the term protocol.
- 8th April 2012Give one example of erroneous test data for a field that only accepts whole numbers from 1 to 10.
- 9th April 2012A 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.
- 10th April 2012Each 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.
- 11th April 2012Which flowchart symbol shape is used to represent a decision point (e.g. a yes/no branch)?
- 12th April 2012State the two values a Boolean data type can hold.
- 13th April 2012State how many different values can be represented using 5 bits, and explain your reasoning.
- 14th April 2012Calculate the number of cables needed to connect 8 computers in a full mesh topology, where every computer connects directly to every other computer.
- 15th April 2012Explain the purpose of a breakpoint.
- 16th April 2012Convert the hexadecimal number 1A to denary.
- 17th April 2012Convert the denary number 156 to an 8 bit binary number.
- 18th April 2012Which type of malware can replicate itself and spread across a network without attaching to another program or needing a user to run it?
- 19th April 2012Explain why a running maximum should be initialised to the first element of the array rather than to 0.
- 20th April 2012An image uses a colour depth of 2 bits per pixel. Calculate the maximum number of different colours it can represent.
- 21st April 2012A 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.
- 22nd April 2012Describe two negative consequences of throwing away old computer hardware instead of recycling it.
- 23rd April 2012Write a function called isEven that takes one integer parameter, num, and returns True if num is even and False otherwise.
- 24th April 2012State the key difference between a procedure and a function.
- 25th April 2012A 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.
- 26th April 2012Name the four layers of the TCP/IP model in order from the one closest to the user.
- 27th April 2012Explain why iterative testing, carried out throughout development, tends to make errors cheaper to fix than relying only on final testing.
- 28th April 2012Give one advantage of a relational database over a flat-file database.
- 29th April 2012Define the term 'interrupt' as used to describe a signal received by a CPU.
- 30th April 2012An array called items contains [12, 45, 7, 30, 19] at indices 0 to 4. Describe how a linear search would locate the value 30, stating the number of comparisons needed.