Eduqas A-Level Computer Science A500QS
Data Structures: Arrays, Records and Hash Tables
Stacks, Queues, Linked Lists and Trees
Boolean Logic and Simplification
Algorithms, Pseudo-Code and Programming Constructs
Variables, Scope, Parameters and Identifiers
Recursion and Modular Programming
Sorting Algorithms
Searching and Shortest-Path Algorithms
Big O Notation and Algorithm Efficiency
Validation, Verification and Testing
Data Compression
Programming Paradigms and Computer Languages
Systems Analysis, Maintenance and Documentation
System Design and Human-Computer Interaction
Software Engineering Tools and Translators
Computing, Society and the Law
Computer Architecture, the Processor and Assembly Language
Input, Output and Secondary Storage
Networks, Protocols and the Internet
Data Transmission and Network Performance
Number Systems and Binary Arithmetic
Data Types, Characters and Floating Point
Files, Records and File Organisation
Databases, Normalisation and Entity Modelling
SQL, Big Data and Distributed Systems
The Operating System and Its Modes
Interrupts, Memory Management and Scheduling
Types of Software System
Data Security, Cryptography and Attack
Validation, Verification and Testing
Validation and verification of data in databases
- 3 things to know
- Component 1
Overview
Input mask, purpose of a required property on a database field and referential integrity acting as a validation check.
What you need to know
Answer each one before you reveal it.
How does choosing a field data type act as validation?
What is an input mask?
Questions from this subtopic
Each one with the model answer underneath.
- 1
Where are validation rules best stored in a database application?
Model answer
Validation rules belong in the database itself rather than in each program that uses it. Every application then enforces exactly the same rules.
- 2
How does choosing a field data type act as validation?
Model answer
A field declared as an integer or a date rejects any value of another type. The check is enforced by the database management system for every insert.
- 3
What is an input mask?
Model answer
An input mask is a stored pattern that forces an entry into a fixed layout. A date field can be masked so only two digits, two digits and four digits are accepted.
- 4
Explain the purpose of a required property on a database field.
Model answer
A required field cannot be left null when the record is saved. The property implements a presence check at table level.
- 5
How does a validation rule differ from validation text in a database?
Model answer
A validation rule is the condition the value must satisfy, such as greater than zero. The validation text is the message shown to the user when that condition fails.
- 6
Which integrity rule stops a foreign key pointing at a record that does not exist?
Model answer
Referential integrity means every foreign key value must match an existing primary key. Orphan records that point at nothing are therefore impossible.
Other ways to work this
The same content, four other ways.
What is inside Levo
Six ways to work the same material.
Every question in Validation, Verification and Testing, on a schedule.
Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.
Or £46 a year, about £3.83 a month. Cancel anytime.