Timedora
Free Practice Quiz Question List

Relational Database Fundamentals Online Quiz Questions

Use this free practice quiz with 10 questions to review Relational Database Fundamentals, test your knowledge, and prepare for your next test or exam.

10 questions
01
Choose one
1 point

In a relational database table, what does a row represent, and what does a column represent?

  1. A

    A row represents an attribute, and a column represents a record.

  2. B

    A row represents a record, and a column represents an attribute.

  3. C

    A row represents a schema, and a column represents a table.

  4. D

    A row represents a key, and a column represents a relationship.

02
Choose one
1 point

What does a table’s schema describe?

  1. A

    Only the records stored in the table

  2. B

    The relationships between every database in a system

  3. C

    The table’s columns, keys, and rules

  4. D

    The order in which rows were inserted

03
Choose one
1 point

Which statement correctly describes a primary key?

  1. A

    A primary key uniquely identifies a row and can consist of one or multiple columns.

  2. B

    A primary key is always a single column containing text.

  3. C

    A primary key allows multiple rows to share the same identifying value.

  4. D

    A primary key stores a complete copy of a related table.

04
Choose one
1 point

One customer can have many orders. In this one-to-many relationship, where is the customer’s key stored as a foreign key?

  1. A

    The customers table stores a copy of every order as a primary key.

  2. B

    A separate junction table must store every customer–order pairing.

  3. C

    Each order stores a list of all customers that refer to it.

  4. D

    The orders table stores the customer’s key as a foreign key.

05
Choose one
1 point

An order can contain many products, and a product can appear in many orders. How can this many-to-many relationship be represented?

  1. A

    Store every product only as a column in the customers table.

  2. B

    Use a junction table with a row for each order–product pairing.

  3. C

    Put all order and product details into one primary-key column.

  4. D

    Create a one-to-one relationship between orders and products.

06
Choose one
1 point

What does referential integrity require for a non-null foreign-key reference?

  1. A

    Every foreign key must contain a different value from every primary key.

  2. B

    Every reference must be null whenever its table has a primary key.

  3. C

    A non-null foreign-key reference must match a key in the referenced table.

  4. D

    A foreign key must repeat all the columns of the referenced table.

07
Choose one
1 point

Why do keys help tables refer to one another?

  1. A

    They let tables refer to one another without repeating all their data.

  2. B

    They ensure every table has exactly the same columns.

  3. C

    They automatically combine all tables into a single table.

  4. D

    They prevent a database from storing multiple records.

08
Choose one
1 point

Which description defines a one-to-one relationship between tables?

  1. A

    Each row in one table must correspond to many rows in the other.

  2. B

    Many rows in each table must correspond to every row in the other.

  3. C

    Each row must correspond to exactly one row in the other table.

  4. D

    Each row in one table corresponds to at most one row in the other.

09
Choose one
1 point

How does the relational model organize data?

  1. A

    It organizes all data as a single ordered list without tables.

  2. B

    It organizes data into tables, also called relations.

  3. C

    It stores each record only as a relationship between columns.

  4. D

    It represents each entity as a single database rule.

10
Choose one
1 point

In the example order_items table, which columns together form the primary key?

  1. A

    quantity alone

  2. B

    product_id alone

  3. C

    The combination of order_id and product_id

  4. D

    order_date and quantity