Daily Practice · GCSE Computer Science
June 2009 - GCSE Computer Science 5-a-day
Every GCSE Computer Science sheet published in June 2009, with answers. Systems, data representation, networks, algorithms and programming.
Every sheet in June 2009
The same date always regenerates the same five questions, so a sheet you print today is the sheet a classmate prints tomorrow.
- 1st June 2009Calculate the maximum number of comparisons required by a binary search on a sorted list of 512 items.
- 2nd June 2009Given P = 0 and Q = 1, state the value of P OR Q.
- 3rd June 2009Convert the hexadecimal number 3F to denary.
- 4th June 2009A 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.
- 5th June 2009A 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.
- 6th June 2009Convert the 4-bit binary number 1101 to denary.
- 7th June 2009Two CPUs are compared for a task optimised for multiple cores: CPU A has 2 cores at 4.2 GHz; CPU B has 6 cores at 3.0 GHz. Explain which CPU is likely to perform better for this task.
- 8th June 2009State why an organisation might employ penetration testers to test its network.
- 9th June 2009An array named temps holds 12 values. State the index of the first item and the index of the last item.
- 10th June 2009State one example of a file format that commonly uses lossy compression.
- 11th June 2009State how many bits are in one byte, and how many bytes are in one kibibyte (KiB).
- 12th June 2009State whether the source code of proprietary (closed source) software is normally available for the public to view.
- 13th June 2009Write one line of pseudocode that converts the string stored in heightInput into a real number and stores it in a variable called height.
- 14th June 2009A programmer wants any syntax error in their program to be reported before the program starts running at all. State whether a compiler or an interpreter behaves this way, and explain why.
- 15th June 2009Order these units of data from smallest to largest: megabyte, byte, gigabyte, kilobyte.
- 16th June 2009State the difference between HTTP and HTTPS, and give one situation where HTTPS is essential.
- 17th June 2009Give one example of erroneous test data for a field that only accepts whole numbers from 1 to 10.
- 18th June 2009A table called bookings has fields bookingId, customerName and eventDate. Write an SQL statement that deletes the booking with bookingId 45.
- 19th June 2009Each 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.
- 20th June 2009Which flowchart symbol shape is used to represent a decision point (e.g. a yes/no branch)?
- 21st June 2009State the two values a Boolean data type can hold.
- 22nd June 2009Convert the denary number 39 to an 8-bit binary number, showing your working.
- 23rd June 2009Calculate the number of cables needed to connect 8 computers in a full mesh topology, where every computer connects directly to every other computer.
- 24th June 2009State why a program written in a high level language must be translated.
- 25th June 2009Convert the hexadecimal number 1A to denary.
- 26th June 2009Convert the denary number 156 to an 8 bit binary number.
- 27th June 2009Which type of malware can replicate itself and spread across a network without attaching to another program or needing a user to run it?
- 28th June 2009Describe what a nested loop does when it processes a 2D array.
- 29th June 2009An image uses a colour depth of 2 bits per pixel. Calculate the maximum number of different colours it can represent.
- 30th June 2009A 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.