U2. Embedded DB & Console Access

U2. Embedded DB & Console Access

University

15 Qs

quiz-placeholder

Similar activities

Advanced Database Systems - Prelim Quiz

Advanced Database Systems - Prelim Quiz

University

15 Qs

SQL

SQL

University

20 Qs

Sistem Basis Data Minggu 2

Sistem Basis Data Minggu 2

University

12 Qs

U3.1. Connections (JDBC)

U3.1. Connections (JDBC)

University

18 Qs

Android SQLite & Permissions

Android SQLite & Permissions

University

10 Qs

MySQL Python Connectivity

MySQL Python Connectivity

12th Grade - University

10 Qs

 Executing SQL Commands With Python

Executing SQL Commands With Python

12th Grade - University

10 Qs

Administrasi Sistem Jaringan XII (Database Server)

Administrasi Sistem Jaringan XII (Database Server)

University

20 Qs

U2. Embedded DB & Console Access

U2. Embedded DB & Console Access

Assessment

Quiz

Computers

University

Easy

Created by

Héctor L

Used 21+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a primary characteristic of embedded databases?

They require a dedicated server to run.

They are stored in local files and run inside the application.

They can only be accessed through a graphical user interface.

They are not suitable for single-user applications.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not an example of an embedded database?

SQLite

Oracle

HSQLDB

Apache Derby

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used in SQLite to check if foreign key enforcement is enabled?

SELECT foreign_keys;

PRAGMA foreign_keys;

CHECK FOREIGN KEYS;

SHOW KEYS;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In relational databases, what is the purpose of a foreign key?

To uniquely identify each row in a table.

To create a relationship between tables.

To prevent duplicate values in a column.

To index a table for faster searching.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following SQL command do in SQLite?

INSERT INTO departamentos VALUES (1, 'SOFTWARE', 'VALENCIA');

Creates a new table called departamentos.

Adds a new record to the departamentos table.

Updates the departamentos table with new columns.

Deletes a record from the departamentos table.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a disadvantage of embedded databases?

High resource consumption.

Limited portability across systems.

Limited or single-user access.

Incompatibility with SQL-92 standards.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command in the SQLite console opens an existing database file?

.connect <path>

.use <db_name>

.open <path>

.load <db_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?