Fundamentos teóricos de base de datos Flashcards

introduccion a bases de datos, sistema de gestios de bases de datos , modelo de datos, arquitectura de un sistema de bases de datos , independencia de datos y abstraccion

1
Q

What is a database?

A

A database is an organized collection of structured information or data, typically stored electronically in a computer system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False: A relational database uses tables to represent data and relationships.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Fill in the blank: The __________ model is the most widely used database model.

A

relational

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is SQL?

A

SQL stands for Structured Query Language, a standard programming language used to manage and manipulate relational databases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does ACID stand for in database management?

A

Atomicity, Consistency, Isolation, Durability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Multiple Choice: Which of the following is NOT a type of database model? A) Hierarchical B) Network C) Object-oriented D) Sequential

A

D) Sequential

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is normalization in the context of databases?

A

Normalization is the process of organizing data to reduce redundancy and improve data integrity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

True or False: A primary key uniquely identifies each record in a database table.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a foreign key?

A

A foreign key is a field in one table that uniquely identifies a row of another table, establishing a relationship between the two tables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Fill in the blank: The __________ is the software that interacts with the database and allows users to perform operations.

A

Database Management System (DBMS)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a schema in a database?

A

A schema is the structure that defines the organization of data, including tables, fields, relationships, and constraints.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Multiple Choice: Which command is used to retrieve data from a database? A) INSERT B) UPDATE C) SELECT D) DELETE

A

C) SELECT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does the term ‘data integrity’ refer to?

A

Data integrity refers to the accuracy and consistency of data over its lifecycle.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

True or False: A database can only be accessed by one user at a time.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a transaction in database terms?

A

A transaction is a sequence of operations performed as a single logical unit of work.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Fill in the blank: The __________ property ensures that a transaction is completed fully or not at all.

A

atomicity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is denormalization?

A

Denormalization is the process of combining tables to reduce the complexity of database queries and improve read performance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Multiple Choice: Which of the following is a NoSQL database? A) MySQL B) Oracle C) MongoDB D) PostgreSQL

A

C) MongoDB

19
Q

What is a data model?

A

A data model is an abstract model that organizes data elements and their relationships.

20
Q

True or False: Indexes are used to speed up the retrieval of records from a database.

21
Q

What is the purpose of a database index?

A

A database index improves the speed of data retrieval operations on a database table.

22
Q

Fill in the blank: __________ is a method of improving database performance by storing frequently accessed data in memory.

23
Q

What is a view in a database?

A

A view is a virtual table that is based on the result of a query, allowing users to access data in a specific format.

24
Q

Multiple Choice: Which of the following is NOT a feature of a DBMS? A) Data storage B) Data manipulation C) Data analysis D) Data encryption

A

D) Data encryption

25
What is the difference between a clustered and a non-clustered index?
A clustered index determines the physical order of data in a table, while a non-clustered index is a separate structure that points to the data.
26
True or False: A database can be both centralized and distributed.
True
27
What is a stored procedure?
A stored procedure is a set of SQL statements that can be stored and executed in the database.
28
Fill in the blank: The __________ is the main programming language used for managing relational databases.
SQL
29
What is data redundancy?
Data redundancy occurs when the same piece of data is stored in multiple places unnecessarily.
30
Multiple Choice: Which of the following is an advantage of using a database? A) Data isolation B) Improved data sharing C) Increased data redundancy D) Data inconsistency
B) Improved data sharing
31
What is a data warehouse?
A data warehouse is a centralized repository for storing large amounts of data from multiple sources for analysis and reporting.
32
True or False: Data mining is the process of discovering patterns and knowledge from large amounts of data.
True
33
What is the purpose of a backup in database management?
A backup is used to create a copy of the database to prevent data loss in case of a failure.
34
Fill in the blank: The __________ model is used to represent data as objects which can have attributes and methods.
object-oriented
35
What is data modeling?
Data modeling is the process of creating a data model to visually represent the data and its relationships.
36
Multiple Choice: In which type of database is data stored in key-value pairs? A) Relational B) Document-based C) Key-value D) Graph
C) Key-value
37
True or False: Referential integrity ensures that relationships between tables remain consistent.
True
38
What is a data dictionary?
A data dictionary is a metadata repository that contains information about the data in the database.
39
Fill in the blank: A __________ is a graphical representation of the structure of a database, showing tables and relationships.
schema diagram
40
What is the purpose of data normalization?
The purpose of data normalization is to minimize redundancy and dependency by organizing fields and table relationships.
41
Multiple Choice: Which of the following is a characteristic of NoSQL databases? A) Fixed schema B) High scalability C) SQL-based D) Strict ACID compliance
B) High scalability
42
True or False: A database can be accessed via a web interface.
True
43
What is a transaction log?
A transaction log is a record of all transactions that have been performed on a database, used for recovery and auditing.
44
Fill in the blank: __________ is the process of analyzing data to extract useful information.
Data analysis