CodeStudy.net
Toggle Menu
Home
Online Java Compiler
Tutorials
Java Tutorial
Python Tutorial
SQL Database Design
Blog
All Posts
Database Design Ecosystem Overview
Evaluate your understanding of tools,modeling,and best practices in database design.
1. Which database relationship type involves one record in a table关联多个 records in another table?
1:1 (One-to-One)
1:M (One-to-Many)
M:N (Many-to-Many)
M:1 (Many-to-One)
2. What is the highest normal form typically aimed for in relational database design to minimize redundancy?
1NF (First Normal Form)
2NF (Second Normal Form)
3NF (Third Normal Form)
BCNF (Boyce-Codd Normal Form)
3. In an ER diagram, which symbol represents a weak entity?
Solid rectangle
Double rectangle
Diamond
Oval
4. Which key uniquely identifies each record in a table and cannot contain NULL values?
Foreign key
Primary key
Candidate key
Composite key
5. What term describes a column or set of columns in one table that references the primary key of another table?
Index
Trigger
Foreign key
Check constraint
6. Which data model uses tables with rows and columns to organize data?
Hierarchical
Network
Relational
Document
7. What is the process of organizing data in a database to reduce redundancy and improve data integrity called?
Indexing
Normalization
Partitioning
Sharding
8. In SQL, which clause is used to enforce a rule on a column (e.g., value range)?
PRIMARY KEY
FOREIGN KEY
CHECK
UNIQUE
9. Which of the following are ACID properties of database transactions? (Select all that apply)
Atomicity
Consistency
Isolation
Durability
Distribution
10. Which of these are types of NoSQL databases? (Select all that apply)
Document
Graph
Relational
Key-value
Column-family
11. Which components are typically part of a database schema? (Select all that apply)
Table names
Column data types
Index definitions
User passwords
Query results
12. What are the goals of database normalization? (Select all that apply)
Reduce data redundancy
Improve query performance
Eliminate data anomalies
Simplify data retrieval
Increase storage space
13. Which of the following are valid relationship cardinalities in ER diagrams? (Select all that apply)
0:1
1:1
1:M
M:N
2:3
14. A composite key consists of two or more columns combined to uniquely identify a record.
True
False
15. NoSQL databases are always better than SQL databases for handling structured data.
True
False
16. In database design, an entity is a person, place, thing, or event that can be uniquely identified.
True
False
17. A database index always improves the performance of both read and write operations.
True
False
18. What does the abbreviation 'SQL' stand for?
19. What term refers to a visual representation of entities, attributes, and relationships in a database system? (abbrev.)
20. What is the term for a set of rules that defines the structure of a database, including tables, columns, and relationships?
Reset
Answered 0 of 0 — 0 correct