Relational Databases  «Prev  Next»

Database FlatFile - Quiz

This quiz tests your understanding of the differences between database and flatfile approaches

Each question is worth one point. Select the best answer for each question.
 
1. What does "flat file" refer to?
Please select the best answer.
  A. A type of database storage method where all of the data elements are stored on top of each other
  B. A fully-relational database system like Microsoft's SQL Server or Oracle's database systems
  C. Non-relational systems that typically store each table and index in separate files and often do not support the SQL language
  D. None of the above

2. Which of the following statements is true?
Please select the best answer.
  A. Flat file database systems pay more attention to retrieving data and making it accessible to the user, whereas relational databases spend more energy updating indexes and data pointers.
  B. Relational database systems are the main thrust behind SQL since it provides the language elements needed to tie together the information in the database.
  C. Relational systems pay more attention to retrieving data and making it accessible to the user.
  D. Both B and C

3. Which of these predicates are propositions?
Please select the best answer.
  A. The sun is made of orange juice
  B. y + x > y
  C. There exists a database management system that is truly relational
  D. 5 is an even number

4. What distinguishes a relational database from a flat-file database?
Please select the best answer.
  A. Relational databases store data in a single table, whereas flat-file databases store data across multiple related tables.
  B. Relational databases cannot support complex queries and relationships, unlike flat-file databases.
  C. Relational databases organize data into tables with rows and columns, with the ability to establish relationships between tables, unlike flat-file databases which typically consist of a single table.
  D. Flat-file databases require structured query language (SQL) for data manipulation, whereas relational databases do not.

Correct answers:

Your Score: 0