Save
Computer science OCR A Level
1.3.2 Database
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
Aanya Sinha
Visit profile
Cards (58)
What is an entity in a relational database?
An item of interest with
stored
information
View source
How does a relational database differentiate between entities?
By creating different
tables
for each entity
View source
What are the two entities shown in the entity relationship model?
Doctor
and
Patient
View source
What is the role of DoctorID in the entity relationship model?
It links the
two
tables
together
View source
What are attributes in a relational database?
Characteristics of the
entity
View source
How is a flat file structured?
It consists of a
single
file
View source
How would you represent the entity Car in a flat file?
Car(
CarID
, Age,
Price
)
View source
What is the typical focus of a flat file database?
A single
entity
and its attributes
View source
What is a primary key?
A
unique
identifier
for each record
View source
In the Doctor table, what is the primary key?
DoctorID
View source
How is a foreign key defined?
It links two
tables
together
View source
What is the foreign key in the Patient table?
DoctorID
View source
What is the purpose of a secondary key?
To allow quick searching of the
database
View source
Why might a secondary index be set up on the surname attribute?
Patients
may remember their surname
View source
What are the types of relationships in entity relationship modelling?
One-to-one
One-to-many
Many-to-many
View source
What does a one-to-one relationship signify?
Each
entity
links to one other entity
View source
What characterizes a many-to-many relationship?
Entities can link to multiple other
entities
View source
How are one-to-one relationships visually represented?
With a single line connecting two
entities
View source
What is the goal of normalization in databases?
To achieve the best possible
layout
View source
What are the objectives of normalization?
No
redundancy
Consistent data
Easy record management
Support for complex
queries
View source
What is required for a database to be in First Normal Form?
No
attribute
can contain multiple values
View source
What defines Second Normal Form?
No partial dependencies on
composite keys
View source
What is Third Normal Form?
No
non-key
dependencies exist
View source
What is indexing in databases?
A method to store
record
positions
View source
What is the primary key's indexing status?
It is
automatically
indexed
View source
Why are secondary keys used?
To
facilitate
easier data searching
View source
What is data capturing?
Inputting data into the
database
View source
How is data captured during cheque payments?
Using
Magnetic Ink Character Recognition
(
MICR
)
View source
What does Optical Mark Recognition (OMR) do?
Reads
multiple choice
answers on tests
View source
What is the purpose of selecting data in data preprocessing?
To reduce the
volume
of input data
View source
How can SQL be used in data management?
To sort, restructure, and
select
data
View source
What does EDI stand for?
Electronic Data Interchange
View source
What is SQL used for?
To manipulate
databases
View source
What does the SELECT statement do in SQL?
Collects
fields
from a
given
table
View source
What is the purpose of the FROM statement in SQL?
Specifies the
table(s)
for
data
collection
View source
How does the WHERE statement function in SQL?
Specifies
search criteria
for data
View source
What does the ORDER BY clause do in SQL?
Specifies the order of
retrieved
data
View source
How can you sort data in descending order using SQL?
Add
'Desc'
to the
ORDER BY
statement
View source
What does the JOIN statement do in SQL?
Combines rows
from
multiple tables
View source
What is the CREATE function used for in SQL?
To make new
databases
or
tables
View source
See all 58 cards