file sys vs DBMS Flashcards

(16 cards)

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

What is a file-based system?

A

A system where data is stored in flat files, managed by individual programs.

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

What is a DBMS?

A

Software that manages databases in a centralized way with integrated control over data.

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

Give one example of a file-based system.

A

A system using .txt or .csv files with no DBMS involved.

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

Give examples of DBMS software.

A

MySQL, Oracle, PostgreSQL, Microsoft SQL Server.

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

List one disadvantage of a file-based system.

A

Data redundancy due to repeated data across files.

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

List one advantage of DBMS over file-based system.

A

Centralized control and reduced redundancy.

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

How does DBMS ensure data consistency?

A

By centralizing data and enforcing integrity constraints.

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

What is data integrity?

A

Ensuring accuracy and consistency of data across the system.

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

Does file-based system support concurrency control?

A

No, it lacks mechanisms to handle multiple user access.

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

Can DBMS handle complex queries?

A

Yes, using SQL it supports complex and efficient data querying.

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

Which system is more secure?

A

DBMS, as it supports user-level security and access control.

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

Is backup and recovery automated in file-based system?

A

No, it’s usually manual and error-prone.

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

Which system is better for large-scale applications?

A

DBMS is better due to scalability and efficiency.

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

What is data redundancy?

A

Repetition of the same data in different places or files.

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

Which system offers data independence?

A

DBMS separates application from data structure, offering data independence.