wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

datbase 5

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

ما انواع

sql joins ?

a)

JOIN ALL

b)

INNER SELECTINNER JOIN, LEFT JOIN, RIGHT JOIN, FULL JOIN, CROSS JOIN, SELF JOIN

c)

OUTER JOIN

2.

ما اهمية الفهرسة

indexing

في قاعدة البيانات ؟

a)


Indexing in SQL is used to create backups of databases.

b)


Indexing in SQL is a technique to enhance data retrieval speed, providing benefits like faster queries and reduced I/O operations.

c)

Indexing in SQL is a method to delete data quickly

d)

Indexing in SQL is a technique to encrypt sensitive data.

3.

How do stored procedures enhance database performance?

a)

Stored procedures eliminate the need for indexing

b)


Stored procedures require more manual coding.

c)


Stored procedures increase network latency.

d)


Stored procedures reduce network traffic, allow pre-compilation, and optimize query execution.

4.

List common data types used in SQL

a)

NCHAR, JSON, SET

b)


CHAR, TIME, BLOB

c)

INTEGER, VARCHAR, DATE, BOOLEAN, FLOAT, TEXT, TIMESTAMP

d)

DECIMAL, CLOB, XML

5.

Explain the ACID properties of transactions.

a)

Atomicity, Consistency, Isolation, Reliability

b)

Accuracy, Consistency, Isolation, Durability

c)


Atomicity, Consistency, Integrity, Durability

d)


ACID properties: Atomicity, Consistency, Isolation, Durability.

6.

What is a rollback in transaction management?

a)


A rollback is a process that undoes changes made in a transaction to maintain data integrity.

b)

A rollback is a technique used to speed up transaction processing.

c)


A rollback is a process that creates a new transaction without affecting existing data.

d)


A rollback is a method to permanently save changes in a transaction.

7.

What is the difference between a unique key and a primary key?

a)


Both primary key and unique key can have multiple null values but serve different purposes.

b)

A primary key can have multiple null values, while a unique key cannot.

c)


A primary key cannot be null and uniquely identifies records, while a unique key can allow one null value and

d)

A unique key is used for foreign key relationships, while a primary key is not.

8.

ماذا تقصد بالعلاقات من واحد إلى العديد؟

one to many

a)
  1. قد يكون لدى العديد من المعلمين العديد من الفصول الدراسية

b)
  1. قد يكون لدى العديد من الفصول العديد من المعلمين

c)
  1. يمكن لمعلم واحد أن يكون لديه العديد من الفصول الدراسية

d)
  1. قد يكون للفصل الواحد العديد من المعلمين

9.

مجموعة ضخمة من المعلومات أو البيانات المتراكمة من عدة مصادر مختلفة تُعرف باسم

________:

a)
  1. مستودع البيانات

  2. datawarehouse

b)
  1. استخراج البيانات

c)
  1. إدارة البيانات

10.

In which of the following formats data is stored in the database management system?

a)

Table

b)

Graph

c)

Text

d)

Image