8.2 Databases.dbmss Flashcards

1
Q

What is a Database Management System (DBMS)?

A

Systems software for the definition, creation, and manipulation of a database.

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

What is data management in the context of databases?

A

The organisation and maintenance of data in a database to provide the required information.

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

What is a data dictionary?

A

A set of data that contains metadata (data about other data) for a database.

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

What is data modelling?

A

The analysis and definition of the data structures required in a database to produce a data model.

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

What is a logical schema?

A

A data model for a specific database that is independent of the DBMS used to build the database.

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

What are access rights in a database?

A

Permissions given to users to access, modify, or delete data.

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

What is a developer interface in a DBMS?

A

A feature that provides developers with access to relational databases and commands for data definition and modification.

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

What is Structured Query Language (SQL)?

A

The standard query language used for interacting with relational databases.

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

What is the role of a query processor in a DBMS?

A

It processes and executes queries written in SQL.

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

How does a DBMS solve the issue of data redundancy in file-based systems?

A

By storing data in separate linked tables and reducing duplication; foreign keys are used for linking and are stored more than once, with the DBMS flagging potential errors when such data is deleted.

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

How does a DBMS address data inconsistency?

A

It stores most items of data only once, ensuring all applications access the same updated data, improving data integrity and ease of maintenance.

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

How does a DBMS handle data dependency issues?

A

It separates data from applications, allowing structural changes to be managed by the DBMS with minimal effect on applications, making data structure changes non-disruptive.

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

What querying features are offered by most DBMSs?

A

A defined query language such as SQL and often a query-by-example facility to access data independently of its structure.

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

How does a DBMS manage data more efficiently than a file-based system?

A

Through structured data entry, storage, modification, and deletion, all managed by the DBMS using a predefined data structure.

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

What is a data dictionary in a DBMS?

A

A storage of metadata including table definitions, attributes, relationships, indexing, validation rules, and physical storage details, enhancing data integrity.

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

What is the purpose of data modelling in a DBMS?

A

To define and visualise the data structure; for example, through an Entity-Relationship (E-R) diagram or logical schema.

17
Q

How does a DBMS enhance data security?

A

By preventing unwanted alteration or access using measures like usernames and passwords, access rights, views, backups, encryption, and audit trails.

18
Q

What are some common DBMS security measures?

A

Use of usernames/passwords, access rights, controlled views, regular backups, encryption, and audit trails for tracking user activity.

19
Q

What is the purpose of the developer interface in a DBMS?

A

It allows developers to write SQL queries instead of using query-by-example, enabling the creation of more complex database queries.

20
Q

What is the function of the query processor in a DBMS?

A

It processes SQL queries using components such as the DDL interpreter, DML compiler, and query evaluation engine to execute and optimise queries.

21
Q

What does the DDL interpreter in the query processor do?

A

It interprets Data Definition Language (DDL) statements and records them in the data dictionary.

22
Q

What role does the DML compiler play in the query processor?

A

It compiles Data Manipulation Language (DML) statements into low-level instructions and optimises them for execution.

23
Q

What is the function of the query evaluation engine?

A

It executes the compiled low-level instructions resulting from SQL queries.