Database

Database

9th - 12th Grade

64 Qs

quiz-placeholder

Similar activities

Cuestionario de Diseño de Bases de Datos

Cuestionario de Diseño de Bases de Datos

12th Grade

60 Qs

REVISION YEAR 9

REVISION YEAR 9

9th - 12th Grade

69 Qs

XII TKJ UAS ASJ

XII TKJ UAS ASJ

12th Grade

60 Qs

Evaluación teórica Base de Datos 7ºU 2025

Evaluación teórica Base de Datos 7ºU 2025

12th Grade - University

60 Qs

REMEDIAL XIMM PEMROGRAMAN WEB

REMEDIAL XIMM PEMROGRAMAN WEB

11th Grade

60 Qs

CBT

CBT

11th - 12th Grade

60 Qs

CBT Practice Questions - Set 5

CBT Practice Questions - Set 5

12th Grade

60 Qs

CP-JAVA 4th QUARTER

CP-JAVA 4th QUARTER

12th Grade

60 Qs

Database

Database

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

AKA ThaScientist

Used 4+ times

FREE Resource

64 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

SQL Categories:The Data Manipulation Language (DML) is NOT all about the rows in the table

True

False

...

...

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Create Table:Which of the following are typically found on a separate line (or separated by a comma) when creating the table

Note: Multiple answers may apply

The 3-part column definition

A table constraint for the Primary Key

A column "constraint" like Identity or Default

A table constraint for the Foreign Key

3.

OPEN ENDED QUESTION

3 mins • 1 pt

Drop vs. Truncate:

When used on a table, what's the difference between the Drop and Truncate statements

Evaluate responses using AI:

OFF

Answer explanation

Truncate removes data but keeps structure. Drop removes data and selected structure.

4.

OPEN ENDED QUESTION

3 mins • 1 pt

Create Table:

Create an SQL statement that will create the table from this following relational notation

Note: Include the 3-part column notation and PK

Inventory (PartNumber, Description)

Evaluate responses using AI:

OFF

Answer explanation

create table Inventory (

 PartNumber int not null,

 Description nvarchar(50) not null,

 Constraint InventoryPK Primary Key(PartNumber),

)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identity:

The "Identity" keyword is used to designate that this column is a Primary Key

True

False

k

k

6.

OPEN ENDED QUESTION

3 mins • 1 pt

Constraint Actions:

Consider an scenario where the FK constraint is using the "No Action" option. Describe what happens if you attempt to insert data into a child table without having a matching column in the parent

Evaluate responses using AI:

OFF

Answer explanation

Error message, this is not allowed as there is nothing to refer to. Fail.

7.

OPEN ENDED QUESTION

3 mins • 1 pt

Cascade:

Consider a typical 1:M relationship with a foreign key constraint that has "on delete cascade". Describe what happens if you delete a row on the "1" side that has matching rows on the "M" side

Evaluate responses using AI:

OFF

Answer explanation

Line the parent up and all the kids. 

Fire Away!!! LOL

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?