Computer Science - 9210 OxfordAQA

Database Design

Overzicht

Nobody ever writes a database twice. The design decisions made in the first hour, which tables exist, what each field holds and which field identifies a record, are the ones everything afterwards is built on, and they are the ones that are painful to change once there is real data in the system. Getting them right is a skill, and it is a skill made of three specific choices rather than of general good taste.

This lesson teaches those three choices: picking an appropriate data type, and a length where a length is called for; selecting a suitable primary key; and turning a paragraph describing a situation into a set of linked tables. You will also learn the exact notation this specification uses to write a design down, which is worth knowing precisely, because a design written in the expected form is quick to mark and a design sketched informally is not.

Doelstellingen

  1. Be able to choose appropriate data types and (where appropriate) lengths for fields in a table. Be able to select a suitable primary key for a table. Be able to produce a design for a relational database from a description of a scenario.

Mindmap

Dit onderwerp is in kaart gebracht zodat je ziet hoe de ideeen samenhangen.

Open de mindmap in de app

Lesnotitie

Designing a relational database from a description means answering three questions, and answering them in this order saves a great deal of rework.

Volledige lesnotitie beschikbaar in de Green Bridge-app

Installeer de Green Bridge CBT-app op je telefoon of computer voor de volledige IGCSE-bibliotheek: examens uit voorgaande jaren, correctiemodellen, mindmaps, flashcards en audiolessen.

Volledige lesnotities met diagrammen
AI-gestuurde leerassistent
Proefexamens op tijd, nagekeken zodra je klaar bent
Beschikbaar voor Android, Windows, macOS en Linux iOS-app binnenkort beschikbaar

Lesevaluatie

Gefeliciteerd met het voltooien van de les op Database Design. Nu je de sleutelconcepten en ideeën, het is tijd om uw kennis op de proef te stellen. Deze sectie biedt een verscheidenheid aan oefeningen vragen die bedoeld zijn om uw begrip te vergroten en u te helpen uw begrip van de stof te peilen.

Je zult een mix van vraagtypen tegenkomen, waaronder meerkeuzevragen, korte antwoordvragen en essayvragen. Elke vraag is zorgvuldig samengesteld om verschillende aspecten van je kennis en kritisch denkvermogen te beoordelen.

Gebruik dit evaluatiegedeelte als een kans om je begrip van het onderwerp te versterken en om gebieden te identificeren waar je mogelijk extra studie nodig hebt. Laat je niet ontmoedigen door eventuele uitdagingen die je tegenkomt; beschouw ze in plaats daarvan als kansen voor groei en verbetering.

  1. Which data type is most appropriate for a field storing a telephone number? A. Integer B. Real C. String D. Boolean Answer: C
  2. For which of these fields is it appropriate to give a length? A. A Boolean field recording whether a fee has been paid B. A string field holding a surname C. An integer field holding a quantity D. A real field holding a price Answer: B
  3. In the notation used by this specification, how is the primary key of a table indicated? A. It is written in capital letters B. It is underlined C. It is placed in square brackets D. It is written last in the list Answer: B
  4. One member may make many bookings, and each booking is made by one member. Where should the foreign key be placed? A. In the Member table B. In the Booking table C. In both tables D. In neither table Answer: B
  5. What is the maximum number of tables the specification says an examined design scenario will require? A. Two B. Three C. Four D. There is no limit Answer: B

Maak deze vragen in de app

Maak deze vragen in de app

Oefen Proefexamenvragen

Wilt u proefexamenvragen over Database Design oefenen? Download de Green Bridge CBT-app voor toegang tot proefexamenvragen en volledige oefentoetsen over dit onderwerp.

Download de app in de Google Playstore

Alles wat je nodig hebt om uit te blinken in JAMB, WAEC en NECO.

Green Bridge CBT Mobile App
Persoonlijke AI Leerchat Assistent
Meer dan 200.000 IGCSE-, JAMB-, WAEC- en NECO-examenvragen.
Meer dan 1200 lesnotities
Offline ondersteuning - Leer altijd en overal
Dienstregeling Groene Brug
Literatuursamenvattingen & Potentiële Vragen
Volg je prestaties en vooruitgang.
Diepgaande Uitleg voor Uitgebreid Leren