Intro Flashcards

1
Q

What is a DBMS

A

Stands for database management system

It is a system that creates, controls access to and manages queries for DB

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

What is a Hierarchical database model

A

Hierarchical: parent-child relationship to store data

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

What is a Network database model

A

Network: extension of hierarchical with the same structure, but there is no limit on the number of parents a child can have

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

What is a relational database model

A

A database that supports relationships in the form of predefined tables - which is also referred to as ‘relations’.

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

What is a Object-relational database model

A

It is similar to relational, but it also supports concepts like class, object, and inheritance.

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

What is the overall description of the DB called?

A

The DB schema

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

When data is retrieved from the database, what do the user see?

The data as it really is or something else?

A

A representation; an instance.

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

In RDBMS (relational) What are the three kinds of languages provided to write in

A
  1. Data Definition Language (DDL)
  2. Data Manipulation Language (DML)
  3. Data Control Language (DCL)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is DDL?

A

Data Definition Language:
Used to Defines / modify a schema

CREATE : to create objects in database
ALTER : alters the structure of database
DROP : delete objects from database
RENAME : rename an objects

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

What is DML?

A

Data Manipulation Language: used by users to insert, update, delete and retrieve data

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

What is DCL?

A

Data Control Language: used by the administrator to control the access to the DB-

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

What is the external schema

A

A schema that shows only relevant info for users.

For example, a user from the sales department will see only sales related data.

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

What is the conceptual schema?

A

Describes all the entities, their attributes and their relationships with integrity constraints

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

What is the internal schema?

A

The internal schema contains the definitions of the stored records, methods, data fields and indexes.

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

Name the thing that describes how the database looks (relations and attributes and so on)

A

database schema

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