Daily Practice · GCSE Computer Science
July 1956 5-a-day
Every sheet in July 1956
The same date always regenerates the same five questions, so a sheet you print today is the sheet a classmate prints tomorrow.
- 1st July 1956A 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 July 1956A 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?
- 3rd July 1956A 'quantity' field on a website must only accept whole numbers from 1 to 10. Which validation check identifies that 15 has been entered?
- 4th July 1956A 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 July 1956A row of 8 pixels is WWWBBBWW. Use run-length encoding to encode this row as pairs of (colour, run length).
- 6th July 1956An 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 July 1956Complete: NOT 0 = ?
- 8th July 1956State how many different values can be represented using 5 bits, and explain your reasoning.
- 9th July 1956State what LAN stands for.
- 10th July 1956Name the translator used for assembly language and describe how it differs from a compiler.
- 11th July 1956An 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 July 1956Which CPU register holds the address of the next instruction to be fetched?
- 13th July 1956Distinguish between the network security threats known as phishing and pharming.
- 14th July 1956Explain what happens if a program tries to read index 5 of an array declared with 5 elements.
- 15th July 1956A row of pixels is encoded using run-length encoding as: 3W 4B 3W. State the original row of pixels it represents.
- 16th July 1956A photo file is 3.5 MB in size. Calculate its size in kilobytes (KB). Use 1 MB = 1000 KB.
- 17th July 1956A 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 July 1956State the most appropriate data type for storing a person's shoe size if only whole sizes (e.g. 7, 8, 9) are allowed.
- 19th July 1956State the key difference between a procedure and a function.
- 20th July 1956Give one example of an optical secondary storage device.
- 21st July 1956Define the term protocol.
- 22nd July 1956State the term used for realistic data that a program would be expected to handle during normal use.
- 23rd July 1956Give one advantage of a relational database over a flat-file database.
- 24th July 1956State the difference between lossy and lossless compression.
- 25th July 1956State the condition that must be met before a binary search can be used on an array.
- 26th July 1956A 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 July 1956Convert the hexadecimal number 3F to denary.
- 28th July 1956Which piece of network hardware connects a LAN to another network such as the internet, directing data packets based on IP address?
- 29th July 1956Explain the purpose of a breakpoint.
- 30th July 1956Convert the denary number 45 to hexadecimal.
- 31st July 1956What does the acronym CPU stand for?