Daily Practice · GCSE Computer Science
January 1954 5-a-day
Every sheet in January 1954
The same date always regenerates the same five questions, so a sheet you print today is the sheet a classmate prints tomorrow.
- 1st January 1954A 1 TB hard disk drive costs 40 pounds. A 500 GB solid-state drive costs 60 pounds. Calculate the cost per gigabyte of each device, and state which is cheaper per GB. Use 1 TB = 1000 GB.
- 2nd January 1954Define the term protocol.
- 3rd January 1954A 'quantity' field on a website must only accept whole numbers from 1 to 10. Which validation check identifies that 15 has been entered?
- 4th January 1954A 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.
- 5th January 1954A row of 8 pixels is WWWBBBWW. Use run-length encoding to encode this row as pairs of (colour, run length).
- 6th January 1954An array contains [9, 2, 6], to be sorted using insertion sort. Show the state of the array after each new element has been inserted into its correct position.
- 7th January 1954Complete: NOT 0 = ?
- 8th January 1954State how many different values can be represented using 5 bits, and explain your reasoning.
- 9th January 1954State what LAN stands for.
- 10th January 1954Explain the purpose of a breakpoint.
- 11th January 1954An 8-bit register stores the value 01100000 (denary 96). State the resulting 8-bit binary value after a left shift by 1 place, and state whether an overflow occurs.
- 12th January 1954Which CPU register holds the address of the next instruction to be fetched?
- 13th January 1954Distinguish between the network security threats known as phishing and pharming.
- 14th January 1954Explain why a running maximum should be initialised to the first element of the array rather than to 0.
- 15th January 1954A row of pixels is encoded using run-length encoding as: 3W 4B 3W. State the original row of pixels it represents.
- 16th January 1954A photo file is 3.5 MB in size. Calculate its size in kilobytes (KB). Use 1 MB = 1000 KB.
- 17th January 1954A 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.
- 18th January 1954State the most appropriate data type for storing a person's shoe size if only whole sizes (e.g. 7, 8, 9) are allowed.
- 19th January 1954State the key difference between a procedure and a function.
- 20th January 1954Give one example of an optical secondary storage device.
- 21st January 1954Name the four layers of the TCP/IP model in order from the one closest to the user.
- 22nd January 1954State the term used for realistic data that a program would be expected to handle during normal use.
- 23rd January 1954Give one advantage of a relational database over a flat-file database.
- 24th January 1954State the difference between lossy and lossless compression.
- 25th January 1954State the condition that must be met before a binary search can be used on an array.
- 26th January 1954A 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.
- 27th January 1954Convert the hexadecimal number 3F to denary.
- 28th January 1954Which piece of network hardware connects a LAN to another network such as the internet, directing data packets based on IP address?
- 29th January 1954A 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.
- 30th January 1954Convert the denary number 45 to hexadecimal.
- 31st January 1954What does the acronym CPU stand for?