Daily Practice · GCSE Computer Science
May 1969 5-a-day
Every sheet in May 1969
The same date always regenerates the same five questions, so a sheet you print today is the sheet a classmate prints tomorrow.
- 1st May 1969Explain why a running maximum should be initialised to the first element of the array rather than to 0.
- 2nd May 1969A row of pixels is encoded using run-length encoding as: 3W 4B 3W. State the original row of pixels it represents.
- 3rd May 1969A photo file is 3.5 MB in size. Calculate its size in kilobytes (KB). Use 1 MB = 1000 KB.
- 4th May 1969A 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.
- 5th May 1969State the most appropriate data type for storing a person's shoe size if only whole sizes (e.g. 7, 8, 9) are allowed.
- 6th May 1969Write 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.
- 7th May 1969Give one example of an optical secondary storage device.
- 8th May 1969Name the four layers of the TCP/IP model in order from the one closest to the user.
- 9th May 1969State the term used for realistic data that a program would be expected to handle during normal use.
- 10th May 1969State what a foreign key is used for.
- 11th May 1969State the difference between lossy and lossless compression.
- 12th May 1969State the condition that must be met before a binary search can be used on an array.
- 13th May 1969A 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.
- 14th May 1969A 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.
- 15th May 1969Which piece of network hardware connects a LAN to another network such as the internet, directing data packets based on IP address?
- 16th May 1969A 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.
- 17th May 1969Convert the denary number 45 to hexadecimal.
- 18th May 1969What does the acronym CPU stand for?
- 19th May 1969State what the term malware means.
- 20th May 1969An array named temps holds 12 values. State the index of the first item and the index of the last item.
- 21st May 1969An 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).
- 22nd May 1969Which of RAM and ROM is volatile, meaning its contents are lost when the power is removed?
- 23rd May 1969Which piece of UK legislation controls how organisations must store and use people's personal data?
- 24th May 1969Given x = 5 and y = 8, state whether x < y AND x > 0 evaluates to True or False.
- 25th May 1969State the value returned by LENGTH(word) if word stores the string 'Computer'.
- 26th May 1969Give one reason why RAM on its own is not enough, and a computer also needs secondary storage.
- 27th May 1969State the difference between HTTP and HTTPS, and give one situation where HTTPS is essential.
- 28th May 1969A password field requires between 6 and 12 characters. State two boundary data values that should be used to test this field.
- 29th May 1969A 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.
- 30th May 1969State one function carried out by the operating system of a computer.
- 31st May 1969In computational thinking, what is meant by the term 'decomposition'?