Computer Science - 9210 OxfordAQA

Database Design

Gbogbo ọrọ náà

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.

Ebumnobi

  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.

Maapụ uche

E seela isiokwu a ka ị hụ otu echiche si ejikọta.

Mepee maapụ uche na ngwa

Akwụkwọ Ọmụmụ

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

Ndetu Nkuzi Zuru Ezu di na Ngwa Green Bridge

Nweta ngwa Green Bridge CBT na ekwenti gi ma o bu kompiuta maka ulo akwukwo IGCSE zuru oke: akwukwo ule ndi gara aga, usoro nyocha, eserese uche, kaadi omumu na nkuzi olu.

Akwụkwọ ndụmọdụ zuru oke nwere eserese
Onye inyeaka mmụta AI
Ule nnwale nwere oge a na-ahazi ozugbo i mechara
Ọ dị na Android, Windows, macOS, na Linux Ngwa iOS na-abia n'oge na-adighi anya

Nnyocha Ọmụmụ

Ekele diri gi maka imecha ihe karịrị na Database Design. Ugbu a na ị na-enyochakwa isi echiche na echiche ndị dị mkpa, ọ bụ oge iji nwalee ihe ị ma. Ngwa a na-enye ụdị ajụjụ ọmụmụ dị iche iche emebere iji kwado nghọta gị wee nyere gị aka ịmata otú ị ghọtara ihe ndị a kụziri.

Ị ga-ahụ ngwakọta nke ụdị ajụjụ dị iche iche, gụnyere ajụjụ chọrọ ịhọrọ otu n’ime ọtụtụ azịza, ajụjụ chọrọ mkpirisi azịza, na ajụjụ ede ede. A na-arụpụta ajụjụ ọ bụla nke ọma iji nwalee akụkụ dị iche iche nke ihe ọmụma gị na nkà nke ịtụgharị uche.

Jiri akụkụ a nke nyocha ka ohere iji kụziere ihe ị matara banyere isiokwu ahụ ma chọpụta ebe ọ bụla ị nwere ike ịchọ ọmụmụ ihe ọzọ. Ekwela ka nsogbu ọ bụla ị na-eche ihu mee ka ị daa mba; kama, lee ha anya dị ka ohere maka ịzụlite onwe gị na imeziwanye.

  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

Rue ajuju ndi a n'ime ngwa ahu

Rue ajuju ndi a n'ime ngwa ahu

Meecha Ajụjụ Ule Ọmarịcha

Ị chọrọ ime ajụjụ ule ọmarịcha gbasara Database Design? Budata ngwa Green Bridge CBT iji nweta ajụjụ ule ọmarịcha na nyocha zuru ezu gbasara isiokwu a.

Budata Ngwa Ahụ Na Google Playstore

Ihe nile ichoro iji nwee ihe ịga nke ọma na JAMB, WAEC & NECO.

Green Bridge CBT Mobile App
Onye Enyemaka Nkata AI Nke Ọmụmụ Ihe Ahaziri Maka Gị
Ajụjụ ule IGCSE, JAMB, WAEC na NECO karịrị 200,000
Ihe karịrị 1200 Nkọwa Nkuzi
Nkwado Na-enweghị Ịntanetị - Mụọ Ihe Mgbe Ọ Bụla, Ebe Ọ Bụla
Jadawalin Gada Kore
Akọkọ akọle iwe & Ibeere agbara
Sọfụma Ọrụ Gi & Ọganihu Gi
Nkọwa Miri Emi Maka Ọmụmụ Ihe Zuru Ezu