Skip to main content

← back to the guide

SQA Higher Computing Science Database Design and Development overview quiz quiz

16questions. Pick an answer and you'll see why right away.

  1. In a relational database, what does an entity become in the finished design?

  2. What is the cardinality when one customer can place many orders, but each order is placed by exactly one customer?

  3. How is a many-to-many relationship handled in a relational database design?

  4. What uniquely identifies each record within its own table?

  5. What does entity integrity require?

  6. What does referential integrity require of a foreign-key value?

  7. Which validation check limits a field to an allowed set of values, such as S1 to S6?

  8. In SQL, how do you join two tables at Higher?

  9. What does the SQL pattern WHERE name LIKE 'B%' match?

  10. Which aggregate function returns the average of a numeric column?

  11. What is the purpose of GROUP BY when used with an aggregate function?

  12. Which SQL operation adds a brand-new record to a table?

  13. What happens if an UPDATE statement is run without a WHERE clause?

  14. A computed value such as price * quantity AS lineTotal in a SELECT does what?

  15. Why might the database block deleting a customer who still has orders?

  16. What does a data dictionary document about a database?