Introduction Set 1 Flashcards

1
Q

What is a Database?

A

A database is a collection of co-related information which helps in faster retrieval, insertion and deletion of data from database, and it organizes the data in form of tables, views, schemas, reports, etc.

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

What is DDL?

A

Data Definition Language. It deals with data definiton and descriptions.

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

What SQL statements are used in DDL?

A

CREATE, DROP, TRUNCATE, ALTER, COMMENT, RENAME

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

What is DML ?

A

Data Manipulation Language. It deals with data manipulation.

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

What SQL statements are used in DML?

A

SELECT, UPDATE, DELETE, INSERT, MERGE, CALL, EXPLAIN PLAN, LOCK TABLE

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

What is a DBMS?

A

It is a software used to manage a database.

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

Give example of DBMS

A

MySQL, Oracle

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

What tasks do DBMS perform?

A

Data Retrieval, Data Updation, Data Definition, User Administration

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

Explain Data Definiton

A

It helps in creation, modification and removal of definitions that define the organization of data in database.

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

Explain Data Updation

A

It helps in insertion, modification and deletion of data in database

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

Explain Data Retrieval

A

It helps in retrieval of data from the database which can be used by applications for various purposes.

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

Explain User Administration

A

It helps in registering and monitoring users, enforcing data security, monitoring performance, maintaining data integrity, dealing with concurrency control and recovering information corrupted by unexpected failure.

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

Disadvantages of file system or the reason why paradigm shift from filesystem to database

A

Redundancy of data, Inconsistency of data, Difficult data access, No backup and recovery, unauthorized access

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