wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

DBMS_Quiz_1

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Which of the following is NOT a component of a DBMS?

a)

Database Engine

b)

Query Processor

c)

Spreadsheet Manager

d)

Transaction Manager

2.

The three-tier architecture of DBMS consists of which layers?

a)

User, Network, Database

b)

External, Conceptual, Internal

c)

Physical, Logical, Virtual

d)

Application, Data, Network

3.

What is Data Independence in DBMS?

a)

The ability to access data from multiple databases

b)

The ability to store data in multiple locations

c)

The ability to change the schema at one level without changing the schema at the next higher level

d)

The ability to perform transactions independently

4.

Which of the following represents the overall design of the database?


a)

Instance

b)

Table

c)

View

d)

Schema

5.

What is the main purpose of data modeling?

a)

To visualize database structure before implementation

b)

To improve network connectivity

c)

To speed up computations

d)

To provide cloud storage

6.

In the E-R model, a weak entity is identified by which attribute?

a)

Primary Key

b)

Composite Key

c)

Foreign Key

d)

Partial Key

7.

What is a foreign key in a relational model?

a)

A key that uniquely identifies an entity

b)

A key that refers to the primary key of another table

c)

A key that is never null

d)

A key used only in a single table

8.

Which SQL category is used to define the structure of a database?




a)

DML

b)

DDL

c)

DCL

d)

TCL

9.

Which of the following is a Data Definition Language (DDL) command?

a)

SELECT

b)

UPDATE

c)

CREATE

d)

INSERT

10.

The SQL command used to delete all records from a table without removing its structure is:

a)

DELETE

b)

DROP

c)

TRUNCATE

d)

REMOVE

11.

Which SQL constraint ensures that all values in a column are different?

a)

CHECK

b)

UNIQUE

c)

NOT NULL

d)

FOREIGN KEY

12.

The SQL keyword used to filter records based on a specific condition is:

a)

WHERE

b)

ORDER BY

c)

GROUP BY

d)

HAVING

13.

Which SQL query will create a table named "Students" with columns "ID" (integer, primary key) and "Name" (VARCHAR of 50 characters)?


a)

CREATE TABLE Students (ID INT, Name VARCHAR(50));

b)

CREATE Students (ID INT PRIMARY KEY, Name VARCHAR(50));

c)

CREATE TABLE Students (ID INT PRIMARY KEY, Name VARCHAR(50));

d)

MAKE TABLE Students (ID INT PRIMARY KEY, Name VARCHAR(50));

14.

Which SQL query will remove a table from the database permanently?

a)

DELETE TABLE Employees;

b)

DROP Employees;

c)

TRUNCATE TABLE Employees;

d)

DROP TABLE Employees;

15.

How do you filter results to show employees whose salary is greater than 50,000?

a)

SELECT * FROM Employees WHERE Salary > 50000;

b)

FILTER Employees WHERE Salary > 50000;

c)

SHOW Employees WHERE Salary > 50000;

d)

GET Employees WHERE Salary > 50000;