QUESTION 4
The MMA (Motorist Monitoring Agency) keeps a database on all motorist information and their offences - NSC Information Technology - Question 4 - 2022 - Paper 2
Question 4
QUESTION 4
The MMA (Motorist Monitoring Agency) keeps a database on all motorist information and their offences.
The following screenshots show the structure of tw... show full transcript
Worked Solution & Example Answer:QUESTION 4
The MMA (Motorist Monitoring Agency) keeps a database on all motorist information and their offences - NSC Information Technology - Question 4 - 2022 - Paper 2
Step 1
4.1 What does the key symbol to the left of the IDNumber field indicate?
96%
114 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
The key symbol indicates that the IDNumber field is the primary key of the table. A primary key is a unique identifier for each record in a database.
Step 2
4.2 State TWO distinct requirements of a field designated with the key symbol, as indicated in the example above.
99%
104 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
The primary key must be unique for each record in the table to prevent duplication.
It cannot contain null values; every record must have a valid primary key entry.
Step 3
4.3 Which field in the tblOffences table would be best suited to establish a one-to-many relationship between the two tables?
96%
101 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
The IDNumber field in the tblOffences table would be best suited to establish a one-to-many relationship, as it links each offence to a specific motorist.
Step 4
4.4 Provide a more suitable data type for the VehicleRegNumber field AND motivate your answer.
98%
120 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
A suitable data type for the VehicleRegNumber field is Short Text. This is because vehicle registration numbers contain both numbers and letters, making a text type necessary to accommodate all possible formats.
Step 5
4.5 Provide a motivation to defend this suggestion.
97%
117 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
Splitting the Name and Surname into two fields allows for better data organization and easier querying. It enables specific searches for either first names or surnames individually, enhancing database functionality and usability.
Step 6
4.6.1 What is data redundancy?
97%
121 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
Data redundancy refers to the unnecessary repetition of data within a database. It can lead to inconsistencies and increased storage costs.
Step 7
4.6.2 Name the process during which the design of a database is changed to prevent anomalies from occurring due to problems, like data redundancy.
96%
114 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
The process is known as Normalization, which organizes data to minimize redundancy and dependency.
Step 8
4.7.1 Give an example of useful information that can be extracted from the data provided.
99%
104 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
An example of useful information is establishing the frequency of different offence types, such as the most common offence recorded during the specified time period.
Step 9
4.7.2 Explain how Step 3 and Step 4 in the data progression diagram may be applied in practice using the information that you identified in the answer to QUESTION 4.7.1.
96%
101 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
Step 3 involves transforming information into knowledge by analyzing the frequency of offences to inform policing strategies. Step 4 then uses this knowledge to make informed decisions, such as increasing patrols in areas with high rates of speeding or illegal parking.
Step 10
4.7.3 Explain what fuzzy logic is and give an example, applicable to this situation.
98%
120 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
Fuzzy logic is a form of many-valued logic that deals with reasoning that is approximate rather than fixed and exact. An example is assessing whether a driver is reckless based on the frequency of their offences: if they frequently skip stops or speed, they may be classified as reckless drivers, even if not every act results in a fine.
Step 11
4.8.1 What is SQL injection?
97%
117 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
SQL injection is a hacking technique where SQL statements are inserted into input fields, allowing unauthorized users to manipulate database queries.
Step 12
4.8.2 What is an audit trail?
97%
121 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
An audit trail is a record that tracks who made changes to a database and when those changes occurred, providing accountability and traceability.
Step 13
4.9.1 (a) Identify the type of data integrity that is referred to in the diagram.
96%
114 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
The type of data integrity referred to is Logical Integrity, which ensures that the data is accurate and consistent.
Step 14
4.9.1 (b) What does physical integrity of data entail?
99%
104 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
Physical integrity of data entails protection against loss or corruption from external threats such as power surges or natural disasters.
Step 15
4.9.2 Name TWO ways in which a programmer can ensure that the date of an offence is entered in the correct format.
96%
101 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
Implement date pickers in input forms to ensure valid date selection.
Use validation rules to restrict input to the acceptable date format.
Step 16
4.10 Explain how transaction processing is used to maintain data integrity while transactions take place.
98%
120 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
Transaction processing ensures that all parts of a transaction are completed successfully before committing data changes. If any part fails, changes are rolled back, maintaining data integrity and consistency within the database.