Higher Computing Revision - Database Design

Higher Computing Revision - Database Design

Assessment

Flashcard

Computers

11th Grade

Easy

Created by

H Gillani

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

14 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is an entity in database design?

Back

An entity is a person, place, thing, event, or concept of interest to the business or organization about which data is to be stored. Examples include Student, Teacher, Class, and Subject.

2.

FLASHCARD QUESTION

Front

What is an entity occurrence?

Back

An entity occurrence is a specific example of an entity, also known as an instance. For example, John Smith is an entity occurrence in the Student entity.

3.

FLASHCARD QUESTION

Front

What is an attribute in the context of database design?

Back

An attribute is a characteristic of an entity. For example, attributes of the Student entity include studentID, firstname, surname, and dateOfBirth.

4.

FLASHCARD QUESTION

Front

Define primary key.

Back

A primary key is an attribute or combination of attributes that uniquely identifies one, and only one, record in a table. For example, studentID is the primary key of the Student entity.

5.

FLASHCARD QUESTION

Front

What is a foreign key?

Back

A foreign key is an attribute in one table that uniquely identifies a row of another table where it is a primary key. It creates a link between two tables.

6.

FLASHCARD QUESTION

Front

Explain compound key.

Back

A compound key is a primary key that comprises two or more attributes. Each attribute in a compound key is a primary key in its own right.

7.

FLASHCARD QUESTION

Front

What is a relationship in database design?

Back

A relationship is a natural association between one or more entities, such as Students learning Subjects or Teachers educating Students.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?