Search Header Logo

SQL Quiz 4

Authored by Zhannat Akylbek

Computers

University

SQL  Quiz 4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

42 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the Normal Form by the table description: Schedule (sch_id (PK), teacher_id, subject_id, time)

<3 NF>

<0 NF>

<1 NF>

<2 NF>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the Normal Form by the table description: Departments (department_id (PK), name, teacher_lastnames)

<0 NF>

<1 NF>

<2 NF>

<3 NF>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the Normal Form by the table description: Groups (group_id (PK), group_name, student_lastnames)

<0 NF>

<1 NF>

<2 NF>

<3 NF>

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Third normal form is based on the concept of ...

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which normal form is considered "good" for relational database design?

<3NF>

<0NF>

<1NF>

<2NF>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Complete the code to create the table Teachers (teach_id (PK), last_name, depart_id (FK)): CREATE TABLE Teachers( teach_id int PRIMARY KEY, last_name varchar(20), depart_id int, ________________ (depart_id) REFERENCES Departments(depart_id));

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Complete the code to create the table Departments (dep_id (PK), dep_name): CREATE TABLE Departments( dep_id int ___________ , dep_name varchar(15));