Search Header Logo
Higher DDD - Compound keys, relationships & data dictionaries

Higher DDD - Compound keys, relationships & data dictionaries

Assessment

Presentation

•

Computers

•

8th Grade

•

Practice Problem

•

Easy

Created by

G Alexander-Doyle

Used 4+ times

FREE Resource

25 Slides • 10 Questions

1

media

2

  • I can explain why a compound key may be required in a database entity which does not contain a naturally occurring primary key.

  • I can populate all/part of a data dictionary to indicate entity names along with the name, type, size, key and validation of their associated attributes. 

Achievements

  • We are learning how multiple attributes can be combined to form a compound key

  • We are learning how to develop a data dictionary at higher level.

Aims

3

media

4

media

5

media

6

media

7

Match

Question image

Match the following terms

Entity

Attribute

Compound key

Relationship

Cardinality

Database table

Database Field

Primary key consisting of 2(+) fields

A link between two entities

One-One, One-Many, Many-Many

8

media

9

media

10

media

11

Multiple Choice

What cardinality is the relationship between Pupils in a school to Extracurricular Clubs?

1

One - One

2

One - Many

3

Many - One

4

Many - Many

12

Multiple Choice

What cardinality is the relationship between Head teacher to School?

1

One - One

2

One - Many

3

Many - One

4

Many - Many

13

Multiple Choice

What cardinality is the relationship between Pupil to Year group?

1

One - One

2

One - Many

3

Many - One

4

Many - Many

14

Multiple Choice

What cardinality is the relationship between Teacher to Class?

1

One - One

2

One - Many

3

Many - One

4

Many - Many

15

media

16

media

17

media

18

media

19

media

20

media

21

media

22

Match

Match the following data types with the sample data

07766591297

560.56

True

13/09/1989

Object

Text

Number

Boolean

Date

23

media

24

media

25

media

26

media

27

media

28

media

29

media

30

media

31

media

32

Multiple Choice

Which type of validation would be best to set on a number field which displays a rating between 1 and 10?

1

Presence check

2

Length check

3

Range check

4

Restricted choice

33

Multiple Choice

Which type of validation would be best to set on a text field which displays a month of the year?

1

Presence check

2

Length check

3

Range check

4

Restricted choice

34

Multiple Choice

Which type of validation would be best to set on the primary key in a database?

1

Presence check

2

Length check

3

Range check

4

Restricted choice

35

Multiple Choice

Which type of validation would be best to set on a text field which contains a membership number?

FK778-008

LI450-109

IN677-908

1

Presence check

2

Length check

3

Range check

4

Restricted choice

media

Show answer

Auto Play

Slide 1 / 35

SLIDE