U2. Embedded DB & Console Access

U2. Embedded DB & Console Access

University

15 Qs

quiz-placeholder

Similar activities

Examen de Programación Unidad 3

Examen de Programación Unidad 3

11th Grade - University

20 Qs

Workshop Agile CICD & Web Application Quiz

Workshop Agile CICD & Web Application Quiz

University

20 Qs

Quiz NO. 1

Quiz NO. 1

University

15 Qs

JDBC

JDBC

University

20 Qs

IntroToDatabases W2

IntroToDatabases W2

University

12 Qs

SQL Basics

SQL Basics

University

20 Qs

INTRODUCTION TO MYSQL

INTRODUCTION TO MYSQL

University

10 Qs

DATABASE

DATABASE

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?