GoodScores

Business Data Management – Flashcards & Quiz Questions

How organisations model, store, query, protect and analyse business data using databases, SQL, data warehouses and data governance, including Malaysia's personal data law.

320 flashcards · 159 quiz questions · 8 topics

Get all 320 cards with Lifetime

1. Data, Information and Database Systems

Data, Information and the Data Hierarchy · Databases and Database Management Systems · File-Based Systems and Their Limitations · Metadata and the Data Dictionary · Three-Schema Architecture and Data Independence

What are data in business data management?
Data are raw, unprocessed facts such as numbers, words, measurements or symbols. On their own they carry no particular meaning and are not yet useful for making decisions.
What is information, and how is it produced from data?
Information is data that has been processed and organised so it is meaningful and useful for decision making. Sorting, calculating, classifying and summarising are typical ways of turning data into information.
What is a bit and what is its position in the data hierarchy?
A bit, or binary digit, is the smallest unit of data and can hold only the value 0 or 1. It is the lowest level of the hierarchy, from which characters and then fields are built.

A retail manager receives a weekly report showing total sales by product after the raw checkout figures have been sorted and summarised. What does the report represent?

  1. A. Metadata, because it lists the names of the sales fields
  2. B. A field, because each product total is a single stored attribute
  3. C. Raw data, because it still contains figures from the checkouts
  4. D. Information, because the figures have been processed into a meaningful summary

The checkout figures were processed and organised into a summary the manager can use to decide what to stock, so they have become information. Metadata describes the structure of data and a field is one attribute, neither of which this report is.

A college stores each student's name, address and course as separate values, combines them into one unit per student, and then stores all those units for a class together. Which order moves from the smallest to the largest unit?

  1. A. File, record, field
  2. B. Field, file, record
  3. C. Field, record, file
  4. D. Record, field, file

A name or address is a field, fields about one student form a record, and records of the same kind stored together form a file. The correct progression is therefore from field to record to file.

40 flashcards and 20 quiz questions in this topic.

2. Data Modelling and Entity-Relationship Diagrams

Entities, Attributes and Entity Types · Relationships, Degree and Cardinality Constraints · Keys, Strong and Weak Entities · ER Diagram Notation and Enhanced Features · Associative Entities and Resolving Many-to-Many Links

What is the difference between an entity type and an entity instance?
An entity type is the general category of a person, place, object, event or concept about which data is stored, such as CUSTOMER. An entity instance is one particular occurrence of that type, such as the customer whose record has ID C001.
What is a simple attribute in an ER model?
A simple attribute is one that cannot be meaningfully divided into smaller parts. A phone number is normally treated as a single value rather than split into useful sub-components.
What is a composite attribute and how is it shown in an ER diagram?
A composite attribute can be broken into smaller meaningful sub-attributes, such as Address split into Street, City and Postcode. It is drawn with its component attributes attached to it.

Which statement correctly describes a composite attribute?

  1. A. It is an attribute that may hold several values for one entity
  2. B. It is an attribute that can be divided into smaller meaningful parts
  3. C. It is an attribute that uniquely identifies an entity on its own
  4. D. It is an attribute whose value is calculated from other attributes

A composite attribute is broken into smaller meaningful sub-attributes, such as Address split into Street, City and Postcode. Calculation from other attributes describes a derived attribute, while several values describes a multivalued attribute.

A customer table stores DateOfBirth and an Age column that staff update by hand every year. Which change removes the redundancy while keeping the same information?

  1. A. Remove DateOfBirth and keep only the manually updated Age
  2. B. Store Age as a composite attribute made of a year part and a month part
  3. C. Store Age as a derived attribute calculated from DateOfBirth
  4. D. Store Age as a multivalued attribute with one value per year

Age is a derived attribute because it can be computed from DateOfBirth whenever it is needed. Keeping a separate column creates redundant data that staff must continually keep in sync.

40 flashcards and 20 quiz questions in this topic.

3. The Relational Model

Origins and Structure of Relations · Candidate, Primary and Composite Keys · Foreign Keys and Table Relationships · Entity and Referential Integrity Rules · Relational Algebra and Operations

Who proposed the relational model, and in what year?
Edgar F. Codd proposed the relational model in 1970. It organises data into tables.
In the relational model, what is a relation?
A relation is a table that stores data as a set of rows and columns. It is the central structure used to represent data in the model.
What is a tuple in a relation?
A tuple is a single row of a relation, representing one record or one instance of the data being stored.

In what year did Edgar F. Codd propose the relational model?

  1. A. In 1990
  2. B. In 1970
  3. C. In 1960
  4. D. In 1980

Edgar F. Codd proposed the relational model in 1970, so 1970 is the correct year. The other years do not match this established proposal date.

A Student relation has the columns StudentID, Name and Program, and it contains 40 records. What are its degree and cardinality?

  1. A. Degree 3, cardinality 40
  2. B. Degree 40, cardinality 3
  3. C. Degree 3, cardinality 3
  4. D. Degree 40, cardinality 40

Degree counts attributes, and this table has three columns, so the degree is 3. Cardinality counts tuples, and there are 40 records, so the cardinality is 40.

40 flashcards and 20 quiz questions in this topic.

4. Normalisation

Why Normalise: Redundancy and Anomalies · Functional Dependencies and Keys · First Normal Form and Atomic Values · Second and Third Normal Forms · Denormalisation and Higher Normal Forms

What is the main goal of normalisation when designing a database table?
To organise tables so that duplicated data is reduced and insertion, update and deletion anomalies are avoided.
What is data redundancy in a table?
It is the same piece of information stored more than once, such as a customer's address repeated on every order row.
What is an insertion anomaly?
It is when a fact cannot be added unless unrelated data is also present, forcing a blank or dummy entry.

Which statement describes the main goal of normalisation?

  1. A. Organising tables to reduce redundant data and avoid insertion, update and deletion anomalies
  2. B. Organising tables so that every query returns its rows in alphabetical order
  3. C. Adding extra copies of each fact so that reporting queries become faster
  4. D. Removing key columns so that records can be entered in any order

Normalisation is defined as organising tables to reduce redundancy and prevent insertion, update and deletion anomalies. Sorting rows, adding duplicate copies for speed, or removing keys does not achieve this.

A college table has one row per enrolment with StudentID, StudentName, StudentPhone, CourseID and Grade. A new student with no enrolment cannot be recorded at all. Which problem does this illustrate?

  1. A. A transitive dependency, because the grade depends on the course ID
  2. B. An insertion anomaly, because a student fact depends on an unrelated enrolment existing
  3. C. An update anomaly, because the phone number must be edited in several rows
  4. D. A deletion anomaly, because removing a course also removes the student's name

This is an insertion anomaly: the design prevents recording a student until an unrelated enrolment row exists. The inability to store a fact independently is the defining symptom.

40 flashcards and 20 quiz questions in this topic.

5. Structured Query Language (SQL)

SQL Overview and Data Definition · Data Manipulation with DML · Filtering and Sorting Query Results · Aggregate Functions and Grouping · Joins and Virtual Views

What is the role of SQL in a relational database?
SQL (Structured Query Language) is the standard language used to define database structures and to retrieve and change data in a relational database. It lets users both build the tables and work with the data inside them.
What does DDL stand for, and what kind of database work does it perform?
DDL stands for Data Definition Language. It defines and changes database structures such as tables, rather than the data stored inside them.
Which SQL statement creates a new table, and what must you specify when you use it?
CREATE TABLE creates a new table. You give the table a name and define each column with its data type, and you may add constraints such as a primary key.

Which category of SQL commands is used to create, modify and remove database structures such as tables?

  1. A. Data Definition Language, which includes CREATE, ALTER and DROP
  2. B. Data Manipulation Language, which includes SELECT, INSERT, UPDATE and DELETE
  3. C. Data Control Language, which includes GRANT and REVOKE
  4. D. Transaction Control Language, which includes COMMIT and ROLLBACK

Data Definition Language is the category that defines and changes database structures; CREATE builds a table, ALTER changes it and DROP removes it.

A team needs to add a new column to a table that is already in use. Which statement should they use?

  1. A. INSERT, specifying the new column name and its data type
  2. B. CREATE TABLE, specifying the new column name and its data type
  3. C. DROP TABLE, specifying the new column name and its data type
  4. D. ALTER TABLE, specifying the new column name and its data type

ALTER TABLE changes the structure of a table that already exists, so it is the statement that adds a column; CREATE builds a new table and DROP removes a table.

40 flashcards and 20 quiz questions in this topic.

6. Transactions, Concurrency and Database Administration

Transaction Fundamentals and ACID Properties · Concurrency Problems and Update Anomalies · Locking-Based Concurrency Control Techniques · Deadlock Detection, Prevention and Resolution · Database Administration, Backup and Recovery

What is a database transaction?
A transaction is a logical unit of work that must be completed entirely or not at all. A funds transfer that debits one account and credits another is a typical example.
Why must the two steps of a funds transfer be treated as one unit instead of being applied separately?
If the debit is applied without the matching credit, money disappears from the system and the database is left in an incorrect state. Applying both steps together avoids that partial result.
What are the basic states a transaction passes through during its lifetime?
It is active while its operations execute, partially committed after its last operation runs, and committed once completion is confirmed. If it cannot continue it is failed, and after its changes are undone it is aborted.

Which ACID property requires a transaction to be treated as a single indivisible unit, so that every operation takes effect or none do?

  1. A. Isolation
  2. B. Durability
  3. C. Atomicity
  4. D. Consistency

Atomicity is the all-or-nothing guarantee: if any part of a transaction cannot finish, the whole transaction is rolled back instead of being left half done. The other properties concern valid states, concurrent execution and survival after a failure.

A funds transfer debits one account, but the system fails before the matching credit can be posted. What should the database management system do to respect transaction fundamentals?

  1. A. Keep the debit and post the credit later
  2. B. Commit the debit and note the missing credit
  3. C. Reverse the debit at the next scheduled backup
  4. D. Roll back the debit so neither account is changed

Because a transaction is all-or-nothing, an incomplete transfer must not leave a debit without its credit; undoing the debit returns both accounts to their original state. Keeping or committing the partial result would break the unit of work.

40 flashcards and 20 quiz questions in this topic.

7. Data Warehousing, Business Intelligence and Big Data

Data Warehouse Fundamentals and OLTP versus OLAP · ETL Processes and Data Warehouse Architecture · Dimensional Modelling and the Star Schema · Business Intelligence for Managerial Decision Support · Big Data Characteristics and NoSQL Database Types

According to Bill Inmon, what is a data warehouse?
A data warehouse is a subject-oriented, integrated, time-variant and non-volatile collection of data in support of management decisions. It is built to support managerial decision-making rather than routine transaction processing.
In Inmon's definition, what does 'subject-oriented' mean?
Data is organised around major business subjects such as customers, products or sales, rather than around the individual application programs that produce it. This makes it easier for managers to analyse one subject as a whole.
In Inmon's definition, what does 'integrated' mean?
Data drawn from different source systems is made consistent, for example by standardising codes, names and formats before it is stored. Without this, the same subject could be recorded in conflicting ways across sources.

Which set of characteristics matches Bill Inmon's definition of a data warehouse?

  1. A. Application-oriented, integrated, real-time and volatile
  2. B. Subject-oriented, unprocessed, current-value and updatable
  3. C. Decentralised, transaction-based, volatile and unintegrated
  4. D. Subject-oriented, integrated, time-variant and non-volatile

Inmon defines a data warehouse as subject-oriented, integrated, time-variant and non-volatile data used to support management decisions. The other sets describe transaction-oriented or volatile collections, which do not match that definition.

A supermarket system records each sale at the checkout and immediately reduces the stock count. Which type of system is this?

  1. A. A data warehouse, because it stores only historical records
  2. B. A star schema, because it links measures to dimensions
  3. C. Online analytical processing, because it summarises years of sales
  4. D. Online transaction processing, because it records each sale as it happens

Online transaction processing handles day-to-day transactions such as sales and stock updates as they occur. Summarising years of sales and linking measures to dimensions belong to analytical structures, not to the recording of a single sale.

40 flashcards and 20 quiz questions in this topic.

8. Data Governance, Quality and Privacy

Foundations of Data Governance · Dimensions of Data Quality · Master Data Management · PDPA 2010 and Its Seven Principles · PDPA Amendment 2024 and Compliance Duties

What is data governance in an organisation?
Data governance is the set of policies, roles and processes that ensure data is managed as a valuable organisational asset. It establishes who makes decisions about data and how those decisions are carried out.
What does it mean to treat data as a valuable organisational asset?
It means managing data deliberately, like other important resources, by defining ownership, standards and responsibilities. Data is not left to accumulate as an unmanaged by-product of daily work.
What is a data owner?
A data owner is the role accountable for a specific data domain. This role decides the data's definition and access rules and answers for its proper use.

Which statement defines data governance?

  1. A. The written rules that solely describe how employees should behave with data
  2. B. The policies, roles and processes that treat data as a valuable organisational asset
  3. C. The database software used to store and retrieve records for daily operations
  4. D. The financial penalties imposed when an organisation mishandles personal data

Data governance is defined as the policies, roles and processes that ensure data is managed as a valuable organisational asset. Software tools and penalties are separate matters, and rules alone leave out the roles and processes.

In a data governance structure, which responsibility belongs to a data steward rather than a data owner?

  1. A. Being ultimately answerable for the proper use of the data domain
  2. B. Checking data against agreed standards and resolving day-to-day quality issues
  3. C. Setting enterprise-wide data policy for every department in the firm
  4. D. Deciding who may access the data and approving its official definition

A data steward carries out the operational care of data, including checking it against standards and fixing day-to-day issues. Access decisions, ultimate accountability and organisation-wide policy belong to owners or a governance body.

40 flashcards and 19 quiz questions in this topic.

Study every card

Every card and question in this course comes with the Lifetime package. Add it to GoodScores and practise with flashcards, quizzes and spaced review.

Get all 320 cards with Lifetime