wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Quản trị CSDL

Total questions: 36

Worksheet time: 18mins

Name
Class
Date
1.

What is the main benefit of database management on computers?

a)

Increase data processing speed and reduce errors

b)

Reduce hardware requirements

c)

No need for management personnel

d)

Increase management costs

2.

In database management systems, which function helps ensure data consistency?

a)

Data integrity

b)

User permission

c)

High availability

d)

Data security

3.

Why is MySQL popular in database management?

a)

Because it is inexpensive

b)

Because it is open-source and free software

c)

Because it only supports small systems

d)

Because it does not require strong hardware

4.

Which function of the database management system helps protect data from unauthorized access?

a)

Data integrity

b)

User permission

c)

Data consistency

d)

Data storage

5.

What is HeidiSQL used for in database management?

a)

Manage the graphical interface for MySQL

b)

Run applications outside the system

c)

Increase MySQL processing speed

d)

Manage computer memory

6.

One of the benefits of using a database management system is what?

a)

Data is stored directly on paper

b)

Data can be retrieved and edited quickly

c)

Limit access rights of all users

d)

No need to check data

7.

In which cases is the MySQL database management system primarily used?

a)

Only for small systems

b)

Large database systems and Internet applications

c)

Systems that do not require high security

d)

Systems without network connectivity

8.

What is a special feature of HeidiSQL?

a)

Only supports MySQL

b)

Supports multiple languages, including Vietnamese

c)

Does not support Internet connection

d)

Only available on Windows operating system

9.

What is the benefit of database management systems in the banking sector?

a)

Reduce manpower

b)

Increase transaction processing time

c)

Ensure transaction accuracy

10.

What are the benefits of database management systems in banking?

a)

Minimize labor

b)

Increase transaction processing time

c)

Ensure accurate and fast transactions

d)

Limit automation capabilities

11.

Why is it necessary to enter a password when accessing MySQL with root privileges?

a)

To protect data from unauthorized access

b)

To limit access time

c)

To enhance processing speed

d)

To control network access

12.

What should be done to search for a song by composer Van Cao in the 'bannhac' table?

a)

Filter by the 'idBannhac' field

b)

Retrieve in descending order of song name

c)

Filter data by the 'idNhacsi' field corresponding to composer Van Cao

d)

Cannot search

13.

What should a user do to modify data in the 'bannhac' table?

a)

Delete old data and re-enter new data

b)

Double-click on the data cell to edit and enter new data

c)

Use SQL command to update data

d)

Delete the table and recreate it

14.

What is the 'idNhacsi' field in the 'bannhac' table called?

a)

Primary key field

b)

Foreign key field

c)

Normal field

d)

Field with no special features

15.

How is the selection of a composer performed when adding new data to the 'bannhac' table?

a)

Directly enter the composer's name into the 'idNhacsi' field

b)

Select the composer from the list linked to the 'nhacsi' table

c)

Create a new composer before entering data

d)

No need to select a composer, just enter the song name

16.

What is the default character set used when creating a new database in MySQL?

a)

ASCII

b)

utf8mb3

c)

Unicode 2 byte

d)

utf8mb4

17.

What is the data type of 'idNhacsi' when creating the 'nhacsi' table with columns 'idNhacsi' and 'tenNhacsi'?

a)

VARCHAR

b)

INT

c)

TEXT

d)

FLOAT

18.

What is the data type of 'idNhacsi' in the table 'nhacsi'?

a)

VARCHAR

b)

INT

c)

TEXT

d)

FLOAT

19.

Which option should be selected to make 'idNhacsi' auto-increment?

a)

AUTO_INCREMENT

b)

UNSIGNED

c)

NOT NULL

d)

DEFAULT

20.

What action must be taken to set 'idNhacsi' as the primary key?

a)

Select AUTO_INCREMENT

b)

Select PRIMARY in Create new index

c)

Select foreign key

d)

Select VARCHAR

21.

What is the final step to save the table after declaring it?

a)

Close the table creation window

b)

Press the Save button

c)

Select Export

d)

Select Commit

22.

Which data type is suitable for storing the name of the musician in 'tenNhacsi'?

a)

INT

b)

VARCHAR

c)

FLOAT

d)

DATE

23.

What is the maximum length commonly used when declaring 'tenNhacsi'?

a)

50

b)

100

c)

255

d)

500

24.

Which shortcut can be used to add a new column to the 'nhacsi' table?

a)

Ctrl+S

b)

Ctrl+C

c)

Ctrl+Insert

d)

Ctrl+Delete

25.

Which option should be selected to ensure 'idNhacsi' does not accept NULL values?

a)

AUTO_INCREMENT

b)

UNSIGNED

c)

NOT NULL

d)

DEFAULT

26.

In the table structure 'banthuam(idBanthuam, idBannhac, idCasi)', which column is chosen as the primary key?

a)

idBanthuam

b)

idBannhac

c)

idCasi

d)

tenBannhac

27.

Why is it necessary to separate the table 'casi(idCasi, tenCasi)' instead of storing 'tenCasi' directly in 'banthuam'?

a)

To reduce storage space and avoid data duplication

b)

To store more singers

c)

To query faster

d)

To manage complex music records better

28.

In the table structure 'bannhac(idBannhac, tenBannhac, idNhacsi)', what is 'idNhacsi'?

a)

Primary key

b)

Foreign key

c)

Duplicate key

d)

Just a field

29.

In the table structure bannhac(idBannhac, tenBannhac, idNhacsi), what is the idNhacsi column?

a)

Primary key

b)

Foreign key

c)

Unique key

d)

Not necessary

30.

When needing to manage additional information about the birth date of singers in the database, how should it be changed?

a)

Add a column ngaysinh to the banthuam table

b)

Add a column ngaysinh to the casi table

c)

Create a new table to store birth date information

d)

No need to change

31.

If you want to manage additional information about the birthplace of musicians, how should the database be changed?

a)

Add a column noisinh to the nhacsi table

b)

Add a column noisinh to the bannhac table

c)

Create a new table to store birthplace information

d)

No need to change

32.

Which column in the banthuam table(idBanthuam, idBannhac, idCasi) is a foreign key?

a)

idBanthuam

b)

idBannhac and idCasi

c)

tenBannhac

d)

tenCasi

33.

Why is it necessary to have a foreign key in a relational database?

a)

To reduce data duplication

b)

To create relationships between tables

c)

To make queries faster

d)

To manage more data

34.

In the nhacsi table(idNhacsi, tenNhacsi), what role does idNhacsi play?

a)

Primary key

b)

Foreign key

c)

Unique key

d)

Not necessary

35.

Which column cannot have duplicate values in the bannhac table(idBannhac, tenBannhac, idNhacsi)?

a)

idBannhac and idNhacsi

b)

tenBannhac and idNhacsi

c)

idBannhac and tenBannhac

d)

idNhacsi and tenNhacsi

36.

What is the benefit of using the AUTO_INCREMENT data type for primary key fields?

a)

Automatically increase value when adding new records

b)

Ensure unique value for each record

c)

Help query data faster

d)

Both A and B