chapter

    Data Warehousing Notes for Gate Da

    GATE DA Data Warehousing: 2 chapters, 3 previous year questions (14% of Database Management and Warehousing), 292 practice questions and one solved question f

    A question from this chapter

    Question 1
    Level 3: Exam Standard

    A data cube has dimensions Time, Location and Product. The concept hierarchy for Time is Day Month Quarter, and for Location is Store City Zone. Product has no concept hierarchy. Each roll-up or drill-down operation acts on exactly one dimension, moving it one level along its hierarchy. The current view displays total sales for every combination (Day, Store, Product).

    Assertion (A): The view displaying total sales for every combination (Month, City) can be obtained from the current view using exactly two operations, one roll-up and one slice.

    Reason (R): A slice fixes a dimension to a single value and removes it from the view, whereas a roll-up only moves a dimension to a coarser level of its hierarchy.

    Which of the following is correct?

    Question 2
    Level 3: Exam Standard

    Consider a data cube with dimensions. Which of the following statements is/are ALWAYS true?

    I. The total number of possible cuboids (distinct groupings of dimensions) is exactly .

    II. A slice operation, which fixes one dimension to a single specific value, always results in a sub-cube of dimensionality .

    III. A dice operation, which selects a proper subset of values for two or more dimensions, always results in a sub-cube of dimensionality strictly less than .

    Free preview ends here

    Login to view the complete notes

    Creating an account is free. You get the rest of this chapter, step-by-step solutions, and a study plan built around the topics you are actually weak at.

    Explore complete test series, official past papers, and chapter-wise study tools.

    Why MastersUp

    Personalised first. High quality throughout.

    Most platforms hand everyone the same content. Here the content moves with your performance, topic by topic.

    Built around you, not around a syllabus PDF

    Every answer you give moves your topic-level intelligence rate. The next question, the next revision card and tomorrow's plan all change with it.

    Revision that hits your weak spots

    We only revise topics you have actually attempted and are still below the safe bar on — never the same chapter on repeat.

    Questions calibrated to the real exam

    Each question carries a measured toughness. You are served a rung above your current level, so practice keeps stretching you.

    Notes written for recall, not for volume

    Full lesson cards for first study, curated short-note cards for the last mile — with derivations, traps and exam patterns marked.

    One place for everything

    Notes, chapter practice, previous-year questions, test series and full-length papers — all feeding one picture of your preparation.

    Honest progress

    No vanity streaks. Progress here means chapters mastered and accuracy that held up on harder questions.

    Unlock the whole course

    Full notes and short notes, the complete question bank with worked solutions, mock tests, full-length papers, and an adaptive plan that rebuilds itself as you improve.

    Data Warehousing Notes for GATE DA

    GATE DA Data Warehousing: 2 chapters, 3 previous year questions (14% of Database Management and Warehousing), 292 practice questions and one solved question from each chapter.

    About Data Warehousing Notes

    Full study notes for Data Warehousing in GATE DA, organised across 2 chapters. Each chapter page explains concepts from the basics with worked examples and the formulas you need.

    Data Warehousing Weightage in GATE DA

    Data Warehousing accounts for 3 of 22 Database Management and Warehousing previous year questions in our bank (14%), about 1.5 per paper across 2 papers.

    Data Warehousing Chapter Matrix

    ChapterTopicsPYQsShare of unit PYQsPractice questions
    Olap Operations and Data Cube AggregationData Cube Aggregation and Olap Grouping, Olap Operations: Roll-up, Drill-down, Slice and Dice267%192
    Concept Hierarchies and Multidimensional Data ModelsConcept Hierarchies and Multidimensional Data Models133%100

    More from Database Management and Warehousing

    One Solved Question from Each Data Warehousing Chapter

    Question 1 · OLAP Operations and Data Cube Aggregation MCQ

    A data cube has dimensions Time, Location and Product. The concept hierarchy for Time is Day Month Quarter, and for Location is Store City Zone. Product has no concept hierarchy. Each roll-up or drill-down operation acts on exactly one dimension, moving it one level along its hierarchy. The current view displays total sales for every combination (Day, Store, Product).

    Assertion (A): The view displaying total sales for every combination (Month, City) can be obtained from the current view using exactly two operations, one roll-up and one slice.

    Reason (R): A slice fixes a dimension to a single value and removes it from the view, whereas a roll-up only moves a dimension to a coarser level of its hierarchy.

    Which of the following is correct?

    1. A.

      Both A and R are true, and R is the correct explanation of A

    2. B.

      Both A and R are true, but R is not the correct explanation of A

    3. C.

      A is true, but R is false

    4. D.

      A is false, but R is true

    Correct Answer:

    D

    Step-by-Step Solution

    Insight: translate the target view into a list of axis-level changes first. Two axes must climb a hierarchy and one axis must disappear, so three operations are needed, not two.

    Exam route: compare the source triple (Day, Store, Product) with the target (Month, City) axis by axis and count one operation per required change.

    Learning route:

    Step 1: Write the change required on each dimension.

    Time: Day Month, one level up its hierarchy one roll-up.

    Location: Store City, one level up its hierarchy one roll-up.

    Product: present in the source, absent in the target this axis must be removed.

    Step 2: Decide how Product can be removed. Product has no concept hierarchy, so no roll-up can coarsen it. The only operation that removes a dimension by fixing it to a single value is a slice. So Product needs one slice.

    Step 3: Count. One roll-up on Time one roll-up on Location one slice on Product operations. Since each roll-up acts on exactly one dimension, one roll-up and one slice can never do all three jobs. Hence Assertion (A) is FALSE.

    Step 4: Test Reason (R) on its own. A slice does fix a dimension to one value and drop it from the view, and a roll-up does only change the level of a dimension within its hierarchy without removing it. Both halves are correct, so Reason (R) is TRUE.

    Step 5: Combine. A is false and R is true, which is option D.

    The tempting wrong path: read "(Month, City)" as still carrying Product, or assume one roll-up can coarsen both hierarchies at once. Either reading makes the count come out as two and pushes you to option A. The break is in Step 1: Time and Location are two different dimensions, and the statement explicitly says one roll-up acts on one dimension only. Note also that R being true is exactly what defeats A — R says a roll-up cannot remove an axis, so the missing Product forces a separate slice.

    Generalization: to price a view change, count hierarchy climbs per dimension plus one slice per dimension that must vanish.

    Verification: apply the three operations forward. (Day, Store, Product) roll-up Time (Month, Store, Product) roll-up Location (Month, City, Product) slice Product (Month, City), which is exactly the target view, and no two-operation route reaches it.

    Answer: A is false, but R is true (option D).

    Question 2 · Concept Hierarchies and Multidimensional Data Models MCQ

    Consider a data cube with dimensions. Which of the following statements is/are ALWAYS true?

    I. The total number of possible cuboids (distinct groupings of dimensions) is exactly .

    II. A slice operation, which fixes one dimension to a single specific value, always results in a sub-cube of dimensionality .

    III. A dice operation, which selects a proper subset of values for two or more dimensions, always results in a sub-cube of dimensionality strictly less than .

    1. A.

      I only

    2. B.

      I and II only

    3. C.

      II and III only

    4. D.

      I, II, and III

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: Distinguish between the definitions of cuboids, slice, and dice operations in a multidimensional data model.

    Step 1: Evaluate Statement I. A cuboid is defined by a specific subset of the dimensions. Since each dimension can either be included or excluded (rolled up to ALL) in a grouping, there are exactly possible subsets, and thus cuboids. This is ALWAYS true.

    Step 2: Evaluate Statement II. A slice operation fixes one dimension to a single specific value (e.g., Time = 2023). This effectively removes that dimension from the grouping, reducing the dimensionality of the resulting sub-cube by exactly 1, to . This is ALWAYS true.

    Step 3: Evaluate Statement III. A dice operation selects a subset of values for two or more dimensions (e.g., Product IN (Laptop, Phone) AND Region IN (North, South)). While this reduces the number of cells (volume), it does not eliminate any dimensions from the grouping. The dimensionality of the resulting sub-cube remains . Therefore, the claim that it is "strictly less than " is FALSE.

    Answer: I and II only