wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Database Systems and Integration Assessment

Total questions: 21

Worksheet time: 15mins

Name
Class
Date
1.

What does SQL stand for?

a)

Simple Query Language

b)

Structured Query List

c)

Structured Query Language

d)

Standard Query Language

2.

Explain the purpose of a primary key in a database.

a)

The purpose of a primary key in a database is to uniquely identify each record in a table.

b)

To group related records together in a table.

c)

To store large amounts of data efficiently.

d)

To define the data type of each column in a table.

3.

What is the difference between INNER JOIN and LEFT JOIN in SQL?

a)

INNER JOIN returns matching rows from both tables; LEFT JOIN returns all rows from the left table and matched rows from the right table.

b)

INNER JOIN returns all rows from both tables; LEFT JOIN returns only unmatched rows from the left table.

c)

INNER JOIN includes all rows from the right table; LEFT JOIN excludes unmatched rows from the left table.

d)

INNER JOIN returns all rows from the left table; LEFT JOIN returns only matching rows from both tables.

4.

Define normalization in the context of databases.

a)

Normalization is the technique of merging all data into a single table.

b)

Normalization is the process of organizing data in a database to minimize redundancy and dependency.

c)

Normalization is the process of increasing data redundancy in a database.

d)

Normalization refers to the method of encrypting data in a database.

5.

What is the purpose of the SELECT statement in SQL?

a)

To delete data from a database.

b)

To create new tables in a database.

c)

To update existing records in a database.

d)

To retrieve data from a database.

6.

List three common data types used in MySQL.

a)

TEXT

b)

INT, VARCHAR, DATE

c)

BOOLEAN

d)

FLOAT

7.

What does CRUD stand for in database operations?

a)

Create, Read, Update, Delete

b)

Construct, Read, Update, Delete

c)

Create, Retrieve, Update, Remove

d)

Create, Read, Alter, Destroy

8.

How do you connect to a MySQL database using Python?

a)

Connect using 'mysql.connect()' with parameters.

b)

Use 'connect_to_mysql()' with host and user details.

c)

Use 'mysql.connector.connect(host='hostname', user='username', password='password', database='dbname')' to connect.

d)

Use 'db.connect()' to establish a connection.

9.

What is the function of the WHERE clause in SQL?

a)

The WHERE clause filters records based on specified conditions.

b)

The WHERE clause defines the structure of a database table.

c)

The WHERE clause sorts records in ascending order.

d)

The WHERE clause groups records by specified fields.

10.

Explain the concept of foreign keys in relational databases.

a)

Foreign keys are used to store large amounts of data in a single table.

b)

Foreign keys are used to link two tables together in a relational database, ensuring data integrity and establishing relationships.

c)

Foreign keys are a type of data type used in SQL queries.

d)

Foreign keys are primarily used for indexing data in a database.

11.

What is the significance of indexing in databases?

a)

Indexing significantly enhances query performance and data retrieval speed in databases.

b)

Indexing is only useful for large databases.

c)

Indexing complicates data management.

d)

Indexing reduces the size of the database.

12.

Describe the role of the I2C protocol in sensor interfacing.

a)

The I2C protocol enables efficient communication and control of multiple sensors using a two-wire interface.

b)

I2C protocol requires four wires for sensor connections.

c)

I2C protocol is primarily designed for video data transmission.

d)

I2C protocol is used for wireless communication between sensors.

13.

What is a graphical user interface (GUI)?

a)

A GUI is a type of hardware used for computer networking.

b)

A graphical user interface (GUI) is a visual interface that allows users to interact with a computer using graphical elements.

c)

A GUI is a command-line interface that requires text input.

d)

A GUI is a programming language used to create software applications.

14.

List two advantages of using SQLite over MySQL.

a)

Requires a dedicated server for operation.

b)

Supports complex queries better than SQLite.

c)

1. Serverless architecture, requiring no setup or management. 2. Database stored in a single file, enhancing portability and backup.

d)

Automatically scales with increased data volume.

15.

What is the purpose of the INSERT statement in SQL?

a)

To delete existing records from a database table.

b)

To update existing records in a database table.

c)

To retrieve data from a database table.

d)

To add new records to a database table.

16.

Explain the difference between structured and unstructured data.

a)

Structured data is always in text format, while unstructured data is numeric.

b)

Structured data is organized and easily searchable, while unstructured data is unorganized and complex to analyze.

c)

Unstructured data is easier to manage than structured data.

d)

Structured data cannot be analyzed using software tools.

17.

What is the TIG framework in user interface design?

a)

The TIG framework is a user interface design approach that emphasizes Task, Information, and Goal.

b)

The TIG framework is a method for testing user interfaces.

c)

The TIG framework is a programming language for UI development.

d)

The TIG framework focuses solely on visual aesthetics.

18.

How can real-time data be integrated into a web interface?

a)

Use HTML forms to submit data

b)

Use WebSockets, AJAX, or server-sent events to integrate real-time data into a web interface.

c)

Integrate static JSON files

d)

Utilize CSS animations for data display

19.

What is the purpose of the UPDATE statement in SQL?

a)

To delete records from a table.

b)

To modify existing records in a table.

c)

To retrieve data from a table.

d)

To create new tables in a database.

20.

Describe the importance of user experience in interface design.

a)

User experience is vital in interface design as it enhances usability, satisfaction, and user retention.

b)

User experience is solely about the technical performance of the interface.

c)

User experience only affects the aesthetic appeal of an interface.

d)

User experience is irrelevant to interface design.

21.

Register Number

(a)