12B Exit Slip 1

12B Exit Slip 1

12th Grade

9 Qs

quiz-placeholder

Similar activities

Use of Statistics in Data Science

Use of Statistics in Data Science

10th Grade - University

10 Qs

Teste de SQL: Tabelas e Inserções

Teste de SQL: Tabelas e Inserções

10th Grade - University

14 Qs

Test - clasa a XII-a

Test - clasa a XII-a

12th Grade

6 Qs

Test

Test

12th Grade - University

8 Qs

BÀI 21. CẬP NHẬT VÀ TRUY XUẤT DỮ LIỆU CÁC BẢNG

BÀI 21. CẬP NHẬT VÀ TRUY XUẤT DỮ LIỆU CÁC BẢNG

12th Grade

10 Qs

Front-End 1: HTML, CSS e Javascript

Front-End 1: HTML, CSS e Javascript

12th Grade

11 Qs

MID26022025

MID26022025

12th Grade

10 Qs

Veri Tabanı Yönetim Sistemleri

Veri Tabanı Yönetim Sistemleri

12th Grade - University

10 Qs

12B Exit Slip 1

12B Exit Slip 1

Assessment

Quiz

Information Technology (IT)

12th Grade

Hard

Created by

Dina Sharawy

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does an ERD (Entity-Relationship Diagram) represent?

Database queries

Relationships between entities in a database

Table formatting in SQL

The physical structure of a database

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL statement is used to create a new table in SQLite?

CREATE TABLE

NEW TABLE

ADD TABLE

MAKE TABLE

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In an ERD, what symbol represents a many-to-many relationship?

1:1

1:M

M:N

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is NOT valid in SQLite?

INTEGER

VARCHAR(255)

BOOLEAN

DATE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the PRIMARY KEY constraint do in SQLite?

Ensures unique values in a column

Prevents NULL values

Links two tables together

Limits the size of the column

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to insert a new record into a table called students with columns (id, name, age)?

INSERT students VALUES (1, 'Alice', 20);

INSERT INTO students (id, name, age) VALUES (1, 'Alice', 20);

ADD INTO students VALUES (1, 'Alice', 20);

INSERT DATA INTO students (id, name, age) VALUES (1, 'Alice', 20);

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL command ensures that a column cannot contain duplicate values?

NOT NULL

UNIQUE

CHECK

INDEX

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the FOREIGN KEY constraint in SQLite?

To ensure values in a column are unique

To prevent NULL values

To establish a relationship between two tables

To define a table’s primary key

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct SQL command to define a primary key when creating a table?

PRIMARY_KEY

DEFINE PRIMARY

PRIMARY KEY

SET PRIMARY

Discover more resources for Information Technology (IT)