12B Exit Slip 1

12B Exit Slip 1

12th Grade

9 Qs

quiz-placeholder

Similar activities

Test - clasa a XII-a

Test - clasa a XII-a

12th Grade

6 Qs

SQL PRETEST OPERATORS

SQL PRETEST OPERATORS

11th Grade - University

5 Qs

SQL 4.grade

SQL 4.grade

12th Grade

10 Qs

Understanding Joins in Databases

Understanding Joins in Databases

12th Grade

10 Qs

Quiz 2, XII PPLG

Quiz 2, XII PPLG

12th Grade

10 Qs

DDL,DML,DCL

DDL,DML,DCL

12th Grade

10 Qs

Databases - 1.2 Primary Key

Databases - 1.2 Primary Key

11th Grade - University

7 Qs

quiziz PDO

quiziz PDO

12th Grade

12 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