Database Structures Flashcards

1
Q

What is a flat file?

A

A flat file is a plain text data file where each line represents a single record, and the fields within the record are typically separated by delimiters like commas or tabs. It lacks structured relationships between records and is commonly used for storing simple data sets.

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

What are the benefits of using a flat file?

A

Some benefits of using a flat file include its simplicity in creation, editing, and reading. They are easy to understand by both humans and computer programs. Flat files also serve as a common means of data interchange between different systems or applications, allowing for data import/export and data exchange.

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

What are the disadvantages of using a flat file?

A

The disadvantages of using a flat file include the lack of structural organization and relationships found in relational databases. Flat files are not efficient for complex data operations or querying large datasets. They do not offer advanced features like indexing, data integrity constraints, or the ability to perform complex queries using SQL.

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

What is a relational database?

A

A relational database is a structured database system based on the relational model. It organizes data into tables consisting of rows and columns, with relationships established through keys. Relational databases use SQL (Structured Query Language) to perform operations, queries, and maintain data integrity.

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

What are the benefits of using a relational database?

A

Relational databases offer several benefits, including the ability to establish relationships between tables, ensuring data consistency and integrity. They provide efficient data retrieval and querying capabilities, supporting complex operations and aggregations. Relational databases also offer features like indexing, transaction management, and scalability.

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

What are the disadvantages of using a relational database?

A

Some disadvantages of using a relational database include increased complexity compared to flat files, requiring expertise in database design and SQL. Relational databases may have performance issues with extremely large datasets or complex queries. They can also be more resource-intensive and require maintenance and optimization.

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

What is ANSI/SPARC architecture?

A

ANSI/SPARC architecture refers to a framework for database systems developed by the American National Standards Institute (ANSI) and the Standards Planning and Requirements Committee (SPARC). It provides guidelines for designing and implementing database management systems, emphasizing the separation of three levels: external, conceptual, and internal.

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

What is Level 3 ANSI/SPARC?

A

Level 3 ANSI/SPARC, also known as the physical level, is the lowest level in the ANSI/SPARC architecture. It focuses on the physical storage and access methods of the database, including file organizations, indexes, and data storage structures. This level deals with the physical implementation details of the database system.

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