Daily Practice · GCSE Computer Science
October 1962 5-a-day
Every sheet in October 1962
The same date always regenerates the same five questions, so a sheet you print today is the sheet a classmate prints tomorrow.
- 1st October 1962A 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.
- 2nd October 1962A row of 8 pixels is WWWBBBWW. Use run-length encoding to encode this row as pairs of (colour, run length).
- 3rd October 1962An 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.
- 4th October 1962Complete: NOT 0 = ?
- 5th October 1962State how many different values can be represented using 5 bits, and explain your reasoning.
- 6th October 1962State what LAN stands for.
- 7th October 1962Explain the purpose of a breakpoint.
- 8th October 1962An 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.
- 9th October 1962Which CPU register holds the address of the next instruction to be fetched?
- 10th October 1962Distinguish between the network security threats known as phishing and pharming.
- 11th October 1962Explain why a running maximum should be initialised to the first element of the array rather than to 0.
- 12th October 1962A row of pixels is encoded using run-length encoding as: 3W 4B 3W. State the original row of pixels it represents.
- 13th October 1962A photo file is 3.5 MB in size. Calculate its size in kilobytes (KB). Use 1 MB = 1000 KB.
- 14th October 1962A 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.
- 15th October 1962State the most appropriate data type for storing a person's shoe size if only whole sizes (e.g. 7, 8, 9) are allowed.
- 16th October 1962State the key difference between a procedure and a function.
- 17th October 1962Give one example of an optical secondary storage device.
- 18th October 1962Name the four layers of the TCP/IP model in order from the one closest to the user.
- 19th October 1962State the term used for realistic data that a program would be expected to handle during normal use.
- 20th October 1962Give one advantage of a relational database over a flat-file database.
- 21st October 1962State the difference between lossy and lossless compression.
- 22nd October 1962State the condition that must be met before a binary search can be used on an array.
- 23rd October 1962A 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.
- 24th October 1962Convert the hexadecimal number 3F to denary.
- 25th October 1962Which piece of network hardware connects a LAN to another network such as the internet, directing data packets based on IP address?
- 26th October 1962A 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.
- 27th October 1962Convert the denary number 45 to hexadecimal.
- 28th October 1962What does the acronym CPU stand for?
- 29th October 1962State what the term malware means.
- 30th October 1962An array named temps holds 12 values. State the index of the first item and the index of the last item.
- 31st October 1962An 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).