29.10.26

CS614 Midterm Past Papers: Solved MCQs, Subjective Questions and Short Notes (Data Warehousing)

Getting ready for the midterm of CS614 (Data Warehousing)? Here is everything in one place: solved MCQs, subjective questions with answers and short notes and key terms, gathered from past papers and files shared by students. No duplicates and all the answers are checked and verified. Use the tabs above to switch between Objective, Subjective and Short Notes & Key Terms, and tap Show answer only after you have tried the question yourself. Best of luck with your exam!

Part 1: Objective (MCQs)

Q1. Online extraction is a kind of ______ data extraction.

  1. Logical
  2. Dimensional
  3. Physical
  4. Multi valued
Show answer

Answer: (c) Physical

Q2. The ______ saw the advent of disk storage, or DASD(direct Access Storage Device) :

  1. 1960s
  2. 1970s
  3. 1950s
  4. 1990s
Show answer

Answer: (b) 1970s

Q3. In context of data warehouse, normally it becomes difficult to extract data from different sources because these sources are normally.

  1. Heterogeneous
  2. Homogeneous
  3. Centralized
  4. Baseline
Show answer

Answer: (a) Heterogeneous

Q4. Which of the following is not a task of Data Transformation?

  1. Conversion
  2. Summarization
  3. Enrichment
  4. Full Data Refresh
Show answer

Answer: (d) Full Data Refresh

Q5. Which of the following is not an Orr's Law of Data Quality"?

  1. "Data that is not used cannot be corrected!"
  2. "Data quality is a function of its use, not its collection!"
  3. "Data will be no better than its most stringent use!"
  4. "Data duplication can be harmful for the organization! "
Show answer

Answer: (d) "Data duplication can be harmful for the organization! "

Q6. Flat files are one of the prevalent structures used in ______ data extraction:

  1. Online
  2. Offline
  3. Incremental
  4. Full
Show answer

Answer: (b) Offline

Q7. Which of the following is NOT one of the advantages of changed data capture (CDC) technique?

  1. Flat files are not required
  2. Limited query interface is required for data extraction
  3. No incremental on-line I/O required for log tape
  4. Extraction of changed data occurs immediately
Show answer

Answer: (b) Limited query interface is required for data extraction

Q8. The most common range partitioning is on

  1. Color
  2. Date
  3. PhoneNo
  4. Name
Show answer

Answer: (b) Date

Q9. A relation is said to be in first normal form(1NF), if it does not contain

  1. Single value column
  2. Multi-valued column
  3. Derived column
  4. Composite column
Show answer

Answer: (b) Multi-valued column

Q10. In a fully normalized database, too many are required

  1. Values
  2. Joins
  3. Queries
  4. Conditions
Show answer

Answer: (b) Joins

Q11. In the data warehouse, data is collection from ______ sources:

  1. Homogeneous
  2. Heterogeneous
  3. External
  4. Internal
Show answer

Answer: (b) Heterogeneous

Q12. De-normalization is more like a "controlled crash" with the aim to ______ without loss of information:

  1. Check
  2. Balance
  3. Decrease
  4. Enhance
Show answer

Answer: (d) Enhance

Q13. is making all efforts to increase effectiveness and efficiency in meeting and accepted customer expectation:

  1. Quality assurance
  2. Quality improvement
  3. Quality maintenance
  4. Quality Establishment
Show answer

Answer: (b) Quality improvement

Q14. is the application of intelligence and experience to get common goals.

  1. Wisdom
  2. Education
  3. Power
  4. Information
Show answer

Answer: (a) Wisdom

Q15. In the data transformation, ______ is the rearrangement and simplification of individual

  1. Aggregation
  2. Enrichment
  3. Splitting joining
  4. Conversion
Show answer

Answer: (b) Enrichment

Q16. Grain of a fact table means :

  1. The meaning of one fact table row
  2. The meaning of one dimensional table row
  3. Summary of aggregates in all fact tables
  4. Summary of aggregates in all dimension tables
Show answer

Answer: (a) The meaning of one fact table row

Q17. Normalization ______.

  1. Reduces redundancy
  2. Increases redundancy
  3. Reduces joins
  4. Reduces tables
Show answer

Answer: (a) Reduces redundancy

Q18. Which of the following is not an example of a typical grain :

  1. Individual transaction
  2. Daily aggregates
  3. Monthly aggregates
  4. Normalized attributes
Show answer

Answer: (d) Normalized attributes

Q19. Multi-dimensional databases(MDDs) typically use ______ formats to store pre-summarized cube structures:

  1. SQL
  2. Proprietary file
  3. Object oriented
  4. Non-proprietary file
Show answer

Answer: (b) Proprietary file

Q20. provides a combination of "relational databases access" and "cube" data structures within a single framework:

  1. HOLAP
  2. DOLAP
  3. MOLAP
  4. ROLAP
Show answer

Answer: (a) HOLAP

Q21. Data Warehouse provides the best support for analysis while OLAP carries out the ______ task:

  1. Mandatory
  2. Whole
  3. Analysis
  4. Prediction
Show answer

Answer: (c) Analysis

Q22. ____________ involves splitting a table by columns so that a group of columns is placed into the new table and the remaining columns are placed in another new table.

  1. Vertical splitting
  2. Horizontal splitting
  3. Adding redundant column
  4. None of the given options
Show answer

Answer: (a) Vertical splitting

Q23. OLAP implementations are highly/completely ______ :

  1. Normalized
  2. Denormalized
  3. Predictive
  4. Additive
Show answer

Answer: (b) Denormalized

Q24. If each cell of Relation R contains a single value (no repeating values) then it is confirmed that :

  1. Relation R is in 1st Normal Form
  2. Relation R is in 2nd Normal Form
  3. Relation R is in 3rd Normal Form
  4. Relation R is in 3rd Normal Form but not in 2nd Normal Form
Show answer

Answer: (a) Relation R is in 1st Normal Form

Q25. Which kind of relationships is captured by Fact less fact table:

  1. Many- to- Many
  2. One-to-many
  3. One-to-one
  4. None of the given option
Show answer

Answer: (a) Many- to- Many

Q26. Which of the following is NOT an example of a "Dimension"?

  1. Date
  2. Region
  3. Product
  4. Units sold
Show answer

Answer: (d) Units sold

Q27. In a fully normalized form:

  1. To many joins are required
  2. Relationships lose their significance
  3. No joins are required
  4. Data integrity becomes an issue
Show answer

Answer: (a) To many joins are required

Q28. Which of the following is an example of Non-Additive Facts:

  1. Quality sold
  2. Total sale in Rs
  3. Discount in percentage
  4. Count of orders in a store
Show answer

Answer: (c) Discount in percentage

Q29. Which of the following is not a CUBE operation?

  1. ANSI SQL
  2. Roll Up
  3. Drill Down
  4. Pivoting
Show answer

Answer: (a) ANSI SQL

Q30. allows download of "cube" structures to a desktop platform without the need for shared or cube server:

  1. MPLAP
  2. ROLAP
  3. DOLAP
  4. HOLAP
Show answer

Answer: (c) DOLAP

Q31. ROLAP provides access to information via a relational database using:

  1. ANSI standard SQL
  2. Proprietary file format
  3. Comma Separated Values
  4. All of the given option
Show answer

Answer: (a) ANSI standard SQL

Q32. is usually deployed when expression can be used to group data together in such a way that access can be targeted to a small set of partitions:

  1. Expression elimination
  2. Expression partitioning
  3. Expression indexing
  4. None of the given option
Show answer

Answer: (b) Expression partitioning

Q33. Taken jointly, the extract programs or naturally evolving systems formed a spider web, also known as

  1. Distributed Systems Architecture
  2. Legacy System Architecture
  3. Online System Architecture
  4. Intranet System Architecture
Show answer

Answer: (b) Legacy System Architecture

Q34. The data has to be checked , cleaned and transformed into a ______ format to allow easy and fast access

  1. Unified
  2. Predicated
  3. Qualified
  4. Proactive
Show answer

Answer: (a) Unified

Q35. Suppose in a system A, the values of "PhoneNo" attribute were stored in "countrycode-phone- extension" format, however after transformation into data warehouse the separate columns were used for "countrycode","phone" and "extension". The above scenario is an example of :

  1. One-to-one scalar transformation
  2. One-to-many element transformation
  3. Many-to-one element transformation
  4. Many-to-many element transformation
Show answer

Answer: (b) One-to-many element transformation

Q36. In decision support system ease of use in achieved by:

  1. Normalization
  2. Denormalization
  3. Drill up
  4. Drill down
Show answer

Answer: (b) Denormalization

Q37. Which of the following is one of the methods to simplify an ER model?

  1. Normalization
  2. Denormalization
  3. HOLAP
  4. Hybrid schema
Show answer

Answer: (b) Denormalization

Q38. In ETL process data transformation includes

  1. Data cleansing
  2. Data aggregation
  3. Behavior checking
  4. Pattern recognition
Show answer

Answer: (a) Data cleansing

Q39. Non-uniform use of abbreviations, units, and values refers to:

  1. Syntactically dirty data
  2. Semantically dirty data
  3. Coverage anomaly
  4. Extraction issue
Show answer

Answer: (a) Syntactically dirty data

Q40. Suppose the size of the attribute "Computerized National Card (CNIC) no. is changed in NADRA database. This transformation refers to:

  1. Format revision
  2. Field splitting
  3. Field decoding
  4. Calculation of derived value
Show answer

Answer: (a) Format revision

Q41. The divide and conquer cube partitioning approach helps alleviate the ______limitations of MOLAP implementation:

  1. Flexibility
  2. Maintainability
  3. Security
  4. Scalability
Show answer

Answer: (d) Scalability

Q42. identify the TRUE statement:

  1. DM is inherently dimensional in nature
  2. DM comprises of a single central fact table
  3. DM comprises of a set of dimensional tables
  4. All of the given option
Show answer

Answer: (d) All of the given option

Q43. can be used when some columns are rarely accessed rather than other columns or when the table has wide rows or header or both:

  1. Horizontal splitting
  2. Pre-joining
  3. Vertical splitting
  4. Derived attributes
Show answer

Answer: (c) Vertical splitting

Q44. Which of the following is an example of derived attributes?

  1. Age
  2. Size
  3. Color
  4. Length
Show answer

Answer: (a) Age

Q45. The online high performance transaction processing was evolved in ______:

  1. 1980
  2. 1975
  3. 1977
  4. 1965
Show answer

Answer: (b) 1975

Q46. Cube is a logical entity containing values of a certain aggregation level at an intersection of a combination of ______ :

  1. Facts
  2. Dimension
  3. Summary tables
  4. Primary and foreign key
Show answer

Answer: (b) Dimension

Q47. Which of the following facilitates a mobile computing paradigm?

  1. HOLAP
  2. DOLAP
  3. ROLAP
  4. MOLAP
Show answer

Answer: (b) DOLAP

Q48. The main reason(s)for the increase in cube size may be:

  1. Increase in the number of dimensions
  2. Increase in the cardinality of the dimensions
  3. Increase in the amount of detail data
  4. All of the given options
Show answer

Answer: (d) All of the given options

Q49. Suppose the amount of data recorded in an organization is doubled every year. This increase is __________ .

  1. Linear
  2. Quadratic
  3. Exponential
  4. logarithmic
Show answer

Answer: (c) Exponential

Q50. The data in the data warehouse is ______ :

  1. Volatile
  2. Non-volatile
  3. Static
  4. Non-structured
Show answer

Answer: (b) Non-volatile

Q51. models the macro relationships among data elements with an overall deterministic strategy:

  1. Dimensional model
  2. Entity relationship model
  3. Object oriented model
  4. Structured model
Show answer

Answer: (a) Dimensional model

Q52. technique requires a separate column to specify the time and date when the last modification was occurred:

  1. Checkmarks
  2. Timestamps
  3. Just-in-Time
  4. Real Time extraction
Show answer

Answer: (b) Timestamps

Q53. Which of the de-normalization technique squeezes master table into detail?

  1. Pre-joining
  2. Horizontal splitting
  3. Vertical splitting
  4. Adding redundant column
Show answer

Answer: (a) Pre-joining

Q54. De-normalization can help:

  1. Minimize joins
  2. Minimize foreign keys
  3. Resolve aggregates
  4. All of the given options
Show answer

Answer: (d) All of the given options

Q55. The domain of the "gender" field in some database may be ('F','M') or as ("Female", "Male") or even as (1, 0). This is:

  1. Primary key problem
  2. Non primary key problem
  3. Normalization problem
  4. All of the given option
Show answer

Answer: (b) Non primary key problem

Q56. Increasing level of normalization number of ______ tables:

  1. Increases
  2. Decreases
  3. Does not effect
  4. None of the given option
Show answer

Answer: (a) Increases

Q57. Which of the following is not a Data Quality Validation Technique:

  1. Referential integrity
  2. Using Data Quality Rules
  3. Data Histograming
  4. Indexes
Show answer

Answer: (d) Indexes

Q58. This technique can be used when column from one table is frequently accessed in a large scale join in conjunction with a column from another table:

  1. Horizontal splitting
  2. Pre-joining
  3. Adding redundant column
  4. Derived attributes
Show answer

Answer: (c) Adding redundant column

Q59. Data cleansing requires involvement of domain expert because:

  1. Domain expert has deep knowledge of data aggregation
  2. Change Data captures requires involvement of domain expert
  3. Domain knowledge is required to correct anomalies
  4. Domain expert has deep knowledge of data summarization
Show answer

Answer: (c) Domain knowledge is required to correct anomalies

Q60. Relational databases allow you to navigate the data in ______ that is appropriate using the primary , foreign key structure with in the data model:

  1. Only One Direction
  2. Any Direction
  3. Two Direction
  4. None of these
Show answer

Answer: (b) Any Direction

Q61. History is excellent predicator of the ______:

  1. Past
  2. Present
  3. Future
  4. History
Show answer

Answer: (c) Future

Q62. De-normalization is the process of selectively transforming normalized relations into un- normalized physical record specifications, with the aim to:

  1. Well structure the data
  2. Well model the data
  3. Reduce query processing time
  4. None of the given option
Show answer

Answer: (c) Reduce query processing time

Q63. ________ gives total view of an organization

  1. OLAP
  2. OLTP
  3. Data Warehouse
  4. Database
Show answer

Answer: (c) Data Warehouse

Q64. Suppose in system A, the possible values of "Gender" attribute were "Male"& "Female", however in data warehouse ,the values stored were "M" for male and "F" for female. This above scenario is an example of :

  1. One-to-one scalar transformation
  2. One-to-many element transformation
  3. Many-to-one element transformation
  4. Many-to-many element transformation
Show answer

Answer: (a) One-to-one scalar transformation

Q65. Enrichment is one of the basic tasks in data ______ :

  1. Extraction
  2. Transformation
  3. Loading
  4. Summarization
Show answer

Answer: (b) Transformation

Q66. Which of the following is not a technique of 'De-Normalization'?

  1. Pre-joining
  2. Splitting Tables
  3. Adding Redundant Column
  4. ER Modeling
Show answer

Answer: (d) ER Modeling

Q67. Which of the following is an example of Additive Facts?

  1. Sales Amount
  2. Average
  3. Discount
  4. Ratios
Show answer

Answer: (a) Sales Amount

Q68. Robotic libraries are needed for ______:

  1. Cubes
  2. Data marts
  3. Data warehouse
  4. Aggregates
Show answer

Answer: (c) Data warehouse

Q69. Normally ROLAP is implemented using

  1. Star schema
  2. Hybrid schema
  3. Pre-defined aggregate
  4. All of the given options
Show answer

Answer: (a) Star schema

Q70. The relation R will be in 2nd Normal Form if

  1. It is in 1NF and each cell contains single value
  2. It is in 1NF and each non key attribute is dependent upon entire primary key
  3. It is in 1NF and non key attribute is dependent upon a single column of composite primary key
  4. It is in 1NF and Primary key is composite
Show answer

Answer: (b) It is in 1NF and each non key attribute is dependent upon entire primary key

Q71. In Extract, Load, Transform(ELT) process, data transformation ______:

  1. Takes place on the data warehouse server
  2. Takes place on a separate transformation server
  3. Depends on the nature of the source database
  4. Does not take place
Show answer

Answer: (a) Takes place on the data warehouse server

Q72. A node of a B-tree is stored in a memory block, and traversing a B-tree involves ______ page faults.

  1. O(n log n)
  2. O(log n)
  3. O(n)
  4. O(n^2)
Show answer

Answer: (b) O(log n)

Q73. As dimensions get less detailed (e.g. , year vs. day) cubes get

  1. Smaller
  2. Larger
  3. Partitioned
  4. Merged
Show answer

Answer: (a) Smaller

Q74. Which of the following is not a technique of " Changed Data Capture" in currently used Modern Source System?

  1. Timestamps
  2. Partitioning
  3. Triggers
  4. Dimensional Modeling
Show answer

Answer: (d) Dimensional Modeling

Q75. The trade-offs of de-normalization is/are:

  1. Storage
  2. Performance
  3. Ease-of-use
  4. All of the given options
Show answer

Answer: (d) All of the given options

Q76. If actual data structure does not conform to documented formats then it is called:

  1. Syntactically dirty data
  2. Semantically dirty data
  3. Coverage anomaly
  4. Extraction issue
Show answer

Answer: (a) Syntactically dirty data

Q77. "Header size is reduced, allowing more rows per back , thus reducing I/O" .The above statement is TRUE with respect to:

  1. Vertical splitting
  2. Horizontal splitting
  3. Adding redundant column
  4. None of the given options
Show answer

Answer: (a) Vertical splitting

Q78. Which of the following is NOT an example of derived attribute?

  1. Age
  2. CGPA
  3. Area of rectangle
  4. Height
Show answer

Answer: (d) Height
Why: Height is a stored (base) attribute; Age, CGPA and the area of a rectangle are calculated from other values.

Q79. If a table is expected to have six columns but some or all of the records do not have six columns then it is example of:

  1. Syntactically dirty data
  2. Semantically dirty data
  3. Coverage anomaly
  4. Extraction issue
Show answer

Answer: (a) Syntactically dirty data

Q80. MDX by Microsoft is an example of ______:

  1. HOLAP
  2. DOLAP
  3. ROLAP
  4. None of the given options
Show answer

Answer: (d) None of the given options

Q81. If one or more records in a relational table do not satisfy one or more integrity constraint , then the data:

  1. Is syntactically dirty
  2. Is semantically dirty
  3. Has Coverage anomaly
  4. Has extraction issue
Show answer

Answer: (b) Is semantically dirty

Q82. One of the possible issues faced by web scrapping is that:

  1. Web pages may contain junk data
  2. Web pages do not contain multiple facts
  3. Web pages do not contain multiple dimensions
  4. Web pages does not support transformation
Show answer

Answer: (a) Web pages may contain junk data

Q83. An OLTP system is always good at ______:

  1. Evolving data
  2. Keeping static data
  3. Tracking past data
  4. Maintaining historic data
Show answer

Answer: (a) Evolving data

Q84. In case of multiple sources for the same data element , we need to prioritize the source systems per element based, the process is called:

  1. Ranking
  2. Prioritization
  3. Element selection
  4. Measurement selection
Show answer

Answer: (a) Ranking

Q85. One feature of Change Data Capture (CDC) is that:

  1. It pre-calculates changed aggregates
  2. It loads the transformed data in real time
  3. It only processes the data has been changed
  4. It can automate the transformation of extracted data
Show answer

Answer: (c) It only processes the data has been changed
Why: The shared key marked "automates the transformation", but the defining feature of CDC is that it identifies and processes only the data that has changed.

Q86. In ______ SQL generation in vastly simplified for front-end tools when the data is highly structure:

  1. MOLAP
  2. Star Schema
  3. Hybrid schema
  4. Object oriented schema
Show answer

Answer: (b) Star Schema

Q87. Dirty data means:

  1. Data cannot be aggregated
  2. Data contains non-additive facts
  3. Data does not fulfill dimensional modeling rules
  4. Data does not conform to proper domain definitions
Show answer

Answer: (d) Data does not conform to proper domain definitions

Q88. In Context of Change Data Capture (CDC) sometimes a ______ object can be used to store recently modified data:

  1. Buffer table
  2. Change table
  3. Checkmark table
  4. Change control table
Show answer

Answer: (b) Change table

Q89. "Sometimes during data collection complete entities are missed". This statement is an example of :

  1. Missing tuple
  2. Missing attribute
  3. Missing aggregates
  4. Semantically dirty data
Show answer

Answer: (a) Missing tuple

Q90. Data warehouse stores ______:

  1. Operational data
  2. Historical data
  3. Meta data
  4. Log files data
Show answer

Answer: (b) Historical data

Q91. The business process covered by ER diagrams:

  1. Do not co-exist in time and space
  2. Co-exist in time and space
  3. Do not physically exist in real time context
  4. None of the given options
Show answer

Answer: (a) Do not co-exist in time and space

Q92. The main goal of normalization is to eliminate ______:

  1. Data redundancy
  2. Data sharing
  3. Data security
  4. Data consistency
Show answer

Answer: (a) Data redundancy

Q93. Serious ______ involves decomposing and resembling the data:

  1. Data cleansing
  2. Data transformation
  3. Data loading
  4. Data extraction
Show answer

Answer: (a) Data cleansing

Q94. For large record spaces and large number of records , the run time of the clustering algorithms:

  1. Prohibitive
  2. Static
  3. Exponential
  4. Numerical
Show answer

Answer: (a) Prohibitive

Q95. can result in costly errors, such as , False frequency distributions and incorrect aggregates due to double counting:

  1. Data duplication
  2. Data reduction
  3. Data anomaly
  4. Data transformation
Show answer

Answer: (a) Data duplication

Q96. The degree to which values are present in the attributes that require them is known as - ______:

  1. Completeness
  2. Uniqueness
  3. Accessibility
  4. Consistency
Show answer

Answer: (a) Completeness

Q97. Time complexity of Key Creation process in basic Sorted Neighborhood (BSN) Method is ______:

  1. O(n log n)
  2. O(log n)
  3. O(n)
  4. O(2n)
Show answer

Answer: (c) O(n)

Q98. The ______ operator proves useful in more complex metrices applicable to the dimensions and accessibility:

  1. Max
  2. Min
  3. Max and Min
  4. None of the given
Show answer

Answer: (a) Max

Q99. In OLAP , the typical write operation is ______ :

  1. Bulk insertion
  2. Single insertion
  3. Sequential insertion
  4. No insertion
Show answer

Answer: (a) Bulk insertion

Q100. The issue(s) of " Adding redundant column" includes(s):

  1. Increase in table size
  2. Maintenance
  3. Loss of information
  4. All of the given option
Show answer

Answer: (d) All of the given option

Q101. is applicable in Profitability analysis:

  1. OLTP
  2. Data warehouse
  3. Information System(IS)
  4. Management Information System(MIS)
Show answer

Answer: (b) Data warehouse

Q102. The hardware (CPU) utilization in data warehouse environment is full or ______ :

  1. Fixed
  2. Partial
  3. Not at all
  4. Slow
Show answer

Answer: (c) Not at all

Q103. Time variant is a characteristics of data warehouse which means:

  1. Data loaded in data warehouse will be time stamped
  2. Data can be loaded in data warehouse anytime
  3. Data can be loaded in data warehouse only at a particular time
  4. Data cannot be loaded in data warehouse with respect to time
Show answer

Answer: (a) Data loaded in data warehouse will be time stamped

Q104. In which class of aggregates AVERAGE function can be placed:

  1. Algebraic
  2. Distributed
  3. Associative
  4. Holistic
Show answer

Answer: (a) Algebraic

Q105. Considered the following Employee table and identify the column which causes that the table is not in first normal form(1NF): (Emp_ID, Emp_Name ,Emp_skills, Emp_Designation)

  1. Emp_ID
  2. Emp_Name
  3. Emp_skills
  4. Emp_Designation
Show answer

Answer: (c) Emp_skills

Q106. The application of data and information leads to

  1. Intelligence
  2. Experience
  3. Knowledge
  4. Power
Show answer

Answer: (c) Knowledge

Q107. segregate data into separate partitions so that queries do not need to examine all data in a table when WHERE clause filters specify only a subset of the partitions.

  1. Pre-joining technique
  2. Collapsing table technique
  3. Horizontal splitting technique
  4. Vertical splitting technique
Show answer

Answer: (c) Horizontal splitting technique

Q108. should not be present in a relation, so that it would be in second normal form (2NF).

  1. Partial dependency
  2. Full functional dependency
  3. Multivalued dependency
  4. Transitive dependency
Show answer

Answer: (a) Partial dependency

Q109. Records referring to the same entity are represented in different formulas in the different data sets or are represented erroneously. Thus duplicate records will appear in the merged database. This problem is known as______ --.

  1. Merge/purge problem
  2. Duplication problem
  3. Redundant duplication problem
  4. Redundant problem
Show answer

Answer: (a) Merge/purge problem

Q110. The data perspective in OLTP system is operational, while that in data warehouse is:

  1. Fully normalized
  2. Fully de-normalized
  3. Fully summarized
  4. Historical and detailed
Show answer

Answer: (d) Historical and detailed

Q111. Simple scalar transformation is a ______ mapping from one set of values to another set of values using straightforward rules.

  1. One-to-one
  2. One-to-many
  3. Many-to-many
  4. Many-to-one
Show answer

Answer: (a) One-to-one

Q112. can be created in operational systems to keep tracks of recently updated records.

  1. Triggers
  2. Timestamps
  3. Partitioning
  4. ELT
Show answer

Answer: (a) Triggers

Q113. Development of data warehouse is hard because data sources are usually

  1. Structured and homogeneous
  2. Unstructured and heterogeneous
Show answer

Answer: (b) Unstructured and heterogeneous

Q114. In a decision support environment, the decision maker is interested in ______ --.

  1. Only limited organizational data
  2. Big picture of organizational data
  3. Only sale related data
  4. Only customer related data
Show answer

Answer: (b) Big picture of organizational data

Q115. Information can answer question like "what", "who" and "when" while knowledge can answer question like ______ --.

  1. Why
  2. Where
  3. Which
  4. How
Show answer

Answer: (d) How

Q116. OLTP implementations are fully ______ --.

  1. Normalized
  2. Denormalized
  3. Predictive
  4. Additive
Show answer

Answer: (a) Normalized

Q117. Which logical data extraction has significant performance impacts on the data warehouse server?

  1. Incremental Extraction
  2. Online Extraction
  3. Offline Extraction
  4. Legacy Vs OLTP
Show answer

Answer: (a) Incremental Extraction

Q118. Consider the following Student table and identify the column which causes that the table is not in first normal form(1NF). Student(Std_ID, Std_Name ,Std_CGPA ,Std_Hobbies)

  1. Std_ID
  2. Std_Name
  3. Std_CGPA
  4. Std_Hobbies
Show answer

Answer: (d) Std_Hobbies

Q119. Analytical processing uses

  1. Multi-level aggregates
  2. Record level aggregates
  3. Table level aggregates
  4. All of the given options
Show answer

Answer: (a) Multi-level aggregates

Q120. Which is not a class of anomalies in following?

  1. Dirty anomalies
  2. Syntactically dirty data
  3. Semantically dirty data
  4. Coverage anomalies
Show answer

Answer: (a) Dirty anomalies

Q121. ______ is a system of activities that assures conformance of product to pre-established requirements.

  1. Quality assurance
  2. Quality improvement
  3. Quality Maintenance
  4. Quality Establishment
Show answer

Answer: (a) Quality assurance

Q122. Two interesting examples of quality dimensions that can make use of min operator are

  1. Believability and appropriate amount of data
  2. Believability and consistency
  3. Believability and Redundancy
  4. Reliability and appropriate amount of data
Show answer

Answer: (a) Believability and appropriate amount of data

Q123. in database or data warehouse has no actual value; it only has potential value.

  1. Data
  2. Entity
  3. Flat tables
  4. Data marts
Show answer

Answer: (a) Data

Q124. In OLTP environment the selectivity is ______ and ______ in data warehouse environment.

  1. High, Low
  2. Low, High
  3. High, Fixed
  4. Fixed, Low
Show answer

Answer: (a) High, Low

Q125. Which is not a/an characteristics of data quality?

  1. Reliability
  2. Uniqueness
  3. Accessibility
  4. Consistency
Show answer

Answer: (a) Reliability

Q126. If a product meets formally defined "requirement specifications", yet fails to be a quality product from the customer's perspective , this means the requirements were ______ --.

  1. Defective
  2. Unclear
  3. Unrefined
  4. Undefined
Show answer

Answer: (a) Defective

Q127. The relation R will be in 3rd Normal Form if:

  1. It is in 2NF each cell contains single value
  2. It is in 2NF and every non-key column is non-transitively dependent upon its primary key.
  3. It is in 1NF and each non key attribute is dependent upon a single column of composite primary key.
  4. It is in 2NF and each non key attribute is dependent upon other non-key attribute.
Show answer

Answer: (b) It is in 2NF and every non-key column is non-transitively dependent upon its primary key.

Q128. Decision support system queries deal with number of columns

  1. Having numeric values
  2. In a single table
  3. In a single view
  4. Spanning across multiple tables
Show answer

Answer: (d) Spanning across multiple tables

Q129. The end user of data ware house are______ --.

  1. Programmers
  2. Database developers
  3. Data entry operator
  4. Business executives
Show answer

Answer: (d) Business executives

Q130. Which one are the characteristics of data warehouse queries?

  1. Use primary key
  2. High selectivity
  3. Use multiple tables
  4. Very low performance
Show answer

Answer: (c) Use multiple tables

Q131. Web scrapping is a process of applying ______ techniques to the web

  1. Screen scrapping
  2. Data scrapping
  3. Text scrapping
  4. Meta scrapping
Show answer

Answer: (a) Screen scrapping

Q132. Which is not an issue of ROLAP in the following?

  1. Standard hierarchy of dimensions
  2. Non-standard conventions
  3. Maintenance
  4. Aggregation
Show answer

Answer: (a) Standard hierarchy of dimensions

Q133. is not the characteristic of data warehouse.

  1. Time variant
  2. Subject-oriented
  3. Integrated
  4. Volatile
Show answer

Answer: (d) Volatile

Q134. Which is not a/an step of data cleansing procedure?

  1. Aggregation
  2. Elementizing
  3. Standardizing
  4. Verifying
Show answer

Answer: (a) Aggregation

Q135. Instance matching between different sources is then achieved by a standard ______ on identifying attribute(s), if you are very, very, very lucky.

  1. Equi-join
  2. Inner join
  3. Outer join
  4. Fuller join
Show answer

Answer: (a) Equi-join

Q136. Ad-hoc access of data warehouse means:

  1. That have predefined database access pattern
  2. That does not have predefined database access pattern
  3. That could be accessed by any user
  4. That could not be accessed by any user
Show answer

Answer: (b) That does not have predefined database access pattern

Q137. In OLTP environment, the size of tables is relatively

  1. Large
  2. Fixed
  3. Moderate
  4. Small
Show answer

Answer: (d) Small

Q138. is a/an measure of how current or up to date the data is:

  1. Timeliness
  2. Completeness
  3. Accessibility
  4. Consistency
Show answer

Answer: (a) Timeliness

Q139. The process of converting entity relationship model in to dimensional model of ______ steps:

  1. Two
  2. Three
  3. Four
  4. Five
Show answer

Answer: (c) Four

Q140. A ______Is defined by a group of records that have similar characteristics ("behavior") for p% of the fields in the data set, where p is a user- defined value(usually above 90).

  1. Pattern
  2. Cluster
  3. Entity
  4. Attribute
Show answer

Answer: (a) Pattern

Q141. is known as state of being only one of its kind or being without an equal or parallel.

  1. Completeness
  2. Uniqueness
  3. Accessibility
  4. Consistency
Show answer

Answer: (b) Uniqueness

Q142. Which of the following is not an example of fact?

  1. Account no
  2. Sales quantity
  3. Per unit sales amount
  4. Sales amount
Show answer

Answer: (a) Account no

Q143. is the degree to which data is accurately reflects the real world object that the data represents.

  1. Intrinsic data quality
  2. Realistic data quality
  3. Strong data quality
  4. Weak data quality
Show answer

Answer: (a) Intrinsic data quality

Q144. Which one among the following data warehouse stores data containing long period?

  1. Telecommunication data warehouse
  2. Financial data warehouse
  3. Human resource data warehouse
  4. Insurance data warehouse
Show answer

Answer: (d) Insurance data warehouse

Q145. A ________ dimension is a collection of random transactional codes, flags and/text attributes that are unrelated to any particular dimension. The ______ dimension is simply a structure that provides a convenient place to store the ______ attributes.

  1. Junk
  2. Time
  3. Parallel
  4. None of these
Show answer

Answer: (a) Junk

Q146. It is observed that every year the amount of data recorded in an organization is:

  1. Doubles
  2. Triples
  3. Quartiles
  4. Remains same as previous year
Show answer

Answer: (a) Doubles

Q147. The users of data warehouse are knowledge workers in other words they are _________ in the organization.

  1. Decision maker
  2. Manager
  3. Database Administrator
  4. DWH Analyst
Show answer

Answer: (a) Decision maker

Q148. In _________ system, the contents change with time.

  1. OLTP
  2. ATM
  3. DSS
  4. OLAP
Show answer

Answer: (a) OLTP

Q149. Naturally Evolving architecture occurred when an organization had a _______ approach to handling the whole process of hardware and software architecture.

  1. Relaxed
  2. Good
  3. Not Relaxed
  4. None
Show answer

Answer: (a) Relaxed

Q150. The automated, prospective analyses offered by data mining move beyond the analysis of past events provided by respective tools typical of ___________.

  1. OLTP
  2. OLAP
  3. Decision Support systems
  4. None of these
Show answer

Answer: (c) Decision Support systems

Q151. As opposed to the out come of classification, estimation deal with ____________ valued outcome.

  1. Discrete
  2. Isolated
  3. Continuous
  4. Distinct
Show answer

Answer: (c) Continuous

Q152. The goal of ideal parallel execution is to completely parallelize those parts of a computation that are not constrained by data dependencies. The __________ the portion of the program that must be executed sequentially, the greater the scalability of computation.

  1. Larger
  2. Smaller
  3. Unambiguous
  4. Superior
Show answer

Answer: (b) Smaller

Q153. _______________, if fits into memory, costs only one disk I/O access to locate a record by given key.

  1. A Dense Index
  2. A Sparse Index
  3. An Inverted Index
  4. None of These
Show answer

Answer: (a) A Dense Index

Q154. The goal of ___________ is to look at as few blocks as possible to find the matching records(s).

  1. Indexing
  2. Partitioning
  3. Joining
  4. None of these
Show answer

Answer: (a) Indexing

Q155. There are many variants of the traditional nested-loop join, if there is an index is exploited, then it is called......

  1. Naïve nested loop join
  2. index nested loop join
  3. temporary index nested loop join
  4. none of these
Show answer

Answer: (b) index nested loop join

Q156. The technique that is used to perform these feats in data mining modeling, and this act of model building is something that people have been doing for long time, certainly before the _______ of computers or data mining technology.

  1. Access
  2. Advent
  3. Ascent
  4. Avowal
Show answer

Answer: (b) Advent

Q157. Data mining is a/an ______ approach , where browsing through data using mining techniques may reveal something that might be of interest to the user as information that was unknown previously.

  1. Non-Exploratory
  2. Exploratory
  3. Compute Science
  4. none of these
Show answer

Answer: (b) Exploratory

Q158. The need to synchronize data upon update is called

  1. Data Manipulation
  2. Data Replication
  3. Data Coherency
  4. Data Imitation
Show answer

Answer: (c) Data Coherency

Q159. For good decision making, data should be integrated across the organization to cross the LoB (Line of Business). This is to give the total view of organization from:

  1. Owner‟s Perspective
  2. Customer's Perspective
  3. Decision Maker‟s Perspective
  4. Employee's Perspective
Show answer

Answer: (b) Customer's Perspective

Q160. Which statement is true for De-Normalization?

  1. Redundant data is a performance liability at query time, but is a performance benefit at update time
  2. Redundant data is a performance benefit at both query time and update time
  3. Redundant data is a performance liability at both query time and update time
  4. Redundant data is a performance benefit at query time, but is a performance liability at update time
Show answer

Answer: (d) Redundant data is a performance benefit at query time, but is a performance liability at update time

Q161. Pre-join technique is used to avoid

  1. Run time join
  2. Compile time join
  3. Load time join
Show answer

Answer: (a) Run time join

Q162. Cube is a __________ entity containing values of a certain fact at a certain aggregation level at an intersection of a combination of dimensions.

  1. Logical
  2. Physical
  3. Analytical
  4. None of these
Show answer

Answer: (a) Logical

Q163. The goal of star schema design is to simplify ________

  1. Logical data model
  2. Physical data model
  3. Conceptual data model
  4. None of these
Show answer

Answer: (b) Physical data model

Q164. Grain is the ________ level of data stored in the warehouse.

  1. Atomic
  2. Summarized
  3. Aggregated
  4. Cube
Show answer

Answer: (a) Atomic

Q165. Transactional fact tables do not have records for events that do not occur. These are called

  1. Not Recording Facts
  2. Fact-less Facts
  3. Null Facts
  4. None of these
Show answer

Answer: (b) Fact-less Facts
Why: The shared key marked "Not Recording Facts", but the standard term for a table that records events that did not occur is a fact-less fact table.

Q166. During ETL process of an organization, suppose you have data which can be transformed using any of the transformation method. Which of the following strategy will be your choice for least complexity?

  1. One-to-One Scalar Transformation
  2. One-to-Many Element Transformation
  3. Many-to-Many Element Transformation
  4. Many-to-One Element Transformation
Show answer

Answer: (a) One-to-One Scalar Transformation

Q167. Change Data Capture is one of the challenging technical issues in _____________

  1. Data Extraction
  2. Data Loading
  3. Data Transformation
  4. Data Cleansing
Show answer

Answer: (a) Data Extraction

Q168. When performing objective assessments, companies follow a set of principles to develop metrics specific to their needs, there is hard to have "one size fits all" approach. Which of the following statement represents the pervasive functional forms?

  1. Simple Ratio, Min or Max Operation, Weighted Average
  2. Only Complex Ratio, Min Operation, Max Operation
  3. Only Simple Ratio, Min or Max Operation
  4. Only Min or Max Operation, Weighted Average
Show answer

Answer: (a) Simple Ratio, Min or Max Operation, Weighted Average

Q169. The input to the data warehouse can come from OLTP or transactional system but not from other third party database.

  1. True
  2. False
Show answer

Answer: (b) False
Why: The shared key said True, but a data warehouse can also take input from third-party and external sources, so the statement is False.

Q170. Normalization effects performance

  1. True
  2. False
Show answer

Answer: (a) True

Q171. Collapsing tables can be done on the ___________ relationships

  1. One-to-One
  2. Many-to-Many
  3. Both One-to-One and Many-to-Many
  4. None of these
Show answer

Answer: (c) Both One-to-One and Many-to-Many

Q172. _________ breaks a table into multiple tables based upon common column values.

  1. Horizontal splitting
  2. Vertical splitting
Show answer

Answer: (a) Horizontal splitting

Q173. If w is the window size and n is the size of data set, then the complexity of merging phase in BSN method is___________

  1. O (n)
  2. O (w)
  3. O(w × n)
  4. O (w log n)
Show answer

Answer: (c) O(w × n)

Q174. ______ is class of Decision Support Environment.

  1. OLTP
  2. OLAP
  3. DBMS
  4. Network
Show answer

Answer: (b) OLAP

Q175. For a relation to be in 4NF it must be:

  1. In 2NF if and only if it is in first normal form and all nonkey attributes are fully functionally dependent on
  2. In 3NF and every non-key column is non-transitively dependent upon its primary key
  3. In 3NF and every non-key column is non-transitively dependent upon its Foreign key
  4. In 3NF and It does not have multi valued dependencies
Show answer

Answer: (d) In 3NF and It does not have multi valued dependencies

Q176. Horizontal splitting breaks a table into multiple tables based upon_______

  1. Common Row values
  2. Range of Data
  3. Redundant data
  4. Common column values
Show answer

Answer: (d) Common column values

Q177. The fact table is a way of visualizing as an _____cube

  1. Rolled Up
  2. Un-rolled
  3. Rolled Down
  4. None of these
Show answer

Answer: (b) Un-rolled

Q178. MOLAP physically builds "cubes" for direct access in a multi-dimensional database (MDD) Therefore _______is not supported.

  1. One-to-One
  2. Facts
  3. ANSI SQL
  4. Dimensions
  5. None of these
Show answer

Answer: (c) ANSI SQL

Q179. A data warehouse may include

  1. Legacy systems
  2. Only internal data sources
  3. Privacy restrictions
  4. Small data mart
Show answer

Answer: (a) Legacy systems

Q180. De-Normalization normally speeds up

  1. Data Retrieval
  2. Data Modification
  3. Development Cycle
  4. Data Replication
Show answer

Answer: (a) Data Retrieval

Q181. The key idea behind ___________ is to take a big task and break it into subtasks that can be processed concurrently on a stream of data inputs in multiple, overlapping stages of execution.

  1. Pipeline Parallelism
  2. Overlapped Parallelism
  3. Massive Parallelism
  4. Distributed Parallelism
Show answer

Answer: (a) Pipeline Parallelism

Q182. Non uniform distribution, when the data is distributed across the processors, is called ______.

  1. Skew in Partition
  2. Pipeline Distribution
  3. Distributed Distribution
  4. Uncontrolled Distribution
Show answer

Answer: (a) Skew in Partition

Q183. ________ is the technique in which existing heterogeneous segments are reshuffled, relocated into homogeneous segments.

  1. Clustering
  2. Aggregation
  3. Segmentation
  4. Partitioning
Show answer

Answer: (a) Clustering

Q184. To measure or quantify the similarity or dissimilarity, different techniques are available. Which of the following option represent the name of available techniques?

  1. Pearson correlation is the only technique
  2. Euclidean distance is the only technique
  3. Both Pearson correlation and Euclidean distance
  4. None of these
Show answer

Answer: (c) Both Pearson correlation and Euclidean distance

Q185. For a given data set, to get a global view in un-supervised learning we use

  1. One-way Clustering
  2. Bi-clustering
  3. Pearson correlation
  4. Euclidean distance
Show answer

Answer: (a) One-way Clustering

Q186. In DWH project, it is assured that ___________ environment is similar to the production environment

  1. Designing
  2. Development
  3. Analysis
  4. Implementation
Show answer

Answer: (b) Development

Q187. For a DWH project, the key requirement are ________ and product experience.

  1. Tools
  2. Industry
  3. Software
  4. None of these
Show answer

Answer: (b) Industry

Q188. Pipeline parallelism focuses on increasing throughput of task execution, NOT on __________ sub-task execution time.

  1. Increasing
  2. Decreasing
  3. Maintaining
  4. None of these
Show answer

Answer: (b) Decreasing

Q189. Many data warehouse project teams waste enormous amounts of time searching in vain for a _______.

  1. Silver Bullet
  2. Golden Bullet
  3. Suitable Hardware
  4. Compatible Product
Show answer

Answer: (a) Silver Bullet

Q190. Focusing on data warehouse delivery only often end up _________.

  1. Rebuilding
  2. Success
  3. Good Stable Product
  4. None of these
Show answer

Answer: (a) Rebuilding

Q191. Pakistan is one of the five major ________ countries in the world.

  1. Cotton-growing
  2. Rice-growing
  3. Weapon Producing
Show answer

Answer: (a) Cotton-growing

Q192. _____________ is a process which involves gathering of information about column through execution of certain queries with intention to identify erroneous records.

  1. Data profiling
  2. Data Anomaly Detection
  3. Record Duplicate Detection
  4. None of these
Show answer

Answer: (a) Data profiling

Q193. DSS queries do not involve a primary key

  1. True
  2. False
Show answer

Answer: (a) True

Q194. _____ contributes to an under-utilization of valuable and expensive historical data, and inevitably results in a limitedcapability to provide decision support and analysis.

  1. The lack of data integration and standardization
  2. Missing Data
  3. Data Stored in Heterogeneous Sources
Show answer

Answer: (a) The lack of data integration and standardization

Q195. DTS allows us to connect through any data source or destination that is supported by ____________

  1. OLE DB
  2. OLAP
  3. OLTP
  4. Data Warehouse
Show answer

Answer: (a) OLE DB

Q196. Data Transformation Services (DTS) provide a set of _____ that lets you extract, transform, and consolidate data from disparate sources into single or multiple destinations supported by DTS connectivity.

  1. Tools
  2. Documentations
  3. Guidelines
Show answer

Answer: (a) Tools

Q197. Execution can be completed successfully or it may be stopped due to some error. In case of successful completion of execution all the transactions will be ___________

  1. Committed to the database
  2. Rolled back
Show answer

Answer: (a) Committed to the database

Q198. If some error occurs, execution will be terminated abnormally and all transactions will be rolled back. In this case when we will access the database we will find it in the state that was before the ____________.

  1. Execution of package
  2. Creation of package
  3. Connection of package
Show answer

Answer: (a) Execution of package

Q199. To judge effectiveness we perform data profiling twice.

  1. One before Extraction and the other after Extraction
  2. One before Transformation and the other after Transformation
  3. One before Loading and the other after Loading
Show answer

Answer: (b) One before Transformation and the other after Transformation

Q200. Pre-computed _______ can solve performance problems

  1. Aggregates
  2. Facts
  3. Dimensions
Show answer

Answer: (a) Aggregates

Q201. The degree of similarity between two records, often measured by a numerical value between _______, usually depends on application characteristics.

  1. 0 and 1
  2. 0 and 10
  3. 0 and 100
  4. 0 and 99
Show answer

Answer: (a) 0 and 1

Q202. The purpose of the House of Quality technique is to reduce ______ types of risk.

  1. Two
  2. Three
  3. Four
  4. All
Show answer

Answer: (a) Two

Q203. NUMA stands for __________

  1. Non-uniform Memory Access
  2. Non-updateable Memory Architecture
  3. New Universal Memory Architecture
Show answer

Answer: (a) Non-uniform Memory Access

Q204. There are many variants of the traditional nested-loop join. If the index is built as part of the query plan and subsequently dropped, it is called

  1. Naive nested-loop join
  2. Index nested-loop join
  3. Temporary index nested-loop join
  4. None of these
Show answer

Answer: (c) Temporary index nested-loop join

Q205. Data mining derives its name from the similarities between searching for valuable business information in a large database, for example, finding linked products in gigabytes of store scanner data, and mining a mountain for a _________ of valuable ore.

  1. Furrow
  2. Streak
  3. Trough
  4. Vein
Show answer

Answer: (d) Vein

Q206. With data mining, the best way to accomplish this is by setting aside some of your data in a ________ to isolate it from the mining process; once the mining is complete, the results can be tested against the isolated data to confirm the model's validity.

  1. Cell
  2. Disk
  3. Folder
  4. Vault
Show answer

Answer: (d) Vault

Q207. The Kimball s iterative data warehouse development approach drew on decades of experience to develop the _________.

  1. Business Dimensional Lifecycle
  2. Data Warehouse Dimension
  3. Business Definition Lifecycle
  4. OLAP Dimension
Show answer

Answer: (a) Business Dimensional Lifecycle

Q208. We must try to find the one access tool that will handle all the needs of their users.

  1. True
  2. False
Show answer

Answer: (b) False

Q209. For a smooth DWH implementation we must be a technologist.

  1. True
  2. False
Show answer

Answer: (b) False

Q210. During the application specification activity, we also must give consideration to the organization of the applications.

  1. True
  2. False
Show answer

Answer: (a) True

Q211. The most recent attack is the ________ attack on the cotton crop during 2003-04, resulting in a loss of nearly 0.5 million bales.

  1. Boll Worm
  2. Purple Worm
  3. Blue Worm
  4. Cotton Worm
Show answer

Answer: (a) Boll Worm

Q212. A single database, couldn‟t serve both operational high performance transaction processing and DSS, analytical processing, all at the same time.

  1. True
  2. False
Show answer

Answer: (a) True

Q213. B-Tree is used as an index to provide access to records

  1. Without scanning the entire table
  2. By scanning the entire meta data
  3. By scanning the entire table
  4. None of these
Show answer

Answer: (a) Without scanning the entire table

Q214. Ad-hoc access means to run such queries which are known already.

  1. True
  2. False
Show answer

Answer: (b) False

Q215. _____modeling technique is more appropriate for data warehouses.

  1. entity-relationship
  2. dimensional
  3. physical
  4. None of the given
Show answer

Answer: (b) dimensional

Q216. Data mining uses _________ algorithms to discover patterns and regularities in data.

  1. Mathematical
  2. Computational
  3. Statistical
  4. None of these
Show answer

Answer: (c) Statistical

Q217. If every key in the data file is represented in the index file then index is

  1. Dense Index
  2. Sparse Index
  3. Inverted Index
  4. None of these
Show answer

Answer: (a) Dense Index

Q218. _______________, if too big and does not fit into memory, will be expensive when used to find a record by given key.

  1. An Inverted Index
  2. A Sparse Index
  3. A Dense Index
  4. None of these
Show answer

Answer: (c) A Dense Index

Q219. To identify the __________________ required we need to perform data profiling

  1. Degree of Transformation
  2. Complexity
  3. Cost
  4. Time
Show answer

Answer: (a) Degree of Transformation

Q220. Companies collect and record their own operational data, but at the same time they also use reference data obtained from _______ sources such as codes, prices etc.

  1. Operational
  2. None of these
  3. Internal
  4. External
Show answer

Answer: (d) External

Q221. ____________ in agriculture extension is that pest population beyond which the benefit of spraying outweighs its cost.

  1. Profit Threshold Level
  2. Economic Threshold Level
  3. Medicine Threshold Level
  4. None of these
Show answer

Answer: (b) Economic Threshold Level

Q222. The _________ is only a small part in realizing the true business value buried within the mountain of data collected and stored within organizations business systems and operational databases.

  1. Independence on technology
  2. Dependence on technology
  3. None of these
Show answer

Answer: (b) Dependence on technology

Q223. An optimized structure which is built primarily for retrieval, with update being only a secondary consideration is

  1. OLTP
  2. OLAP
  3. DSS
  4. Inverted Index
Show answer

Answer: (d) Inverted Index

Q224. If someone told you that he had a good model to predict customer usage, the first thing you might try would be to ask him to apply his model to your customer _______, where you already knew the answer.

  1. Base
  2. Drive
  3. File
  4. Log
Show answer

Answer: (a) Base

Q225. The automated, prospective analyses offered by data mining move beyond the analyses of past events provided by _____________ tools typical of decision support systems.

  1. Introspective
  2. Intuitive
  3. Reminiscent
  4. Retrospective
Show answer

Answer: (d) Retrospective

Q226. With data mining, the best way to accomplish this is by setting aside some of your data in a vault to isolate it from the mining process; once the mining is complete, the results can be tested against the isolated data to confirm the model's _______.

  1. Validity
  2. Security
  3. Integrity
  4. None of these
Show answer

Answer: (a) Validity

Q227. People that design and build the data warehouse must be capable of working across the organization at all levels

  1. True
  2. False
Show answer

Answer: (a) True

Q228. The performance in a MOLAP cube comes from the O(1) look-up time for the array data structure.

  1. True
  2. False
Show answer

Answer: (a) True

Q229. Slice and Dice is changing the view of the data.

  1. True
  2. False
Show answer

Answer: (b) False

Q230. In a traditional MIS system, there is an almost linear sequence of queries.

  1. True
  2. False
Show answer

Answer: (a) True

Q231. The STAR schema used for data design is a __________ consisting of fact and dimension tables.

  1. Network model
  2. Relational model
  3. Hierarchical data model
  4. None of the given
Show answer

Answer: (b) Relational model

Q232. If there are N records in a table, then the selectivity of primary key column is

  1. 1/N
  2. N/2
  3. lg(N)
Show answer

Answer: (a) 1/N

Q233. _________ is one class of decision support environment.

  1. OLAP
  2. OLTP
  3. Data Cleansing
  4. ETL
Show answer

Answer: (a) OLAP

Q234. The users of data warehouse are ________

  1. Decision makers
  2. Knowledge workers
  3. Both Knowledge workers and Decision makers
Show answer

Answer: (c) Both Knowledge workers and Decision makers

Q235. Effects of de-normalization on database performance are

  1. Unpredictable
  2. Predictable
  3. Conventional
  4. Unsurprising
Show answer

Answer: (a) Unpredictable

Q236. De-Normalization normally slows down

  1. Data Retrieval
  2. Data Modification
  3. Development Cycle
  4. Data Replication
Show answer

Answer: (b) Data Modification

Q237. Geography is a good example of

  1. One-dimensional Hierarchy
  2. Multidimensional Hierarchy
  3. Non-Dimensional
  4. Linear Hierarchy
Show answer

Answer: (b) Multidimensional Hierarchy

Q238. Partition elimination is not possible with

  1. Round-Robin
  2. De-normalization
  3. Normalization
Show answer

Answer: (a) Round-Robin

Q239. OLAP is Analytical processing instead of Transaction processing, and OLAP is a

  1. Physical database design
  2. Implementation technique
  3. Framework
Show answer

Answer: (c) Framework

Q240. ER is a _______ design technique that seeks to remove the redundancy in data.

  1. Logical
  2. Physical
  3. Data Dependent
  4. Transaction Dependent
Show answer

Answer: (a) Logical

Q241. In full extraction, data is extracted completely from the source system. Therefore there is no need to keep track of changes to the ________

  1. Data Source
  2. DWH
  3. Data Mart
Show answer

Answer: (a) Data Source

Q242. Lexical errors fall in which type of class of anomalies

  1. Syntactically Dirty Data
  2. Semantically Dirty Data
  3. Coverage Anomalies
  4. Missing Values Anomalies
Show answer

Answer: (a) Syntactically Dirty Data

Q243. As consumers, human beings judge the quality of things during their life-time. I Consciously II Subconsciously III Unconsciously Which of the following statement is true?

  1. I Only
  2. II Only
  3. III Only
  4. I & II Only
Show answer

Answer: (d) I & II Only

Q244. Which of the following statement is true? 1 GB is

  1. 2^30 or 10^9 bytes
  2. 2^30 or 10^6 bytes
  3. 2^32 or 10^9 bytes
  4. 2^32 or 10^8 bytes
Show answer

Answer: (a) 2^30 or 10^9 bytes

Q245. After implementing Change Data Capture, the advantage we have is that, data is able to be integrated and transformed __________

  1. In-flight
  2. Off-flight
  3. Stored Data
  4. Over-flight
Show answer

Answer: (a) In-flight

Q246. _____________ queries deal with number of variables spanning across number of tables (i.e. join operations) and looking at lots of historical data.

  1. OLTP
  2. DBMS
  3. DSS
  4. ETL
Show answer

Answer: (c) DSS

Q247. In data warehouse, a query results in retrieval of hundreds of records from very large table. the ratio of number of records retrieved to total number of records present is high and selectivity is:

  1. Low
  2. High
  3. Average
  4. Non computable
Show answer

Answer: (a) Low

Q248. At small scale e.g. hundreds of rows, difference between performance of complexity algorithms "O(n lg n)" and "O(n2) is not _____________.

  1. Noticeable
  2. Small
  3. Symmetric
  4. Asymmetric
Show answer

Answer: (a) Noticeable
Why: The shared key marked "Asymmetric", which does not fit the sentence. For a few hundred rows both algorithms finish almost instantly, so the difference is not noticeable.

Q249. Collapsing tables can be done on the ___________ relationship(s)

  1. Only One-to-One
  2. Only Many-to-Many
  3. Only One-to-Many
  4. Both One-to-One and Many-to-Many
Show answer

Answer: (d) Both One-to-One and Many-to-Many

Q250. HOLAP provides a combination of relational database access and cube data structures. The goal is to get the best of both MOLAP and ROLAP i.e.

  1. Scalability and high performance
  2. Backward compatibility to RDBMS
  3. Forward compatibility to new DBMS
  4. Usability of new DBMS
Show answer

Answer: (a) Scalability and high performance

Q251. Primary key is repeated in ___________ splitting.

  1. Horizontal
  2. Vertical
  3. Cross
  4. Diagonal
Show answer

Answer: (b) Vertical

Q252. Merging information is one of the major types of ________________

  1. Transformation
  2. Extraction
  3. Loading
  4. Updation
Show answer

Answer: (a) Transformation

Q253. Multi-value dependencies are removed in _______________

  1. 1st Normal form
  2. 2nd Normal form
  3. 3rd Normal form
  4. 4th Normal form
Show answer

Answer: (d) 4th Normal form

Q254. To handle dimensions that require the aggregation of multiple data quality indicators, which of the following operations can be applied:

  1. Minimum or Maximum
  2. Complex Ratio
  3. Aggregate Average
  4. Weighted Ratio
Show answer

Answer: (a) Minimum or Maximum

Q255. Full and Incremental extraction techniques are types of ___________

  1. Logical Extraction
  2. Physical Extraction
  3. Both Logical Extraction and Physical Extraction
  4. Semantic Extraction
Show answer

Answer: (a) Logical Extraction

Q256. "The environment is smart enough to develop or compute higher level aggregates using lower level or more detailed aggregates". Which of the following approach is described by the above statement?

  1. Aggregate awareness
  2. Cube partitioning
  3. Indexing
  4. MOLAP cube aggregation
Show answer

Answer: (a) Aggregate awareness

Q257. ER Model can be simplified in ______ ways

  1. One
  2. Two
  3. Three
  4. Four
Show answer

Answer: (b) Two

Q258. Non recording facts have a disadvantage that it has

  1. Lack of Information
  2. Redundant Information
  3. Repeated Information
  4. Normalized Information
Show answer

Answer: (a) Lack of Information

Q259. Fact-less fact table is a fact table without numeric fact columns. It is used to capture relationship between __________

  1. Dimensions
  2. Attributes
  3. Tables
  4. Facts
Show answer

Answer: (a) Dimensions

Q260. A cube is not a data warehouse, it is a _______________

  1. Data Mart
  2. Data Extraction
  3. Data Loading
  4. Query Manager
Show answer

Answer: (a) Data Mart

Q261. If we remove the modification anomalies the table comes in ________ form

  1. 1NF
  2. 2NF
  3. 3NF
  4. 4NF
Show answer

Answer: (c) 3NF

Q262. Modification anomalies occur in _________ form

  1. 1NF
  2. 2NF
  3. 3NF
  4. BCNF
Show answer

Answer: (b) 2NF

Q263. ______ is the lowest level of detail or the atomic level of data stored in the warehouse.

  1. Aggregate
  2. Cube
  3. Grain
  4. Virtual Cube
Show answer

Answer: (c) Grain

Q264. Redundancy causes _________ anomalies

  1. Update
  2. Select
  3. Both Update & Select
  4. None of these
Show answer

Answer: (a) Update

Q265. Which of the following statement is true? 1 PB is

  1. 2^52 or 10^13 bytes
  2. 2^50 or 10^15 bytes
  3. 2^50 or 10^10 bytes
  4. 2^48 or 10^12 bytes
Show answer

Answer: (b) 2^50 or 10^15 bytes

Q266. Normalized design is likely to perform much faster than de-normalized design for queries that probe

  1. Master table only
  2. Details tables only
  3. Both master and detail tables
Show answer

Answer: (a) Master table only

Q267. Growth of master files and magnetic tapes exploded around

  1. mid-1970s
  2. mid-1980s
  3. mid-1960s
  4. mid-1950s
Show answer

Answer: (c) mid-1960s

Q268. Table collapsing technique is applied in case of:

  1. One-to-one relation or many-to-many relation
  2. One-to-many relation
  3. Many -to-one relation
  4. None of the given options
Show answer

Answer: (a) One-to-one relation or many-to-many relation

Q269. In ____________ nested-loop join of quadratic time complexity does not hurt the performance

  1. Typical OLTP environments
  2. Data warehouse
  3. DSS
  4. OLAP
Show answer

Answer: (a) Typical OLTP environments

Q270. Which is the most complex type of transformation in the following?

  1. Many-to-many element transformation
  2. One-to-one scalar transformation
  3. One-to-many element transformation
  4. All the given option
Show answer

Answer: (a) Many-to-many element transformation

Q271. Telecommunication data warehouse is dominated by the ______ volume of data generated at the call level.

  1. Partial
  2. Incomplete
  3. Sheer
  4. Semi-complete
Show answer

Answer: (c) Sheer

Q272. Time Complexity of Basic Sorted Neighborhood (BSN) Method is __________.

  1. O(n log n)
  2. O(log n)
  3. O(n)
  4. O(2n)
Show answer

Answer: (a) O(n log n)

Q273. Decision support system (DSS) is a/an

  1. Collection of relational database management systems
  2. Decision tree where each node represent a decision
  3. Interactive system which enable decision makers to use databases and solve un-structured problems
  4. Single database of an organization
Show answer

Answer: (c) Interactive system which enable decision makers to use databases and solve un-structured problems

Q274. The ______ dimension represents data correctness.

  1. Free-of-error
  2. Completeness
  3. Consistency
  4. Correctness
Show answer

Answer: (a) Free-of-error
Why: Free-of-error is the quality dimension that stands for data correctness.

Q275. The ______ operator is conservative in that it assigns to the dimension an aggregate value no higher than the value of its weakest data quality indicator.

  1. Min
  2. Max
  3. Min and Max
  4. None of given
Show answer

Answer: (a) Min

Q276. Identify data warehouse query from the following:

  1. Number of students studying CS614 course
  2. Factors which can affect students' performance
  3. List of students belong to Lahore city
  4. Total number of students that have 3.5 CGPA
Show answer

Answer: (b) Factors which can affect students' performance

Q277. The task is typically performed after most other transformation and cleaning steps have taken place.

  1. Data extraction
  2. Data Duplicate elimination
  3. Data transformation
  4. Data loading
Show answer

Answer: (b) Data Duplicate elimination

Q278. Relational modeling techniques are used to develop __________ systems.

  1. OLTP
  2. MOLAP
  3. OLAP
  4. ROLAP
Show answer

Answer: (a) OLTP

Q279. The hybrid OLAP (HOLAP) solution is a mix of __________ architectures that supports queries against summary and transaction data in an integrated fashion.

  1. ROLAP
  2. OLTP
  3. MOLAP and ROLAP
  4. MOLAP
Show answer

Answer: (c) MOLAP and ROLAP

Q280. The response times of OLTP queries are in milliseconds to seconds, while that of data warehouse queries are in:

  1. Days to weeks
  2. Hours to days
  3. Milliseconds to microseconds
  4. Minutes to hours
Show answer

Answer: (d) Minutes to hours

Q281. __________ are created out from the data warehouse to service different needs of departments in the organization.

  1. Databases
  2. Data marts
  3. MIS
  4. Tables
Show answer

Answer: (b) Data marts

Q282. __________ incorporates the concept of product quality, process control, quality assurance, and quality improvement.

  1. Intrinsic Data Quality Management
  2. Realistic Data Quality Management
  3. Total Quality Management
  4. Strong Data Quality Management
Show answer

Answer: (c) Total Quality Management

Q283. The last step of Software Development Life Cycle (SDLC) is implementation, while that of data warehouse is:

  1. Integration
  2. Understanding requirements
  3. Testing
  4. Analysis
Show answer

Answer: (b) Understanding requirements

Q284. One of the main reasons for the failure of DWH deployments is __________.

  1. Data anomaly
  2. Data integrity
  3. Data quality
  4. Data duplication
Show answer

Answer: (c) Data quality

Part 2: Subjective Questions

Q1. What is aggregate awareness? How does it help users, and under what condition can smart tools build a less detailed aggregate from a more detailed one? (3 marks)

Aggregate awareness means the front-end or query tool knows which pre-built summary tables exist and uses them automatically. The environment is smart enough to compute higher-level aggregates from lower-level (more detailed) aggregates instead of going all the way down to the detail data for every query.

  • Benefit: queries run much faster because they read small summary tables, and the user does not need to know which table to pick.
  • Condition: the metrics must be additive (sums, counts). Ratios, averages and percentages cannot be rebuilt from lower-level aggregates by simple addition.

Q2. Differentiate between one-to-one (scalar) and one-to-many transformation. Give an example of each. (2 marks)

One-to-one (simple scalar)One-to-many (element)
MeaningOne source value maps to one target value using straightforward rules.One source data element produces several columns in the data warehouse.
ComplexitySimplest transformation.More complex; needs a parsing algorithm.
ExampleGender stored as "Male"/"Female" becomes "M"/"F".A 6x30 address field is parsed into street line 1, line 2, city, state and zip code. Or phone "92-42-1234567" is split into country code, area code and number.

Q3. How is a cube created in ROLAP? (3 marks)

A cube is a logical entity that holds the values of a certain fact at a certain aggregation level, at the intersection of a combination of dimensions. In ROLAP no cube is stored physically. The ROLAP engine builds it logically when a query arrives: it generates ANSI SQL (joins plus GROUP BY) against the star schema and, where available, uses pre-computed summary tables, then presents the result as a cube.

Q4. What are timestamps in the context of data extraction (change data capture)? (2 marks)

Some operational tables have a column that records the date and time a row was last modified. If such columns exist, the latest data can be identified easily: the extraction process simply picks the rows whose timestamp is newer than the time of the previous extraction. It is one of the CDC techniques used in modern source systems (the others being triggers and partitioning).

Limitation: it only works if every source table actually has a reliable timestamp column, and deleted rows are not seen.

Q5. What are the factors behind poor data quality? (5 marks)

Main sources of data pollution:

  • System conversions and migrations
  • Integration of heterogeneous systems
  • Inadequate database design of source systems
  • Data aging
  • Incomplete information from customers
  • Input (data entry) errors
  • Internationalization/localization of systems
  • Lack of data management policies and procedures

Typical data quality problems that result: dummy values in fields, absence of data, multipurpose fields, cryptic data, contradicting data, improper use of name and address lines, violation of business rules, reused primary keys and non-unique identifiers.

Q6. Which de-normalization technique reduces the number of foreign keys in a relation? Explain it. (5 marks)

Collapsing tables. Two tables, usually in a one-to-one relationship, are merged into one.

  • Reduced storage space
  • Less time for data updates
  • Fewer foreign keys on tables
  • Fewer indexes (most indexes are built on primary/foreign keys)

Collapsing tables in a one-to-one relationship has fewer drawbacks than the other de-normalization techniques.

Q7. Differentiate between low granularity and high granularity. (2 marks)

Granularity is the level of detail at which data is stored in the warehouse. The usual (Inmon) convention is:

Low granularityHigh granularity
Level of detailVery detailed (atomic) data, e.g. every individual transactionSummarized data, e.g. daily or monthly totals
StorageNeeds a lot of spaceNeeds much less space
QueriesCan answer almost any question, but slowerFast, but cannot answer questions below its level

Note: some books use the opposite wording ("finer" granularity for more detail). Check which convention your lecture handout uses; the table above states the idea in terms of detail so it stays clear either way.

Q8. Why are summarization and aggregation required during data transformation? (3 marks)

It is often not feasible, and not necessary, to keep data at the lowest level of detail. Reasons:

  • Grain mismatch: users do not need the lowest level, or there is no space to store it.
  • Data marts need only low-detail (summarized) data.
  • Detail loses its utility with time.

Example: for a grocery chain, every checkout transaction need not be stored. Sales by product, by store, by day may be quite adequate, so the transformation step summarizes daily sales by product and store.

Q9. How do clustering and association rules work? (3 marks)

Clustering reshuffles and relocates existing segments of (mostly heterogeneous) data so that the new segments contain more homogeneous items. Example: fruits segmented by colour give a green segment holding apples, grapes and so on. Clustering regroups them so that all apples form one cluster (red, green or yellow) and all grapes another.

Association rules find items that occur together. A rule has the form if A then B and is measured by support (how often A and B appear together) and confidence (how often B appears when A does). Example: customers who buy bread often also buy butter, so the two are placed close together.

Q10. Why are the individual components of names and addresses stored in separate fields in the data warehouse (splitting of a single field)? (5 marks)

  • Performance: separate fields can be indexed individually, so queries on a component (for example city) are faster.
  • Analysis: users can analyse by individual components such as road, sector, city, state.
  • Matching and cleansing: it is easier to match and de-duplicate records, and to join parts coming from different source systems.

Q11. Explain additive and non-additive facts with examples. (5 marks)

Additive facts give a correct result when added across dimensions. Examples: quantity sold, sales amount.

Non-additive facts can be stored, but adding them gives wrong results. Examples: averages, percentages (discount %), ratios (gross margin), unit price.

Illustration: three instances of 5 sum to 15 with an average of 5; 5 and 10 sum to 15 with an average of 7.5. Averaging 5 and 7.5 gives 6.25, but the true average of all five numbers (sum 30) is 6. So adding averages gives a wrong answer, even though averages are legitimate facts.

Semi-additive facts (for example account balance) can be added across some dimensions but not across time.

Q12. Scenario: Table 1 shows serial no. with number of items sold (20, 50, 40; total 110). Table 2 shows serial no. with % discount (41, 52, 46; total 139). Which is additive and which is non-additive? Give the reason. (3 marks)

Table 1 (items sold) is additive: the total 20 + 50 + 40 = 110 is meaningful, so summing across rows gives a correct figure.

Table 2 (% discount) is non-additive: percentages cannot be summed; a "total discount" of 139% has no meaning. Use an average or recompute from the underlying amounts instead.

Note: the shared question printed 249 as the total of the discount column, but 41 + 52 + 46 = 139. The conclusion does not change.

Q13. What is expression partitioning and when is it used? (3 marks)

Expression partitioning is used when an expression (for example a CASE or function on a column) can group data together so that most queries need to touch only a small set of partitions. It is deployed when such expressions cover a significant portion of the data warehouse workload, so access can be targeted to a few partitions and the rest are skipped (partition elimination).

Q14. What is HOLAP? Describe its features. (5 marks)

  • HOLAP (hybrid OLAP) is a mix of MOLAP and ROLAP architectures. It supports queries against both summary and transaction (detail) data in an integrated way.
  • It uses MOLAP cubes for common access paths with small dimension cardinality and few dimensions, and relational structures when greater scalability is needed.
  • The goal is the best of both worlds: scalability (relational) and high performance (pre-built cubes).
  • If a user reaches the bottom of the multidimensional hierarchy and needs more detail, the HOLAP engine automatically generates SQL to fetch it from the source RDBMS, transparently to the user.
  • Drawback: HOLAP architectures are more complex to implement and administer than pure MOLAP or ROLAP.

Q15. As manager of a data warehouse, how will you validate the data (data quality validation techniques)? (5 marks)

Common data quality validation techniques:

  • Referential integrity checks: every foreign key must have a matching primary key.
  • Data quality rules / attribute domain validation: values must fall inside the allowed domain, range and format (for example birth date not in the future, valid gender codes).
  • Data histogramming: plot value frequencies to spot outliers and unexpected spikes.
  • Data profiling before and after transformation to confirm the quality improved.

Best practice: when defects are found, fix them at the source system and not only in the warehouse.

Q16. What are the purposes of data profiling? (3 marks)

Data profiling gathers information about columns (by running queries) with the aim of finding erroneous records. It should:

  • Identify the type and extent of transformation required.
  • Show how many columns need transformation and which transformation each needs (for example date format or gender convention).
  • Give a detailed view of data quality: the number of erroneous values and of values outside the domain.

Q17. Define full extraction and incremental extraction. Differentiate between them. (5 marks)

Full extractionIncremental extraction
Data extractedEverything, completely, from the source systemOnly data after a well-defined point or event in time
Tracking changesNot neededNeeded; a column or table records the temporal changes
Data givenAs-is, with no additional informationWith a mechanism (timestamp, log, trigger) to find the changes
ImpactSimple, but heavy for big sourcesCan have a significant performance impact on the data warehouse server

Both are logical extraction methods.

Q18. Round-robin distribution is pre-defined. Do you agree? Explain with arguments. Also compare round-robin and hash partitioning. (3 marks)

No, I do not agree. Round-robin distribution is not pre-defined. It simply spreads rows evenly across partitions in turn, so it does not depend on the data values and does not support partition elimination.

  • Round-robin: even spread, but no partition elimination and no co-location with other tables. Typically used only for temporary tables where these do not matter.
  • Hash: a hash function on a column decides the partition. Good and easy alternative to range partitioning when data is not historical and there is no obvious column for range pruning. Allows co-location of tables, though not partition elimination for range queries.

Q19. What is the merge/purge problem? (3 marks)

When several databases are merged (data cleansing in a data warehouse), records referring to the same real-world entity may appear in different formats or with errors. The merged database then contains duplicate records. Identifying and eliminating these duplicates is called the merge/purge problem.

Matching is done with a distance function (for example edit distance) and methods such as the Sorted Neighborhood Method.

Q20. Define quality with a real-life example. Differentiate between intrinsic and realistic data quality. (5 marks)

  • Quality means meeting the customer's needs, not necessarily exceeding them, and improving the things customers actually care about.
  • Example: Rolls-Royce went bankrupt in the early 1980s, partly because it polished parts luxury customers felt were irrelevant, which pushed the price beyond the value they saw. Lexus, on the other hand, asked its existing customers (even visiting their homes) before redesigning its car.
Intrinsic data qualityRealistic data quality
MeaningData accuracy: how well data reflects the real-world object it representsDegree of utility and value the data has for supporting enterprise processes
Question it answersIs the data correct?Does the data help knowledge workers meet enterprise objectives efficiently?
MeasureCorrectness of facts about the entityCustomer (user) satisfaction

Q21. Define erroneous data with an example. (3 marks)

Erroneous data is data that is wrong or invalid; it comes from non-primary-key problems. It causes unnecessary cost and a bad reputation when used to support business processes.

Example: a company uses a consumer address list for direct mailing of a new product. Invalid addresses make letters come back undeliverable. Duplicate people receive several letters, wasting money and annoying them. Wrong buying-habit data targets the wrong group, so the advertised products do not match consumers' needs.

Q22. Why is aggregation one-way? Give an example. (3 marks)

You can create aggregates from detail data, but you cannot recover the original detail data from the aggregates, because many different detail sets give the same aggregate.

Example: 3 + 2 + 1 = 6, but 2 + 4 = 6 and 5 + 1 = 6 too. Given only 6, we cannot tell which detail values produced it.

Q23. Differentiate between knowledge-driven DSS and model-driven DSS. (3 marks)

Knowledge-driven DSSModel-driven DSS
Based onExpert-system technology, a knowledge base and logical rulesA model: a sequence of predefined instructions
Works byReasoning about the input to suggest a solutionResponding to a change in inputs by running the model

Q24. What is a distance function? Name alternative distance functions for typographical mistakes. (3 marks)

A distance function gives a numerical value (usually between 0 and 1) for the degree of similarity between two records or strings. It is used to decide whether two records refer to the same entity.

Alternatives for typographical mistakes: edit distance, phonetic distance and typewriter (keyboard) distance.

Q25. What are the good features of DOLAP that distinguish it from other OLAP types? (5 marks)

  • DOLAP is a simplified version of MOLAP or ROLAP.
  • It is inexpensive, fast and easy to set up on small data sets (thousands of rows, not millions).
  • It provides a specific cube for the analysis.
  • It allows a cube to be downloaded to a desktop, so there is no need for a shared relational or cube server. This supports mobile users such as sales staff.
  • Disadvantage: it cannot manage large data sets.

Q26. What are the drawbacks of MOLAP? Explain the curse of dimensionality. (5 marks)

  • Limited data size: all calculations are done when the cube is built, so a very large amount of data cannot be held in the cube; only summary-level data goes in.
  • Additional investment: cube technology is often proprietary, so extra human and capital resources are needed.
  • Maintenance: every incoming data item must be aggregated into every cube.
  • Storage: building hundreds of cubes needs a lot of space.

Curse of dimensionality: as the number of dimensions (and their cardinality) grows, the number of cube cells multiplies, so the cube size grows very quickly and MOLAP has difficulty scaling.

Q27. Describe Orr's laws of data quality. (5 marks)

  1. "Data that is not used cannot be correct!"
  2. "Data quality is a function of its use, not its collection!"
  3. "Data will be no better than its most stringent use!"
  4. "Data quality problems increase with the age of the system!"
  5. "The less likely something is to occur, the more traumatic it will be when it happens!"

Law 5 means rare events (for example a very unusual data error) are not planned for, so when they do occur the damage is large.

Q28. What is a fact table? (2 marks)

In dimensional modeling every model has one central table with a multipart key, the fact table, and a set of smaller dimension tables. The fact table holds the numeric measures (facts) of a business process, and each part of its key is a foreign key to one dimension table. It can be visualised as an "un-rolled" cube.

Q29. What is an active data warehouse? (2 marks)

An active data warehouse (ADW) is a data warehouse implementation that supports near-time or near-real-time decision making.

Q30. What are lexical (syntactical) errors? (2 marks)

A lexical error is a kind of syntactically dirty data: the actual structure of the data does not conform to the specified format. Example: a table is expected to have five columns because each tuple has five attributes, but some or all rows contain only four. Other syntactic problems are domain-format errors and irregularities such as non-uniform use of abbreviations, units and values.

Q31. What is ELT? Where and why is it used? (3 marks)

ELT = Extract, Load, Transform. Data is extracted and loaded into the target database first, and the transformation takes place inside the data warehouse server.

Why: if the warehouse is a parallel database, the transformation gets that parallelism for free, and there is no need to buy a separate transformation tool. It is used where the target database is powerful enough to do the transformation work.

Q32. Define physical extraction. Differentiate between online and offline extraction. (5 marks)

Depending on the logical method chosen and the limits on the source side, data is physically extracted in two ways.

Online extractionOffline extraction
SourceDirectly from the source system, or from an intermediate system that stores data in a pre-configured way (snapshot logs, change tables)Staged explicitly outside the source system
StructureSource tables themselvesData already has a structure (redo/archive logs, transportable table-spaces) or is created by an extraction routine
ExamplesDirect connection to source tablesFlat files, dump files, redo and archive logs, transportable table-spaces

Q33. Into how many steps can data cleansing be broken down? Name them. (2 marks)

Six steps: elementizing, standardizing, verifying, matching, house holding and documenting.

Q34. Name four data cleansing techniques. (2 marks)

  1. Statistical: identify outliers using values such as the mean and standard deviation.
  2. Pattern-based: identify fields and records that do not conform to patterns found in most of the data.
  3. Clustering: group similar records and flag the ones that fall outside the groups.
  4. Association rules: use rules with high confidence to find records that violate them.

Q35. How can the Max operator be used in the Min-Max operation on a data quality dimension? (3 marks)

When a data quality dimension (for example timeliness or accessibility) is calculated from several indicators, an operator is needed to combine them:

  • Min operator is conservative: the dimension gets a value no higher than its weakest indicator. Examples: believability and appropriate amount of data.
  • Max operator is more liberal: the dimension takes the value of its best indicator. It is useful in more complex metrics for dimensions such as timeliness and accessibility.

Note: the shared question did not include the dimension it referred to, so this is the general rule.

Q36. What are the benefits of cube partitioning? When is it required? Will you prefer it if queries need joins among the partitioned cubes? (3 marks)

  • MOLAP has a space (scalability) limit. The cube is partitioned to overcome it.
  • One logical cube is spread across several physical cubes, on separate or the same servers.
  • This divide-and-conquer approach reduces the scalability limits of MOLAP.
  • Ideal partitioning is completely invisible to the end user.

Performance caution: if most queries need joins across the partitioned cubes, performance degrades. So partition only when the cube is too big, and choose the partition key so that most queries stay inside one partition.

Q37. Write the benefits of DOLAP, HOLAP, MOLAP and ROLAP. (5 marks)

TypeBenefit
MOLAPPhysically builds cubes (proprietary multi-dimensional format) for direct access: very fast retrieval, good for slicing and dicing, complex calculations are pre-computed. ANSI SQL is not supported.
ROLAPUses a relational database and ANSI standard SQL: scales to large data sets, no proprietary cube technology needed.
HOLAPCombines relational access and cube structures: scalability from relational and speed from pre-built cubes.
DOLAPCube can be downloaded to a desktop with no shared server: cheap, easy to set up, supports mobile users (for example sales force) with slice and dice.

Q38. Duplicate data in the source system: what effect does it have on analysis in the data warehouse? What are the costs of data duplication? (5 marks)

Data warehouses may contain redundant data by design (de-normalization), but duplicates in the source data are errors. Duplication can result in costly errors:

  • False frequency distributions.
  • Incorrect aggregates because of double counting.
  • Difficulty catching fabricated identities (for example credit card companies, where applicants may hide their real identity).

Without accurate identification of duplicates, counts and aggregates give false or misleading statistics, which leads to untrustworthy knowledge and bad decisions. The sources of corruption are data-entry mistakes, faulty sensor readings and malicious activity, and errors pass on to each later copy of the data.

Q39. Briefly describe the features of dimensional modeling. (5 marks)

  • DM is a logical design technique that presents data in a standard, intuitive structure that supports high performance and ease of understanding.
  • It follows the relational model, with some restrictions: every dimensional model has one central fact table with a multipart key and a set of smaller dimension tables.
  • Each dimension table has a single-part primary key that matches exactly one component of the fact table's key. This gives the characteristic star-like structure, the star schema.
  • Facts are numeric measures (for example sales amount); the most useful are additive, because warehouse queries fetch thousands or millions of fact rows and the useful thing to do with them is add them up.

Q40. What are the benefits of change data capture (CDC) in modern systems? Why is CDC considered the most challenging activity in extraction? Name its sources and approaches. (5 marks)

Benefits (log-based/modern CDC):

  • Extraction of changed data is immediate.
  • No loss of history.
  • Flat files are not required.
  • No incremental on-line I/O is required for the log tape.
  • The log captures all update processing.
  • Log processing can be taken off-line.

Why challenging: the warehouse must find only the data that changed since the last load, without disturbing source systems that were not designed for it, across many heterogeneous sources.

Sources: modern systems and legacy systems. Approaches in modern systems: timestamps, triggers and partitioning (a change table can store recently modified data). In legacy systems, the log tape is scanned.

Q41. Differentiate between MOLAP and DOLAP in terms of implementation. (2 marks)

MOLAPDOLAP
OLAP implemented with a multi-dimensional data structure (cubes built on a server).OLAP implemented for desktop decision-support environments; cube is downloaded to the desktop.

Q42. What is web scraping? Give its uses and problems. (3 marks)

Web scraping is applying screen-scraping techniques to the web: extracting data from web pages that contain a lot of data mixed with "junk". It is used to collect data from outside sources (for example prices or listings) for the warehouse.

Problems: limited query interfaces, forms to fill in, free-text fields (for example addresses), inconsistent output (HTML tags that mark fields differ between pages) and changes without notice.

Q43. After transformation, data loading starts. How many data loading strategies are there and when is each used? (5 marks)

  1. Full data refresh with block insert ("block slamming") into an empty table: used for the first load or when the whole table must be rebuilt.
  2. Incremental data refresh with block insert into existing, populated tables: used for periodic loads of new or changed data.
  3. Trickle/continuous feed with constant data collection and loading using row-level insert and update operations: used when the warehouse needs near-real-time data.

Q44. Briefly describe the features of MOLAP. (3 marks)

  • MOLAP cubes are built for fast data retrieval.
  • They are optimal for slicing and dicing.
  • All calculations are pre-generated when the cube is created, so complex calculations return quickly.
  • Uses a proprietary multi-dimensional format; ANSI SQL is not supported.
  • Array look-up gives O(1) access time to a cell.

Q45. Briefly describe the features of the star schema. (3 marks)

  • Dimensional hierarchies are collapsed into a single table for each dimension (some loss of information).
  • A single fact table is created from the detail records.
  • Gives a vastly simplified physical data model with fewer tables (instead of thousands of tables in some ERP systems).
  • Fewer joins, so higher query performance.
  • Needs some additional space because of redundancy.

Q46. Describe the multi-pass Basic Sorted Neighborhood (BSN) approach. How can the limitation "no single key is enough to catch all matching records" be overcome? What are the first steps of BSN? (5 marks)

BSN steps: (1) create a key for every record, (2) sort the records on that key, (3) merge by moving a window of size w over the sorted list and comparing records inside the window.

Limitation: no single key can bring all duplicates close together, so some matches are missed.

Multi-pass approach (the remedy):

  • Run BSN several times independently, each time with a different key and a relatively small window.
  • Each run produces a set of pairs of similar records (this also handles transposition errors).
  • Apply the transitive closure to the pairs: if a is similar to b and b is similar to c, then a, b and c are the same entity.

Complexity: key creation O(n), sorting O(n log n), merging O(w × n).

Q47. What is the relationship between data quality and the value of an application? When are data quality efforts justified? (5 marks)

Data quality is a function of how the data is used (Orr's law 2). The more important the application is to the business, the more it depends on high-quality data, and the more costly bad data becomes.

Data quality efforts are logical (justified) when the cost of poor data, such as wrong decisions, wasted mailings and lost customers, is larger than the cost of cleaning it, and when the data feeds high-value applications. Data that is never used does not need to be cleaned (law 1).

Note: the shared file only pointed to the lecture; this answer is based on Orr's laws and the cost-benefit idea.

Q48. Which cube operation changes the view of data in OLAP? (2 marks)

Pivot (rotate). It turns the cube so that dimensions are shown on different axes, for example swapping rows and columns, which gives a new view of the same data. (Slice and dice, in contrast, select a subset of the cube.)

Q49. What is "ranking" in data source selection? Explain with an example. (3 marks)

When the same data element is available from several source systems, the sources are ranked (prioritized) per data element, and the extraction takes the element from the highest-ranked source.

Example: customer address exists in the billing system, the sales system and the call centre. For "address", the billing system, which is checked by mail returns, is ranked first; sales second. The warehouse takes the address from billing and falls back to the next one only if it is missing.

Q50. Dimensions have hierarchies. Specify the hierarchy of the Geography dimension up to three levels. (3 marks)

Country → Province (State) → City (can be extended to town/area or to store).

Example: Pakistan → Punjab → Lahore. Geography is a good example of a multidimensional hierarchy, because a location can be rolled up in more than one way (for example by administrative region or by sales territory).

Q51. A fact table is named "sales" and its grain is stated as "sales volume by day by product by store". Identify at least three facts. (5 marks)

Facts are numeric measures at that grain:

  1. Sales quantity (units sold)
  2. Sales amount (revenue in Rs.)
  3. Cost amount (or profit/margin amount)
  4. Discount amount

Not facts: day, product and store, which are dimensions. Keep them additive: store amounts, not ratios or percentages.

Q52. In an online registration system you want to check the accuracy of customers' birth dates. Which data quality validation technique will be used? Explain briefly. (5 marks)

Data quality rules / attribute domain validation. The birth date is checked against rules that define the allowed domain:

  • Format check (valid day, month, year; one date format).
  • Range check: the date cannot be in the future, and the age must be within a sensible range (for example 0 to 120, or at least 18 if registration needs it).
  • Business rules: the birth date should agree with other fields (for example age group or CNIC).

Failures are reported to the user at entry time, which is cheaper than cleaning later. Data histogramming of birth years can also reveal suspicious spikes such as many people born on 1 January.

Q53. How can you identify a star schema and a snowflake schema from a diagram? (3 marks)

Star schemaSnowflake schema
Dimension tablesOne flat (de-normalized) table per dimension, directly joined to the fact tableDimensions are normalized into several related tables (hierarchy levels in separate tables)
ShapeFact table in the centre with dimensions around it, one level onlyDimension tables branch out into further tables
JoinsFewer joins, faster queriesMore joins, less redundancy

Note: the original question used a diagram that was not available, so the rule for identifying each schema is given.

Q54. Product-sales table: Product ID, Region ID, Period, Quantity with rows (1, N, Month, 25), (2, N, Month, 50), (2, S, Week, 30). Identify the dimensions, the fact and the primary key. (5 marks)

Product IDRegion IDPeriodQuantity
1NMonth25
2NMonth50
2SWeek30
  • Dimensions: Product (Product ID), Region (Region ID) and Period (time).
  • Fact: Quantity (a numeric, additive measure).
  • Primary key: the composite key (Product ID, Region ID, Period). No single column is unique: Product ID 2 and Region ID N each appear twice, and Period repeats.

Q55. List the four basic tasks of data transformation. (2 marks)

  1. Selection: choose the source records or fields that go to the warehouse.
  2. Splitting/joining: split a field into parts or join parts from several fields or sources.
  3. Conversion: standardize formats, units and codes across sources and make fields understandable.
  4. Summarization: store data at a higher level of detail.

A fifth task, enrichment, rearranges and simplifies individual fields to make them more useful for the warehouse.

Q56. Identify the given statements as correct or incorrect: (1) "TQM involves only 20% of the employees in the continuous improvement process." (2) "Orr's law says data quality is a function of its use, not its collection." (3 marks)

  • (1) Incorrect. Total Quality Management involves all employees in continuous improvement, not only a small fraction.
  • (2) Correct. This is Orr's law number 2.

Q57. If dirty data in the warehouse is used by the government for decision making, what would the effects be? Explain with an example. (3 marks)

Decisions taken at government level on wrong data produce undesirable results and waste money.

  • Example: the government studies population census data to decide which regions need more investment in health, education, clean drinking water and electricity. If the data is wrong or duplicated, funds go to the wrong regions and the needy are left out.
  • In direct-mail style services, letters go to wrong addresses: money is lost and trust falls.

Q58. Identify as correct or incorrect: "A transactional fact table always stores complete records for events that do not occur." (2 marks)

Incorrect. Transactional fact tables have no records for events that do not occur. Such "non-events" are modelled with a fact-less fact table. A disadvantage of not recording them is lack of information.

Q59. Describe the operations of a MOLAP (OLAP) cube with examples, including roll-up and drill-down. (5 marks)

  • Roll-up: summarize data to a higher level. Example: summarize last year's sales by product category and region.
  • Drill-down: get more detail. Example: from sales by region, see the break-up by city within Sindh.
  • Slice: fix one dimension to one value, giving a sub-cube. Example: sales for year 2025 only.
  • Dice: select a sub-cube on several dimensions. Example: sales of two products in two regions in two quarters.
  • Pivot: rotate the cube to change the view, for example swap product and region axes.

Q60. Describe four non-primary-key problems that occur when data comes from a source. (5 marks)

  1. Different encodings in different sources: gender as F/M, Female/Male or 1/0.
  2. Multiple ways to represent the same information, such as different date or address formats.
  3. Invalid data in some sources.
  4. Two fields with different data but the same name, or required fields left blank.

Q61. Aggregation reduces space and improves speed. Which factor links performance and disk space, and what are the limitations of data aggregation? (5 marks)

Performance can be bought with disk space: redundancy (pre-computed aggregates, de-normalized tables, extra indexes) uses more space but makes queries faster, because less work is done at query time.

Limitations of aggregation:

  • It is one-way: detail cannot be recovered from the aggregate.
  • Detail is lost, so questions below the aggregate level cannot be answered.
  • Only additive facts can be rolled up simply.
  • Many aggregates need extra storage and must be maintained when data changes.

Q62. Correct the statement: "The basic purpose of OLTP is to represent the historical picture of the company." (2 marks)

Corrected: The basic purpose of OLTP is to represent the current picture of the company (typically the latest 60 to 90 days of operational data). The historical picture is the job of the data warehouse.

Q63. What is the relationship between cube size and the cardinality of the dimensions in a MOLAP cube? (5 marks)

The number of cells in a cube is roughly the product of the cardinalities of its dimensions (for example 365 days × 1,000 products × 50 stores = 18,250,000 cells). So the cube size grows when:

  • the cardinality of any dimension increases,
  • the number of dimensions increases,
  • the amount of detail data increases.

Conversely, as dimensions get less detailed (year instead of day) cubes get smaller. Large cardinality and many dimensions lead to the scalability problem of MOLAP.

Q64. Correct or incorrect: "If defects are found in attribute domain validation, it is better to fix the error in the data warehouse and leave the data source as it is." (3 marks)

Incorrect. The error should be fixed at the source, so that it does not keep coming back with every load and other systems benefit as well. Fixing only the warehouse copy leaves the source and the warehouse inconsistent.

Note: judgment call based on standard data quality practice.

Q65. Explain Orr's law: "The less likely something is to occur, the more traumatic it will be when it happens." (3 marks)

This is Orr's fifth law of data quality. A data problem that rarely occurs is usually not tested for or planned for, so no procedure exists to deal with it. When it finally happens (for example a rare invalid code reaching a report), it comes as a shock and the damage is bigger than that of a common error that people already handle.

Q66. List the two ways to simplify the ER model. (2 marks)

Two general methods: de-normalization and dimensional modeling (DM).

Q67. Why is the conversion task performed during data transformation? Explain with an example. (3 marks)

Conversion is an all-inclusive task covering many simple conversions of single fields, for two main reasons:

  1. to standardize data extracted from disparate source systems, and
  2. to make fields usable and understandable to users.

Example: gender is stored as 1/0 in one system and M/F in another; both are converted to "Male"/"Female". Another: the CNIC size changes, so the format is revised.

Q68. Identify as correct or incorrect and justify: (1) "Median is an example of a distributive aggregate." (2) "When attributes or records are missing in extracted data, the data is semantically dirty." (3) "Pattern-based data cleansing identifies outlier fields and records using the mean and standard deviation." (5 marks)

  • (1) Incorrect. The median is a holistic aggregate; it cannot be computed from partial aggregates. Distributive aggregates are sum, count, min and max; algebraic ones (average) are computed from a fixed number of distributive values.
  • (2) Incorrect. Missing attributes or records are coverage anomalies. Semantically dirty data means records that violate integrity constraints.
  • (3) Incorrect. Using mean and standard deviation to find outliers is the statistical technique. Pattern-based cleansing finds fields and records that do not conform to patterns found in most of the data (using partitioning, classification and clustering).

Q69. Explain the classes of aggregates (distributive, algebraic, holistic) with examples. (3 marks)

ClassMeaningExamples
DistributiveResult for the whole set can be computed from results of partitions with the same functionSUM, COUNT, MIN, MAX
AlgebraicComputed from a fixed number of distributive aggregatesAVERAGE (sum and count), standard deviation
HolisticNo fixed-size partial result is enough; needs all the dataMEDIAN, MODE, RANK

Note: the shared question asked which class is used in a statistical analyzer but gave no answer and no context, so the three classes are explained instead.

Part 3: Short Notes & Key Terms

Data warehouse
A subject-oriented, integrated, time-variant and non-volatile collection of data that supports management's decision making. It stores historical data from many heterogeneous sources.
Subject-oriented
Data is organized around the main subjects of the business (customer, product, sales) rather than around applications.
Integrated
Data from different sources is brought to one consistent format, naming and coding.
Time-variant
Data is stamped with time and keeps history, so changes can be analysed over time.
Non-volatile
Once loaded, data is not updated or deleted in the normal way; it is only loaded and read.
OLTP
Online transaction processing: day-to-day operational systems with many small read/write transactions, current (60 to 90 days) data, fully normalized tables and high selectivity.
OLAP
Online analytical processing: analysis of multi-level aggregates over historical data, mostly read and bulk load, de-normalized, low selectivity. OLAP is one class of decision support environment.
DSS
Decision support system: an interactive system that lets decision makers use data and models to solve unstructured problems. DSS queries span many tables, rarely use a primary key and are iterative.
Data mart
A smaller, subject- or department-specific subset of a data warehouse built to serve a particular group of users.
Selectivity
The fraction of rows a query retrieves from a table. OLTP queries have high selectivity (few rows); data warehouse queries have low selectivity (many rows).
ETL
Extract, Transform, Load: data is taken from sources, cleaned and transformed on a separate engine, then loaded into the warehouse.
ELT
Extract, Load, Transform: data is loaded first and transformed inside the warehouse's parallel database.
Logical extraction
Full extraction (everything) and incremental extraction (only data after a point in time).
Physical extraction
Online (directly from the source or a change table) and offline (from flat files, dump files, redo/archive logs, transportable table-spaces).
Change data capture (CDC)
Identifying and capturing only the data that changed in a source since the last extraction. Techniques in modern systems: timestamps, triggers, partitioning; a change table can hold recently modified data.
Data transformation tasks
Selection, splitting/joining, conversion, summarization and enrichment.
Transformation types
One-to-one scalar (simplest), one-to-many element, many-to-one element and many-to-many element (most complex).
Loading strategies
Full data refresh (block insert into empty table), incremental data refresh (block insert into existing tables) and trickle/continuous feed (row-level insert and update).
Data cleansing
Detecting and correcting dirty data. Steps: elementizing, standardizing, verifying, matching, house holding, documenting.
Syntactically dirty data
Data whose structure or format does not conform to specification: lexical errors, domain-format errors and non-uniform abbreviations, units or values.
Semantically dirty data
Records that violate one or more integrity constraints.
Coverage anomalies
Missing attributes or missing records (entities) in the data.
Data profiling
Gathering information about columns by running queries to find erroneous records and decide what transformation is needed. Done before and after transformation.
Merge/purge problem
Duplicate records for the same entity appear when databases are merged and must be identified and removed.
Sorted Neighborhood Method (BSN)
Duplicate detection in three steps: create a key, sort the data on it, then merge by sliding a window of size w. Key creation O(n); total O(n log n) with merge O(w × n). The multi-pass version repeats it with different keys and applies transitive closure.
Orr's laws
Five laws: unused data cannot be correct; quality is a function of use; data is no better than its most stringent use; quality problems grow with the age of the system; the rarer an event the more traumatic it is.
Intrinsic and realistic data quality
Intrinsic is accuracy of data against the real world. Realistic is the usefulness and value of the data for enterprise processes.
Total Quality Management (TQM)
A quality approach that includes product quality, process control, quality assurance and quality improvement, and involves all employees.
Normalization
Design process that removes redundancy and anomalies. 1NF: single-valued cells. 2NF: 1NF and no partial dependency. 3NF: 2NF and no transitive dependency. 4NF: 3NF and no multi-valued dependency.
De-normalization
Controlled introduction of redundancy to reduce joins and speed up retrieval. Trade-off: faster queries but slower modification, more storage and unpredictable effects.
De-normalization techniques
Collapsing tables, pre-joining, horizontal splitting, vertical splitting and adding redundant columns.
Horizontal and vertical splitting
Horizontal splitting divides rows (by ranges or values) into partitions, helping parallelism and partition elimination. Vertical splitting divides columns into separate tables and repeats the primary key in each.
Dimensional modeling (DM)
Logical design technique that organizes data as a central fact table surrounded by dimension tables. One of two ways to simplify the ER model (the other is de-normalization).
Fact and dimension
A fact is a numeric measure of a business process; a dimension is a descriptive context (date, product, region) by which facts are analysed.
Additive, semi-additive and non-additive facts
Additive can be summed across all dimensions (sales amount). Non-additive cannot (ratios, averages, percentages). Semi-additive can be summed across some dimensions only.
Fact-less fact table
A fact table with no numeric fact columns, used to capture many-to-many relationships between dimensions or events that did not occur.
Grain
The lowest (atomic) level of detail stored in the fact table; the meaning of one fact table row.
Star schema
Dimensional hierarchies collapsed into one table per dimension around a single fact table: simple, few joins, good performance, some redundancy.
Aggregates and aggregate awareness
Pre-computed summaries that speed up queries. Aggregate awareness lets tools build higher-level aggregates from lower-level ones (works for additive metrics). Aggregation is one-way.
Distributive, algebraic, holistic
Distributive: SUM, COUNT, MIN, MAX. Algebraic: AVERAGE. Holistic: MEDIAN, MODE.
Cube
A logical entity holding values of a fact at a certain aggregation level at the intersection of a combination of dimensions.
MOLAP
Multi-dimensional OLAP: pre-built cubes in a proprietary format, very fast (O(1) cell look-up), no ANSI SQL, limited size, cube partitioning to scale.
ROLAP
Relational OLAP: uses a relational database (usually a star schema) and ANSI SQL. Scalable; issues are aggregation, maintenance and non-standard conventions.
HOLAP and DOLAP
HOLAP combines MOLAP and ROLAP (scalability plus performance). DOLAP downloads a small cube to a desktop with no server, good for mobile users.
Cube operations
Roll-up (summarize), drill-down (more detail), slice and dice (select sub-cube), pivot (rotate to change the view).
Partitioning methods
Range (most commonly on date), hash, round-robin (even spread, no partition elimination) and expression partitioning.
Indexing
A dense index has an entry for every key and needs one disk I/O if it fits in memory; a sparse index has entries for some keys; an inverted index is built for retrieval. A B-tree gives access without scanning the entire table, with O(log n) page faults.
Nested-loop join variants
Naive nested loop, index nested loop (uses an existing index) and temporary index nested loop (index built for the query plan and then dropped). Quadratic time does not hurt in typical OLTP environments.
Parallelism
Pipeline parallelism breaks a task into stages on a stream of data to increase throughput, not to cut the time of one sub-task. Skew is non-uniform distribution of data across processors. The smaller the sequential part, the greater the scalability.
Data mining
Exploratory approach that discovers patterns in large data. Classification gives discrete outcomes, estimation gives continuous outcomes. Clustering groups similar items. Validate a model on data set aside from the mining process.
Kimball Business Dimensional Lifecycle
Iterative data warehouse development approach drawn from decades of experience; the primary aim is to solve business problems, not only to deliver technology.

No comments:

Post a Comment

Please give us your feedback & help us to improve this site.