• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 24 pages
Exam (elaborations)

BSIT 2 – Database Management Systems 7

Document preview thumbnail
Preview 3 out of 24 pages

BSIT 2 – Database Management Systems 7

Content preview

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.

Document information

Uploaded on
March 17, 2025
Number of pages
24
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$10.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
douglasmugwe82
5.0
(1)
Sold
2
Followers
0
Items
4215
Last sold
1 year ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions