chapter

    Concept Hierarchies and Multidimensional Data Models Practice Questions for Gate Da

    Solve 100+ Concept Hierarchies and Multidimensional Data Models practice questions for GATE DA with answers and detailed solutions. Free sample questions belo

    Try a question

    Answer it here to see how it works. Nothing is recorded until you sign in.

    Question 1
    Level 1: Warm-up

    A multidimensional data model requires both facts and dimensions to form a valid data cube. Which of the following configurations represents the minimum valid structure for a single data cube cell, contradicting the notion that a cube must strictly be 3-dimensional?

    Question 2
    Level 1: Warm-up

    A data cube has 3 dimensions: Product, Location, and Time.

    If a Slice operation is performed by fixing the Time dimension to the year 2023, what is the dimensionality of the resulting sub-cube?

    Question 3
    Level 1: Warm-up

    In a multidimensional data cube with dimensions 'Time' and 'Product', each intersection (cell) represents a specific combination of these dimension values.

    What is the number of fact measures (e.g., Sales Revenue) stored in a single cell for a specific Time and Product combination?

    Question 4
    Level 1: Warm-up

    A business intelligence system transitions from a traditional relational database to a multidimensional data model. If the original system tracked data using 2 dimensions (e.g., rows and columns in a flat table) and the new data cube analyzes sales across Time, Product, and Location, what is the net increase in the number of dimensions used for analysis?

    Question 5
    Level 1: Warm-up

    Consider a concept hierarchy for a time dimension defined as: Day Month Quarter Year. What is the maximum number of distinct aggregation levels available in this specific hierarchy path, including both the lowest and highest levels?

    Question 6
    Level 1: Warm-up

    Assertion (A): A drill-down operation constructs a more detailed view of the data by increasing the number of rows.

    Reason (R): Drill-down navigates down the concept hierarchy, revealing finer granularity which inherently expands the detailed records.

    Question 7
    Level 1: Warm-up

    An analyst performs a roll-up operation on a data cube containing daily sales records for a single product at a single location over a non-leap year. If the roll-up aggregates the data to the 'Month' level, what is the upper bound on the number of records that will represent this product and location in the aggregated view?

    Question 8
    Level 1: Warm-up

    In a data warehouse, a concept hierarchy for time is constructed as: Day Month Quarter Year. If a query aggregates data from the 'Day' level directly to the 'Year' level, how many intermediate hierarchy levels are bypassed in this aggregation path?

    Question 9
    Level 1: Warm-up

    In a concept hierarchy diagram, directed arrows represent the "rolls up to" relationship, pointing from finer granularity to coarser granularity.

    If an arrow points from Node A to Node B, which of the following aggregations is IMPOSSIBLE to compute directly by following the arrow direction?

    Question 10
    Level 1: Warm-up

    Consider a concept hierarchy diagram where nodes represent aggregation levels and directed edges represent the 'rolls up to' relationship. Given the edges , , and , which of the following are possible numbers of distinct nodes in a valid path from the lowest level to the highest level ?

    Free preview ends here

    Login to view the complete practice questions and solutions

    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.

    Concept Hierarchies and Multidimensional Data Models Practice Questions for GATE DA

    Solve 100+ Concept Hierarchies and Multidimensional Data Models practice questions for GATE DA with answers and detailed solutions. Free sample questions below.

    Chapter Roadmap: Data Warehousing

    1. Concept Hierarchies and Multidimensional Data Models
    The foundation. Understanding facts, dimensions, and how data aggregates across levels like Day to Month to Year.
    2. OLAP Operations
    Navigating the data cube: Roll-up, Drill-down, Slice, Dice, and Pivot.
    3. Data Warehouse Schemas
    Structuring the warehouse: Star, Snowflake, and Fact Constellation schemas.
    4. ETL and Data Cleaning
    Extract, Transform, Load processes and handling missing or noisy data.

    The Big Picture: Why Multidimensional Data

    Traditional relational databases excel at Online Transaction Processing, where the goal is to record individual events quickly and accurately. However, when the goal shifts to Online Analytical Processing, the requirement changes to summarizing massive volumes of historical data.

    The multidimensional data model is designed specifically for this analytical workload. Instead of viewing data as flat rows and columns, it views data as an -dimensional space, often called a data cube. This perspective allows business analysts to ask complex questions like, "What was the total revenue of electronics in the North region during the third quarter?" and get answers by navigating the dimensions of the cube, rather than writing complex, multi-table SQL joins.

    Concept Hierarchies and Multidimensional Data Models: Solved Questions with Step-by-Step Explanations (10 Problems)

    Question 1 · Database Management and Warehousing MCQ

    A multidimensional data model requires both facts and dimensions to form a valid data cube. Which of the following configurations represents the minimum valid structure for a single data cube cell, contradicting the notion that a cube must strictly be 3-dimensional?

    1. A.

      1 fact and 0 dimensions

    2. B.

      1 fact and 1 dimension

    3. C.

      3 facts and 1 dimension

    4. D.

      1 fact and 3 dimensions

    Correct Answer:

    B

    Step-by-Step Solution

    Insight: A valid data cube cell requires at least one measure (fact) and at least one contextual attribute (dimension) to be meaningful.

    Exam route: Minimum facts = 1. Minimum dimensions = 1. Total minimum structure = 1 fact and 1 dimension.

    Learning route:

    1. Define the core components: Facts are quantitative measures; dimensions are contextual attributes.
    2. Establish the minimum requirement: A cell must hold a measure (1 fact) and be contextualized by at least one attribute (1 dimension) to exist in a model.
    3. Evaluate options: "1 fact and 1 dimension" is the smallest valid combination. "1 fact and 0 dimensions" is just a raw number, not a cube cell.

    Answer: 1 fact and 1 dimension

    Question 2 · Database Management and Warehousing MCQ

    A data cube has 3 dimensions: Product, Location, and Time.

    If a Slice operation is performed by fixing the Time dimension to the year 2023, what is the dimensionality of the resulting sub-cube?

    1. A.

      1

    2. B.

      2

    3. C.

      3

    4. D.

      4

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: A Slice operation selects a single specific value for one dimension, which reduces the dimensionality of the cube by 1.

    Step 1: Identify the initial dimensionality. The cube has 3 dimensions (Product, Location, Time).

    Step 2: Identify the operation. A Slice fixes one dimension (Time = 2023).

    Step 3: Calculate the resulting dimensionality. 3 dimensions - 1 fixed dimension = 2 dimensions.

    Answer: 2 (Option B).

    Question 3 · Database Management and Warehousing MCQ

    In a multidimensional data cube with dimensions 'Time' and 'Product', each intersection (cell) represents a specific combination of these dimension values.

    What is the number of fact measures (e.g., Sales Revenue) stored in a single cell for a specific Time and Product combination?

    1. A.

      1

    2. B.

      2

    3. C.

      3

    4. D.

      Depends on the number of dimensions

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: In a data cube, each cell represents a unique intersection of dimension values and holds the corresponding fact measure for that specific combination.

    Step 1: Understand the structure. A cell is defined by a specific combination of dimension values (e.g., Time = Jan, Product = Laptop).

    Step 2: Identify what is stored in the cell. The cell stores the fact measure (e.g., Sales Revenue) for that specific combination.

    Step 3: Determine the quantity. For a single specific combination, there is exactly 1 aggregated fact measure value stored in that cell for that coordinate.

    Answer: 1 (Option A).

    Question 4 · Database Management and Warehousing MCQ

    A business intelligence system transitions from a traditional relational database to a multidimensional data model. If the original system tracked data using 2 dimensions (e.g., rows and columns in a flat table) and the new data cube analyzes sales across Time, Product, and Location, what is the net increase in the number of dimensions used for analysis?

    1. A.

      1

    2. B.

      2

    3. C.

      3

    4. D.

      5

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: Net increase is the new dimension count minus the original dimension count.

    Exam route: New dimensions = 3 (Time, Product, Location). Original dimensions = 2. Net increase = 3 - 2 = 1.

    Learning route:

    1. Identify the original dimension count: The flat table uses 2 dimensions.
    2. Identify the new dimension count: The data cube uses 3 dimensions (Time, Product, Location).
    3. Calculate the net increase: New count - Original count = 3 - 2 = 1.

    Answer: 1

    Question 5 · Database Management and Warehousing MCQ

    Consider a concept hierarchy for a time dimension defined as: Day Month Quarter Year. What is the maximum number of distinct aggregation levels available in this specific hierarchy path, including both the lowest and highest levels?

    1. A.

      2

    2. B.

      3

    3. C.

      4

    4. D.

      5

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: The number of aggregation levels equals the number of distinct nodes in the hierarchy path.

    Exam route: Count the nodes: Day (1), Month (2), Quarter (3), Year (4). Total = 4.

    Learning route:

    1. Identify the hierarchy path: Day Month Quarter Year.
    2. List the distinct nodes (levels): Day, Month, Quarter, Year.
    3. Count the nodes: There are exactly 4 distinct levels.

    Answer: 4

    Question 6 · Database Management and Warehousing MCQ

    Assertion (A): A drill-down operation constructs a more detailed view of the data by increasing the number of rows.

    Reason (R): Drill-down navigates down the concept hierarchy, revealing finer granularity which inherently expands the detailed records.

    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:

    A

    Step-by-Step Solution

    Insight: Drill-down moves from coarse to fine granularity, which naturally increases the number of detailed records (rows) displayed.

    Exam route: A is true (drill-down increases detail/rows). R is true (it navigates down the hierarchy to finer granularity). R correctly explains why A happens.

    Learning route:

    1. Evaluate Assertion (A): Drill-down breaks aggregated data into finer details (e.g., Year to Month). This increases the number of rows in the result set. Thus, A is true.
    2. Evaluate Reason (R): The mechanism for this is navigating down the predefined concept hierarchy to a level with finer granularity. Thus, R is true.
    3. Check the link: The increase in rows (A) is a direct consequence of revealing finer granularity by moving down the hierarchy (R). Therefore, R is the correct explanation of A.

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

    Question 7 · Database Management and Warehousing MCQ

    An analyst performs a roll-up operation on a data cube containing daily sales records for a single product at a single location over a non-leap year. If the roll-up aggregates the data to the 'Month' level, what is the upper bound on the number of records that will represent this product and location in the aggregated view?

    1. A.

      1

    2. B.

      12

    3. C.

      52

    4. D.

      365

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: A roll-up operation aggregates data by moving up a concept hierarchy, reducing the number of records to the number of distinct values at the target level.

    Step 1: Identify the target level of aggregation, which is 'Month'.

    Step 2: Determine the number of distinct months in a non-leap year, which is exactly 12.

    Step 3: The upper bound on the number of records for a single product and location at the 'Month' level is therefore 12.

    Answer: 12

    Question 8 · Database Management and Warehousing MCQ

    In a data warehouse, a concept hierarchy for time is constructed as: Day Month Quarter Year. If a query aggregates data from the 'Day' level directly to the 'Year' level, how many intermediate hierarchy levels are bypassed in this aggregation path?

    1. A.

      0

    2. B.

      1

    3. C.

      2

    4. D.

      3

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: The number of skipped intermediate levels in a hierarchy is the total number of levels minus the two endpoints (start and end).

    Step 1: Identify the full hierarchy: Day Month Quarter Year.

    Step 2: Count the total number of levels, which is 4.

    Step 3: The aggregation is from 'Day' (level 1) to 'Year' (level 4).

    Step 4: The intermediate levels skipped are 'Month' and 'Quarter', which is levels.

    Answer: 2

    Question 9 · Database Management and Warehousing MCQ

    In a concept hierarchy diagram, directed arrows represent the "rolls up to" relationship, pointing from finer granularity to coarser granularity.

    If an arrow points from Node A to Node B, which of the following aggregations is IMPOSSIBLE to compute directly by following the arrow direction?

    1. A.

      Aggregating daily sales to monthly sales

    2. B.

      Aggregating city-level data to state-level data

    3. C.

      Aggregating yearly data to daily data

    4. D.

      Aggregating item-type data to category-level data

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: Arrows in a concept hierarchy diagram always point from finer granularity (child) to coarser granularity (parent), representing aggregation (roll-up).

    Step 1: Understand the arrow direction. Finer Coarser.

    Step 2: Evaluate the options. Daily to Monthly, City to State, and Item-type to Category all move from finer to coarser granularity (valid roll-ups).

    Step 3: Evaluate Option C. Yearly to Daily moves from coarser to finer granularity. This is drill-down, which is the reverse of the arrow direction.

    Answer: Aggregating yearly data to daily data (Option C).

    Question 10 · Database Management and Warehousing MSQ

    Consider a concept hierarchy diagram where nodes represent aggregation levels and directed edges represent the 'rolls up to' relationship. Given the edges , , and , which of the following are possible numbers of distinct nodes in a valid path from the lowest level to the highest level ?

    1. A.

      1

    2. B.

      2

    3. C.

      3

    4. D.

      4

    Correct Answer:

    ["B","C"]

    Step-by-Step Solution

    Key idea: A valid path in a hierarchy diagram follows the direction of the edges. The number of distinct nodes in a path is exactly one more than the number of edges in that path.

    Step 1: Identify all valid directed paths from to .

    Step 2: Path 1 is the direct edge . This path contains 2 distinct nodes ( and ).

    Step 3: Path 2 is the sequence . This path contains 3 distinct nodes ( and ).

    Step 4: There are no other valid paths since edges only go forward in the hierarchy.

    Step 5: The possible numbers of distinct nodes are therefore 2 and 3.

    Answer: B, C

    More practice questions in this unit