Past-paper question · 2019 October-November · Paper 12 · Q8(a)

Question 8(a) 2019 · October-November · Paper 12 · 6 marks

Original past-paper question for 8(A)
Original past-paper question for 8(A)
Reveal official mark-scheme answer Official mark-scheme answer for 8(A)

Official answer for Question 8

Part (a)

Question 6

✓
Attribute
✓
Data type
✓
Field
✓
Format
✓
Type of key
✓
size
✓
Invoice_number
✓
Alphanumeric

Question 5

✓
99999
✓
Primary
✓
Number_of_items
✓
Numeric/integer
✓
–

Question 9

✓
–
✓
Item_cost
✓
Numeric/Currency
✓
–
✓
999.99
✓
–
✓
Customer_ref
✓
Alphanumeric

Question 6

✓
X9999X
✓
Foreign
✓
Delivered
✓
Boolean
✓
–
  • 1/0
✓
–
✓
1 mark for all attributes correctly copied
✓
1 mark for 4/5 data types correct
✓
1 mark for Customer_ref field size correct
✓
1 mark for 4/5 formats correct
✓
1 mark for correct foreign key
✓
1 mark for correct primary key

Mark scheme 9626_w19_ms_12.pdf →

Show text version of question

Question 8

Part (a)

Question 8

Kelvin was given the task of creating a relational database to combine all his company’s customer

records and sales records (invoices). The tables that were created are shown here.

Customer table

Customer_id Family_name First_name Credit_limit Loyalty_number M3764A Burke Linda €1,980 408254117150 N3201B Charles Lauren €2,650 545687952356 N5789A Floyd Joe €1,850 803226234709 L2345A Hall John €2,700 678914325678 Q4012A Jones Laura €3,400 384466646362 L3896C Li Kurtis €2,130 846869163975 M4698B Norfolk Kate €1,250 243375720844 M2589D Rhodes Lotte €3,400 385657814001 M4013B Sun Wu Li €2,240 320031330576 P4352D Watson Karla €2,130 322036694448 P3156C Williams Joanne €1,870 421536345681

Invoices table

Invoice_number Number_of_items Item_cost Customer_ref Delivered

You can assume that all values shown include the maximum and minimum allowed in each field.

Part (a)

Complete the data dictionary below for the Invoices table. You can assume that all values

shown are typical. All field sizes should be appropriate.

Attribute Data type Field size Format Type of key

[6]

Question 10

Topic relevance

Why this question appears here

92% assigned-topic match · Database and file concepts › Database and file concepts

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 9626_w19_qp_12.pdf

Keep practising this topic