1.3.2 - databases Flashcards
What is meant by the term Primary Key?(1)
It is a field with a unique value. OR A unique Identifer.(1)
What is meant by the term Foreign Key?(1)
A field that links a primary key in a second table.(1)
What is meant by Referential Integrity?(1)
Database are consistent OR Each foregin Key links to a valid Primary Key.(1)
What Does A.C.I.D stand for? (4)
Atomicity (1) Consistency(1) Isolation (1) Durability(1)
What are the 3 types of Entity Relationship?(3)
One-to-One (1) Many-to-Many (1) Many-to-One(1)
What is Flat File Database ?(1)
A single table (2) or a 2D table (1)
What is a Referential Database?(1)
Multiple tables, linked by key fields (1)
What are 4 Methods to Exchange Data (4)
CSV(1) XTML(1) JSON(1) Electronic Data Interchange (1)
Why do we use SQL?(3)
Allows fast and efficient retrieval (1) deletion(1) and manipulation of data using simple commands.
What are the 4 Methods for Capturing Data? (4)
Manual Entry (1) Optical Character Recognition {OCR}(1) Magnetic Ink Character Recognition {MICR}(1) Optical Mark Recogntion {OMR}(1)
Give an Example of Manual Entry (1)
Focal Groups (1) Verbal Surveys (1)
Give an Example of O.C.R (1)
Forms(1) Car Registration(1) Google Street-View (1)
Give an Example of M.I.C.R (1)
Bank Cheques(1) Passports (1)
Give an Example of O.M.R (1)
Multiple Choice Exams(1) Lottery Tickects (1)
Why do we use Database Manipulation Languages?(5)
Specify Tables(1) Specifiy Fields(1) Specify Criteria(1) Specify Output Sorting(1) Use Boolean Expressions(1)
Define a Record (1)
A collection of fields about the same person or item in a database(1)
Define a Field (1)
A category of information(1)
What is a Composite Primary Key? (1)
A primary Key generated by combining fields of each record to gaurantee uniqueness(1)
Compare Flat-File Databases to Relational Databases.(4)
Flat Files: Limited amount of Data(1) Limited Technical Expertise required to use Flat File databases(1) Data format difficult to change (1) Not very secure(1) Relational Database: Easy to add Data(1) Easy to link to other applications(1) Save space by reducing redundant data(1) Improves Data Consistency (1) Easy to change data Format(1) Easy to control access to data(1)
What does Atomicity mean in A.C.I.D?(1)
A transaction can be fully complete or not complete. It cannot be partially complete.(1)
What does Consistency mean in A.C.I.D?(1)
A change in the database must retain the overall state of the database.(1)
What does Isolation mean in A.C.I.D?(1)
Transaction must not interrupt one another (1)
What does Durability mean in A.C.I.D?(1)
Changes made must not be lost to system faliure.(1)
Why Normalise Databases?(2)
Reduces Redundant Data(1) Improves Data Integrity(1)