Databases and SQL – IGCSE Computer Science (0478)
Question text
5
Complete the description of digital currencies using the terms provided.
blockchains
changed
datachains
decentralised
deleted
encryption
passport
physical address
physically
records
time-stamp
traced
transaction-chains
virtually
A digital currency does not exist … , it can only be accessed
electronically.
Some digital currencies have digital ledgers called … .
These are decentralised databases where each transaction is stored as a new set of data with
a … and is linked to the previous set of data. This means that
transactions cannot be altered, only new transactions added, which allows the location of the data
to be … .
[4]
Question text
6
A business uses a closed-circuit television (CCTV) system that starts recording when motion is
detected. It stops recording after two minutes if no further motion is detected. The system uses a
motion sensor and a microprocessor.
Describe how the motion sensor and microprocessor work together to control the CCTV system.
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
… [7]
Question text
8
An electronic game has three square mats that are coloured red, green and blue.
The player will see a colour displayed on a screen and has 1 second to hit the mat that matches
the colour. If the player hits the correct mat, within 1 second, a counter is incremented. When a
player hits an incorrect mat, the game ends.
The game uses sensors and a microprocessor to determine if the player hits the correct mat within
1 second.
Explain how the game uses sensors and a microprocessor to count the number of times a player
hits a correct mat within 1 second.
…
…
…
…
…
…
…
…
…
…
…
…
…
… [7]
Question text
9
An underground car park has a system that checks the height of vehicles. A vehicle can be no
higher than 1.8 metres to enter the car park.
The system also counts the number of vehicles that have entered the car park, so that it can
display how many parking spaces are still available.
Each parking space has a red and a green light above it. If a car is parked in the parking space
only the red light is on, otherwise only the green light is on.
Sensors and a microprocessor are used to control the system.
(a) Complete the table to identify a suitable sensor for each part of the system.
Task
Sensor
check if a vehicle is too high
count the vehicles entering the car park
check if a vehicle is parked in a parking space
[3]
(b) Describe how the sensor and the microprocessor are used to display the red or green light
above the parking space.
…
…
…
…
…
…
…
…
…
…
… [6]
Question text
3
The data from a sensor must be converted from analogue to digital to be processed by a computer.
(a) State what is meant by analogue data.
…
… [1]
(b) State what is meant by digital data.
…
… [1]