Module quiz: Introduction to Databases

Module quiz: Introduction to Databases

  1. What is the most used database type in computing?

    • NoSQL Database

    • Relational Database

    • Flat File Database

  2. Which one of the following is an advantage of storing data in tables?

    • Tables let you store large amounts of data.

    • Tables provide a simple and clear view of data

    • Tables offer the ability to encrypt data.

  3. In a bookshop database, the complete information about one specific book is referred to as a ______________.

    • Table

    • Record

    • Column

  4. What makes SQL a very popular database language? Select all that apply.

    • SQL is a portable programming language.

    • SQL works with different relational database management systems.

    • SQL requires very little coding skills to use.

  5. Which SQL command is used to update data in a database table?

    • UPDATE command

    • MODIFY command

    • EDIT command

  6. Which of the following database management systems uses the SQL language? Select all that apply.

    • Oracle

    • MySQL

    • PostgreSQL

  7. What is the importance of a candidate key in a database?

    • A candidate key can be used to drop a table.

    • A candidate key can be used to uniquely identify rows in a table.

    • A candidate key can be used to encrypt data in a table.

  8. In the following student table, which attribute could be used as a primary key?

    | Student first name | Student last name | Mobile number | | --- | --- | --- | | Carl | Merlo | 07445532123 | | Mark | Nero | 07456532327 |

    • Student last name

    • Mobile number

    • Student first name

  9. 'CREATE TABLE student;' is the right syntax to create a student table in SQL.

    • False

    • True

  10. Choose the right syntax to create a club database in SQL. Select all correct answers.

    • create club database;

    • create database club;

    • CREATE DATABASE CLUB;

    • CREATE CLUB DATABASE;