Option A - Database (Paper 2) Flashcards
(46 cards)
What is the difference between data and information?
Data is meaningless; it must be interpreted to produce information.
What is the difference between an information system and a database?
A database is a structured collection of data (e.g., tables storing student records).
An information system is a broader system that uses databases along with people, hardware, software, and procedures to collect, process, store, and share information (e.g., a school management system).
Databases are a component within an information system.
Why are databases needed?
They enable benefits such as data sharing and maintaining correct information relating to customers and/or clients.
How do transactions maintain data consistency?
Transactions involve completing two operations to ensure consistency; if one fails, the transaction is rolled back.
Define the term database transaction.
A database transaction is a sequence of operations performed as a single logical unit of work.
What is concurrency in a data sharing situation?
Concurrency refers to the ability of multiple users to access and modify the database simultaneously.
What does ACID stand for in database transactions?
- Atomicity
- Consistency
- Isolation
- Durability
What are the two functions that databases require?
- Query functions
- Update functions
What is the role of data validation?
Data validation ensures that the data entered into the database meets certain criteria.
It makes sure that the data entered is in the appropriate range and/or type to
avoid obtaining incorrect results;
It is performed by the computer which detects if data entered is not in the
range/of the type which is defined (by the person who set up the database);
What is a database management system (DBMS)?
A DBMS is software that interacts with the database, allowing for creation, manipulation, and interrogation. Creates and stores the databse.
What is a relational database management system (RDBMS)?
An RDBMS is a type of DBMS that is based on the relational model. In rows and columns (table format)
What are the functions and tools of a DBMS?
They include management functions for creation, manipulation, and interrogation of a database.
How can a DBMS promote data security?
Through features like data validation, access rights, and data locking.
Access Rights Description: Passwords and PIN numbers limit the access to private information to
authorized users only;
Define the term schema.
A schema is the blueprint that defines the structure, organization, and relationships of data within a database, encompassing tables, columns, constraints, and relationships
What are the three levels of schema?
- Conceptual
- Logical
- Physical
What is a data dictionary?
A data dictionary is a centralized repository of information about data, including its meaning, relationships, and usage.
Why is a data definition language important?
It is crucial for implementing a data model by defining the structure of the database.
What is the importance of data modeling in database design?
Data modeling helps in structuring data and understanding the relationships between different data entities.
Define the following database terms: table, record, field.
- Table: equivalent to relation/file
- Record: equivalent to tuple/row
- Field: equivalent to attribute/column
What are the different types of relationships within databases?
- One-to-one
- One-to-many
- Many-to-many
What issues are caused by redundant data?
Redundant data can lead to integrity and reliability issues.
What is referential integrity?
Referential integrity ensures that relationships between tables remain consistent. Fosters reliability and integrity of the data.
What are the differences between 1st Normal Form (1NF) and 2nd Normal Form (2NF)
- 1NF: no repeating rows or columns
- 2NF: based on full functional dependency
What is Normalization? What are the characteristics of a normalized database?
Normalization is the process of organizing data in a database to reduce redundancy and improve data integrity. A normalized database reduces redundancy and dependency.