Database concepts
9 flashcards to master Database concepts
Smart Spaced Repetition
Rate each card Hard, Okay, or Easy after flipping. Your progress is saved and cards are scheduled for optimal review intervals.
Explain the purpose of a 'primary key' and provide an example.
A 'primary key' is a unique identifier for each record in a table, ensuring no two records are identical.
Describe the function of a 'foreign key' and how it relates to tables in a relational database.
A 'foreign key' is a field in one table that refers to the primary key of another table. It establishes a link between the two tables, enforcing referential integrity and enabling relationships.
Explain the concept of a 'relationship' in a relational database.
A 'relationship' defines how data is linked between two or more tables using primary and foreign keys. This ensures data consistency and allows for efficient data retrieval across multiple tables.
Outline the differences between 'one-to-one', 'one-to-many', and 'many-to-many' relationships with suitable examples.
One-to-one: One person has one passport. One-to-many: One author can write many books. Many-to-many: Many students can enroll in many courses (requires a junction table).
What is a 'flat file' database and what are its limitations compared to a relational database?
A 'flat file' database stores data in a single table, without relationships. Limitations include data redundancy, inconsistency, and difficulty in querying complex relationships compared to relational databases.
Explain the key advantage of using a 'relational database' over a 'flat file' database for managing complex data.
Relational databases minimize data redundancy and ensure data consistency by storing related data in separate tables linked through relationships, allowing for efficient querying and data manipulation of complex data sets.
Key Questions: Database concepts
Explain the purpose of a 'primary key' and provide an example.
A 'primary key' is a unique identifier for each record in a table, ensuring no two records are identical.
Describe the function of a 'foreign key' and how it relates to tables in a relational database.
A 'foreign key' is a field in one table that refers to the primary key of another table. It establishes a link between the two tables, enforcing referential integrity and enabling relationships.
What is a 'flat file' database and what are its limitations compared to a relational database?
A 'flat file' database stores data in a single table, without relationships. Limitations include data redundancy, inconsistency, and difficulty in querying complex relationships compared to relational databases.
About Database concepts (9.1)
These 9 flashcards cover everything you need to know about Database concepts for your Cambridge IGCSE Computer Science (0478) exam. Each card is designed based on the official syllabus requirements.
What You'll Learn
- 5 Definitions - Key terms and their precise meanings that examiners expect
- 4 Key Concepts - Core ideas and principles from the 0478 syllabus
How to Study Effectively
Use the Study Mode button above to test yourself one card at a time. Try to answer each question before flipping the card. Review cards you find difficult more frequently.
Continue Learning
After mastering Database concepts, explore these related topics:
- 8.3 Procedures and functions - 10 flashcards
- 9.2 SQL - 10 flashcards
Study Mode
Space to flip • ←→ to navigate • Esc to close
You're on a roll!
You've viewed 10 topics today
Create a free account to unlock unlimited access to all revision notes, flashcards, and study materials.
You're all set!
Enjoy unlimited access to all study materials.
Something went wrong. Please try again.
What you'll get:
- Unlimited revision notes & flashcards
- Track your study progress
- No spam, just study updates