• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 3 fuera de 24 páginas
Examen

BSIT 2 – Database Management Systems 7

Document preview thumbnail
Vista previa 3 fuera de 24 páginas

BSIT 2 – Database Management Systems 7

Vista previa del contenido

1. What type of relationship is represented by a many-to-many relationship in a relational

database?

A. Direct relationship between two tables

B. Indirect relationship through a junction table

C. Single relationship with multiple values

D. No relationship exists

Answer: B) Indirect relationship through a junction table

Rationale: A many-to-many relationship is usually implemented by creating a junction table that

contains foreign keys referencing the related tables.




2. Which of the following is an example of a relational DBMS?

A. MongoDB

B. MySQL

C. Cassandra

D. Redis

Answer: B) MySQL

Rationale: MySQL is a relational DBMS, which uses tables to store data and supports SQL for

querying.

,3. What is an index in a database?

A. A data structure that improves query performance

B. A field used to uniquely identify records

C. A type of foreign key

D. A method for sorting data

Answer: A) A data structure that improves query performance

Rationale: An index is used to speed up the retrieval of rows from a table by providing a fast

lookup for certain columns.




4. In SQL, which command is used to remove a table from a database?

A. DELETE

B. DROP

C. REMOVE

D. TRUNCATE

Answer: B) DROP

Rationale: The DROP command is used to delete a table and its structure from a database.




5. Which SQL command is used to update data in a table?

A. INSERT

B. UPDATE

C. DELETE

, D. SELECT

Answer: B) UPDATE

Rationale: The UPDATE command is used to modify existing records in a table.




6. What does ACID stand for in database systems?

A. Atomicity, Consistency, Isolation, Durability

B. Accuracy, Consistency, Integrity, Durability

C. Analysis, Consistency, Isolation, Durability

D. Atomicity, Consistency, Integrity, Durability

Answer: A) Atomicity, Consistency, Isolation, Durability

Rationale: ACID is a set of properties that guarantee database transactions are processed reliably.




7. Which SQL command is used to delete all rows from a table without removing the table

structure?

A. DROP

B. DELETE

C. REMOVE

D. TRUNCATE

Answer: D) TRUNCATE

Rationale: TRUNCATE removes all rows from a table but leaves the table structure intact.

Información del documento

Subido en
17 de marzo de 2025
Número de páginas
24
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$10.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
douglasmugwe82
5.0
(1)
Vendido
2
Seguidores
0
Artículos
4215
Última venta
1 año hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes