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