UTS Basis Data II - ITM

UTS Basis Data II - ITM

University

15 Qs

quiz-placeholder

Similar activities

OOP-QUIZ FINALS

OOP-QUIZ FINALS

University

14 Qs

SYS 1591

SYS 1591

University

10 Qs

BASIS DATA -  Modul 05

BASIS DATA - Modul 05

University

20 Qs

SQL

SQL

University

18 Qs

PWD UAS

PWD UAS

University

20 Qs

DBMS Lab-Model Exam-Viva

DBMS Lab-Model Exam-Viva

University

10 Qs

RDBMS-SQL

RDBMS-SQL

University

10 Qs

Base de Datos MySQL: Puntos Extra 4

Base de Datos MySQL: Puntos Extra 4

University

11 Qs

UTS Basis Data II - ITM

UTS Basis Data II - ITM

Assessment

Quiz

Computers

University

Hard

Created by

Imam Thoib

Used 4+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a MySQL view?

A MySQL view is a physical table in the database.

A MySQL view is a virtual table based on the result of a query.

A MySQL view is a stored procedure in the database.

A MySQL view is a backup of a table in the database.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a MySQL view?

CREATE VIEW AS SELECT statement

CREATE VIEW view_name AS SELECT statement

CREATE VIEW view_name SELECT statement

CREATE VIEW view_name FROM table_name

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the advantages of using MySQL views?

Using MySQL views decreases performance

MySQL views have no advantages

MySQL views can only be used for simple queries

The advantages of using MySQL views are: simplifying complex queries, data security, data abstraction, improved performance, and code reusability.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a MySQL transaction?

A MySQL transaction is a type of database table.

A MySQL transaction is a way to store data in memory.

A MySQL transaction is a function that performs calculations on data.

A MySQL transaction is a sequence of SQL statements that are treated as a single unit of work.

5.

OPEN ENDED QUESTION

3 mins • 1 pt

How do you start a MySQL transaction?

Evaluate responses using AI:

OFF

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is table lock in MySQL?

A table lock in MySQL is a lock placed on a column to prevent other transactions from modifying or accessing the column while the lock is held.

A table lock in MySQL is a lock placed on a database to prevent other transactions from modifying or accessing the database while the lock is held.

A table lock in MySQL is a lock placed on a table to prevent other transactions from modifying or accessing the table while the lock is held.

A table lock in MySQL is a lock placed on a table to allow other transactions to modify or access the table while the lock is held.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you lock a table in MySQL?

LOCK TABLES table_name [READ | WRITE];

LOCK table_name;

LOCK TABLES table_name;

LOCK TABLE table_name;

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?