Save
Computer Science
Databases
Databases
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
willow
Visit profile
Cards (22)
What is a relational database?
Data is held in more than one
table
View source
What does an entity represent in a database?
An object in the
real
world
View source
What is an attribute in the context of a database?
A characteristic that describes an
entity
View source
What are instances in a database?
A set of values corresponding to an
entity
View source
What is a primary key?
An
attribute
that uniquely identifies each
instance
View source
What is a composite primary key?
A
combination
of
primary keys
used together
View source
What is a foreign key?
A set of
attributes
referring to another table's
primary key
View source
What is the standard notation for defining an entity in a database?
Entity_Name (Entity_Identifier, attribute_1, attribute_2, ...)
Names should be
singular
(e.g., student)
View source
What are the types of relationships shown in entity relationship diagrams?
One-to-one
One-to-Many
Many-to-Many
View source
How would you represent a student entity with attributes in standard notation?
Student
(Student_ID, Name, Age)
View source
How do entity relationship diagrams help in database design?
They show the relationship between
attributes
View source
What is the purpose of producing entity relationship diagrams?
To represent a
data model
and entity descriptions
View source
What is the first step in producing a data model from given data requirements?
Identify multiple
entities
in the scenario
View source
What is the goal of normalisation in databases?
To reduce data
duplication
View source
Why are databases normalised?
To improve data
integrity
View source
What are the key features of 1st Normal Form?
Each record has a
primary
key
Data is
atomic
(cannot be split)
No
repeating
groups of attributes
View source
What defines 2nd Normal Form in database design?
No
partial
dependencies
Applies when a
composite
key is used
View source
What is the requirement for 3rd Normal Form?
No
non-key
dependencies
All attributes depend only on the
primary
key
View source
What does the term 'dependency' mean in database design?
An element relies on another for
functionality
View source
What does 'atomic' mean in the context of database attributes?
An attribute can't be sensibly
divided
View source
If a name attribute is split into first and last names, what does this violate?
1st
Normal Form
View source
How does 3rd Normal Form differ from 2nd Normal Form?
3rd Normal Form eliminates
non-key dependencies
View source