DBMS Flashcards

1
Q

When data is accessed by multiple systems/programs simultaneously. So database manager should ensure that there is no flaw in the data during this concurrent access of data. This management system is termed as _______________________, whose job is to manage the concurrent access to the data.

A

Transaction and Concurrency control system

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

Language which is used to work on the database data is _________

A

Structured Query Language [SQL]

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

We represent databases pictorially using ____________

A

E-R diagram [Entity-Relationship diagram]

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

The retrieving of data stored or recording of data should be fast and therefore, the database is stored in the form of _____

A

B-Trees and B+ Trees

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

The Mathmatical model which talks about how to store data in tables is called ___________

A

Relational Model

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

SQL is a query lanuage based on ____________ and is used to add,delete,modify,search,retrieve data from the atabase.

A

relational model

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

What is a relation?

A

Reation refers to a table.Table is a set of rows and columns

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

What are attributes?

A

Attributes are nothing but the columns in relational database. Attribues are also called as fields.

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

Attributes are also called as _____________ in table

A

Fields

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

Tuples

A

Rows in a table[relational databse] are called as tuples. They are also known as records.

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

Tuples are also called as?

A

Record

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

In a relation there should not be two same tuples True or False

A

True

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

What is an instance in DBMS?

A

It is a set of tuples/rows along with the table structure

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

Key

A

it is he minimum number/set of attributes/columns to uniquely identify a row/tuple.

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

Simple key

A

Key with only one attribute/column.

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

Compound key

A

Key with multiple attributes/columns

17
Q

Candidate key

A

Set of all unique keys is called as Candidate key

18
Q

Primary key

A

PRIMARY KEY in DBMS is a column or group of columns in a table that uniquely identify every row in that table. The Primary Key can’t be a duplicate meaning the same value can’t appear more than once in the table. A table cannot have more than one primary key.