YEAR 1 WEEK 20 CO1 RDBMS Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

State purpose of RDBMS

A

main purpose of Relational Database Managment System is to maintain data integrity.
Means all rules and relationships between data consistent all times.

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

What are some DBMS features.

A

Command language allows you to create, delete and alter the database (data definition language or DDL)
A way of documenting all internal structures that make up the database (data dictionary)
Language to support the manipulation and processing of the data (data manipulation language)
Ability to view database from different viewpoints according to requirement of user.
Provide some level of security and access control to the data.

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

Define a data dictionary.

A

A file which contains descriptions of the data stored in tables in a database.
Used by database managers and administrators (DBM and DBA)
Provides metadata or information about data and how it is stored.
Describes the structure and attributes of data items.

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

State some items a data dictionary may store.

A

Table name
Field name
Field data type
Field length
Field validation
Keys
Relationship
Indexes
Access rights

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

What is the purpose of Data Definition Language.

A

One use is creating a database from scratch.
Used to write schema which describes data items to be stored and the relationships between them.
Allows tables to be created and primary/foreign keys to be defined
Also defines validation rules.

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

What is the purpose of data manipulation language?

A

Provides a mean of manipulating data in the database.
To access query sort search data
Store insert data
Change update delete data

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