Database Management Systems (DBMS) Flashcards

1
Q

DBMS

A

computer software that allows users to interact with databases (e.g. MySQL)

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

Components of DBMS and SQL:

A

Application programs communicate with a relational DBMS using Structured Query Language (SQL) which is a special programming language designed to perform DBMS tasks. Application programs send data retrieval, data insert, or data changes requests to DBMS as SQL statements.

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

SQL statements: DDL, DML, DCL, TCL
Data Definition Language (DDL): statements used for defining, organizing, and changing data structure in DBMS.

A

CREATE to define database objects, DROP to delete them, ALTER to modify them
Output of DDL statements is metadata (defines meaning and format of data stored in physical storage medium (hard drive))

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

Data Manipulation Language (DML):

A

statements used for selecting, inserting, deleting, and updating data in a database

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

Data Control Language (DCL):

A

statements used for controlling the access to the data

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

Transaction Control Language (TCL):

A

statements used to manage the changes made by DML statements. They group DML statements together into logical transitions

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

A database is a collection of programs that stores, manages, and uses data

False
True

A

False

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

A DBMS can host multiple databases

True
False

A

True

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

The REVOKE statement is used to remove user access rights or privileges to the database objects. REVOKE is an example of:

A

DCL

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

The SQL ROLLBACK statement rolls back the current translation, canceling its changes. SQL ROLLBACK is an example of:

A

TCL

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

A typical DBMS has many functions such as:

A

Creating databases
Data storage
Documenting the data organization
Defining data integrity and data validation rules
Creating user accounts
Providing access to databases
Data security and database administration
Database backup and recovery option

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