Untitled Deck Flashcards

(24 cards)

1
Q

What is a Database Management System (DBMS)?

A

A DBMS is software that allows users to store, manage and retrieve data efficiently.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the difference between a DBMS and a relational database?

A

A relational database stores structured data in tables, while a DBMS is software that manages databases (relational or non-relational).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a relational database?

A

A relational database is one type of DBMS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a file-based system?

A

A file-based system is a system that stores data in individual files without a structured database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What limitations of file-based systems does a DBMS solve?

A

A DBMS addresses data redundancy, data inconsistency, and data dependency.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How is data redundancy fixed in a DBMS?

A

Data redundancy is fixed because data is stored in linked tables (relations) with foreign keys to minimize duplication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What key feature is used to solve data redundancy?

A

Normalization and data dictionary are key features used to solve data redundancy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How is data inconsistency fixed in a DBMS?

A

Data inconsistency is fixed because data is stored once, and all applications access the same updated version.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What key feature is used to solve data inconsistency?

A

Centralized storage and data integrity checks are key features used to solve data inconsistency.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How is data dependency fixed in a DBMS?

A

Data dependency is fixed because logical schemas separate data structure from applications, so changes don’t break systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What key feature is used to solve data dependency?

A

Data independence and data modeling like ER diagrams are key features used to solve data dependency.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are key features of a DBMS?

A

Key features include Data Management & Data Dictionary, Data Modelling, Logical Schema, Data Integrity, Data Security and Access Control.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a data dictionary?

A

A data dictionary is a key component of a DBMS that stores metadata (data about data, like table names or data types).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why are data dictionaries important?

A

Data dictionaries ensure uniform structure, prevent errors, and optimize performance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does data modeling help with?

A

Data modeling helps design a database logically before implementation, using ER diagrams and normalization.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a logical schema?

A

A logical schema is a blueprint of the database structure.

17
Q

What does data integrity ensure?

A

Data integrity ensures data is accurate, consistent, and reliable.

18
Q

What are examples of types of data integrity?

A

Examples include entity integrity (primary keys must be unique and not null) and domain integrity (data types must be correct).

19
Q

What security features does a DBMS provide to protect data?

A

Security features include Access Rights, Backup Procedures, Encryption, and Audit Logs.

20
Q

What are backup procedures in a DBMS?

A

Backup procedures are automatic backups that prevent data loss.

21
Q

What are audit logs?

A

Audit logs record who accessed or changed data.

22
Q

What are two key tools that help manage databases?

A

Two key tools are the Developer interface and the Query Processor.

23
Q

What is a developer interface?

A

A developer interface allows writing SQL queries, used for creating tables, inserting data, and complex queries (JOIN, GROUP BY).

24
Q

What is a query processor?

A

A query processor interprets and executes SQL commands, made up of DDL interpreters and DML compilers.