Data Analytics Practice Questions: Roadmap-Wise Sheets
One practice sheet for every step of the Data Analytics roadmap. Click a sheet card to open its topics, then practise the questions.
1Sheet 1: Excel for Analysis
Weeks 1–2 · 4 topicsClick to open topics ▾
Sheet 1: Excel for Analysis
Weeks 1–2 · 4 topics
Practise: Formulas & lookups · 12 questionsEasy
- VLOOKUP vs INDEX-MATCH vs XLOOKUP? Give a practical example from a hypothetical Infosys project involving enterprise consulting, digital platforms, and client transformation, and explain which checks or trade-offs matter most.
Show answer
VLOOKUP only looks to the right and breaks when columns are inserted. INDEX-MATCH looks in any direction and is robust. XLOOKUP is the modern option with exact match by default and left lookups. Example application: In a hypothetical Infosys project involving enterprise consulting, digital platforms, and client transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - VLOOKUP vs INDEX-MATCH vs XLOOKUP? Give a practical example from a hypothetical Wipro project involving managed IT services, cloud migration, and digital transformation, and explain which checks or trade-offs matter most.
Show answer
VLOOKUP only looks to the right and breaks when columns are inserted. INDEX-MATCH looks in any direction and is robust. XLOOKUP is the modern option with exact match by default and left lookups. Example application: In a hypothetical Wipro project involving managed IT services, cloud migration, and digital transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - VLOOKUP vs INDEX-MATCH vs XLOOKUP? Give a practical example from a hypothetical Meta project involving social platforms, messaging, and advertising systems, and explain which checks or trade-offs matter most.
Show answer
VLOOKUP only looks to the right and breaks when columns are inserted. INDEX-MATCH looks in any direction and is robust. XLOOKUP is the modern option with exact match by default and left lookups. Example application: In a hypothetical Meta project involving social platforms, messaging, and advertising systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - VLOOKUP vs INDEX-MATCH vs XLOOKUP? Give a practical example from a hypothetical Stripe project involving online payments, billing, and financial infrastructure, and explain which checks or trade-offs matter most.
Show answer
VLOOKUP only looks to the right and breaks when columns are inserted. INDEX-MATCH looks in any direction and is robust. XLOOKUP is the modern option with exact match by default and left lookups. Example application: In a hypothetical Stripe project involving online payments, billing, and financial infrastructure, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - VLOOKUP vs INDEX-MATCH vs XLOOKUP? Give a practical example from a hypothetical Meesho project involving social commerce, seller listings, and logistics, and explain which checks or trade-offs matter most.
Show answer
VLOOKUP only looks to the right and breaks when columns are inserted. INDEX-MATCH looks in any direction and is robust. XLOOKUP is the modern option with exact match by default and left lookups. Example application: In a hypothetical Meesho project involving social commerce, seller listings, and logistics, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - VLOOKUP vs INDEX-MATCH vs XLOOKUP? Give a practical example from a hypothetical Zomato project involving food ordering, restaurant discovery, and delivery, and explain which checks or trade-offs matter most.
Show answer
VLOOKUP only looks to the right and breaks when columns are inserted. INDEX-MATCH looks in any direction and is robust. XLOOKUP is the modern option with exact match by default and left lookups. Example application: In a hypothetical Zomato project involving food ordering, restaurant discovery, and delivery, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - VLOOKUP vs INDEX-MATCH vs XLOOKUP? Give a practical example from a hypothetical Zepto project involving quick commerce, inventory, and last-mile delivery, and explain which checks or trade-offs matter most.
Show answer
VLOOKUP only looks to the right and breaks when columns are inserted. INDEX-MATCH looks in any direction and is robust. XLOOKUP is the modern option with exact match by default and left lookups. Example application: In a hypothetical Zepto project involving quick commerce, inventory, and last-mile delivery, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - VLOOKUP vs INDEX-MATCH vs XLOOKUP? Give a practical example from a hypothetical ServiceNow project involving IT service management and enterprise workflow automation, and explain which checks or trade-offs matter most.
Show answer
VLOOKUP only looks to the right and breaks when columns are inserted. INDEX-MATCH looks in any direction and is robust. XLOOKUP is the modern option with exact match by default and left lookups. Example application: In a hypothetical ServiceNow project involving IT service management and enterprise workflow automation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - VLOOKUP vs INDEX-MATCH vs XLOOKUP? Give a practical example from a hypothetical Mastercard project involving card payment networks and fraud prevention, and explain which checks or trade-offs matter most.
Show answer
VLOOKUP only looks to the right and breaks when columns are inserted. INDEX-MATCH looks in any direction and is robust. XLOOKUP is the modern option with exact match by default and left lookups. Example application: In a hypothetical Mastercard project involving card payment networks and fraud prevention, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - VLOOKUP vs INDEX-MATCH vs XLOOKUP? Give a practical example from a hypothetical HSBC project involving international banking, risk, and cross-border payments, and explain which checks or trade-offs matter most.
Show answer
VLOOKUP only looks to the right and breaks when columns are inserted. INDEX-MATCH looks in any direction and is robust. XLOOKUP is the modern option with exact match by default and left lookups. Example application: In a hypothetical HSBC project involving international banking, risk, and cross-border payments, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - VLOOKUP vs INDEX-MATCH vs XLOOKUP?
Show answer
VLOOKUP only looks to the right and breaks when columns are inserted. INDEX-MATCH looks in any direction and is robust. XLOOKUP is the modern option with exact match by default and left lookups. - VLOOKUP vs INDEX-MATCH vs XLOOKUP?
Show answer
VLOOKUP only looks to the right and breaks when columns are inserted. INDEX-MATCH looks in any direction and is robust. XLOOKUP is the modern option with exact match by default and left lookups.
Practise: Pivot tables · 12 questionsEasy
- What is a pivot table and when do you use it? Give a practical example from a hypothetical Amazon project involving an online marketplace, fulfilment operations, and cloud services, and explain which checks or trade-offs matter most.
Show answer
A pivot table summarises large data by dragging fields into rows, columns, values and filters — for example total sales by region and month — without writing formulas. Example application: In a hypothetical Amazon project involving an online marketplace, fulfilment operations, and cloud services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a pivot table and when do you use it? Give a practical example from a hypothetical Flipkart project involving e-commerce marketplace, seller tools, and fulfilment, and explain which checks or trade-offs matter most.
Show answer
A pivot table summarises large data by dragging fields into rows, columns, values and filters — for example total sales by region and month — without writing formulas. Example application: In a hypothetical Flipkart project involving e-commerce marketplace, seller tools, and fulfilment, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a pivot table and when do you use it? Give a practical example from a hypothetical Zepto project involving quick commerce, inventory, and last-mile delivery, and explain which checks or trade-offs matter most.
Show answer
A pivot table summarises large data by dragging fields into rows, columns, values and filters — for example total sales by region and month — without writing formulas. Example application: In a hypothetical Zepto project involving quick commerce, inventory, and last-mile delivery, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a pivot table and when do you use it? Give a practical example from a hypothetical JP Morgan Chase project involving banking, payments, and financial risk systems, and explain which checks or trade-offs matter most.
Show answer
A pivot table summarises large data by dragging fields into rows, columns, values and filters — for example total sales by region and month — without writing formulas. Example application: In a hypothetical JP Morgan Chase project involving banking, payments, and financial risk systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a pivot table and when do you use it? Give a practical example from a hypothetical HCLTech project involving enterprise technology services and infrastructure, and explain which checks or trade-offs matter most.
Show answer
A pivot table summarises large data by dragging fields into rows, columns, values and filters — for example total sales by region and month — without writing formulas. Example application: In a hypothetical HCLTech project involving enterprise technology services and infrastructure, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a PivotTable and when do you use it? Give a practical example from a hypothetical Accenture project involving multi-client consulting, cloud transformation, and process automation, and explain which checks or trade-offs matter most.
Show answer
A tool that summarises large tables by dragging fields into rows, columns, values and filters, so you can slice sales by region or month without writing formulas. Example application: In a hypothetical Accenture project involving multi-client consulting, cloud transformation, and process automation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a PivotTable and when do you use it? Give a practical example from a hypothetical Razorpay project involving payment gateway, settlement, and merchant integrations, and explain which checks or trade-offs matter most.
Show answer
A tool that summarises large tables by dragging fields into rows, columns, values and filters, so you can slice sales by region or month without writing formulas. Example application: In a hypothetical Razorpay project involving payment gateway, settlement, and merchant integrations, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a PivotTable and when do you use it? Give a practical example from a hypothetical Swiggy project involving food delivery, logistics, and quick commerce, and explain which checks or trade-offs matter most.
Show answer
A tool that summarises large tables by dragging fields into rows, columns, values and filters, so you can slice sales by region or month without writing formulas. Example application: In a hypothetical Swiggy project involving food delivery, logistics, and quick commerce, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a PivotTable and when do you use it? Give a practical example from a hypothetical Paytm project involving payments, merchant services, and financial products, and explain which checks or trade-offs matter most.
Show answer
A tool that summarises large tables by dragging fields into rows, columns, values and filters, so you can slice sales by region or month without writing formulas. Example application: In a hypothetical Paytm project involving payments, merchant services, and financial products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a PivotTable and when do you use it? Give a practical example from a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, and explain which checks or trade-offs matter most.
Show answer
A tool that summarises large tables by dragging fields into rows, columns, values and filters, so you can slice sales by region or month without writing formulas. Example application: In a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a PivotTable and when do you use it? Give a practical example from a hypothetical Tech Mahindra project involving telecom platforms, IT services, and digital transformation, and explain which checks or trade-offs matter most.
Show answer
A tool that summarises large tables by dragging fields into rows, columns, values and filters, so you can slice sales by region or month without writing formulas. Example application: In a hypothetical Tech Mahindra project involving telecom platforms, IT services, and digital transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a PivotTable and when do you use it?
Show answer
A tool that summarises large tables by dragging fields into rows, columns, values and filters, so you can slice sales by region or month without writing formulas.
Practise: Charts · 12 questionsMedium
- How do you create a dynamic dashboard in Excel? Give a practical example from a hypothetical Microsoft project involving developer tools, cloud services, and productivity applications, and explain which checks or trade-offs matter most.
Show answer
Build PivotTables from a clean table, add PivotCharts and slicers, link KPIs with formulas, and refresh from Power Query so everything updates together. Example application: In a hypothetical Microsoft project involving developer tools, cloud services, and productivity applications, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you create a dynamic dashboard in Excel? Give a practical example from a hypothetical D. E. Shaw project involving quantitative research and financial technology, and explain which checks or trade-offs matter most.
Show answer
Build PivotTables from a clean table, add PivotCharts and slicers, link KPIs with formulas, and refresh from Power Query so everything updates together. Example application: In a hypothetical D. E. Shaw project involving quantitative research and financial technology, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you create a dynamic dashboard in Excel? Give a practical example from a hypothetical PayPal project involving digital payments, merchant checkout, and transaction risk, and explain which checks or trade-offs matter most.
Show answer
Build PivotTables from a clean table, add PivotCharts and slicers, link KPIs with formulas, and refresh from Power Query so everything updates together. Example application: In a hypothetical PayPal project involving digital payments, merchant checkout, and transaction risk, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you create a dynamic dashboard in Excel? Give a practical example from a hypothetical Swiggy project involving food delivery, logistics, and quick commerce, and explain which checks or trade-offs matter most.
Show answer
Build PivotTables from a clean table, add PivotCharts and slicers, link KPIs with formulas, and refresh from Power Query so everything updates together. Example application: In a hypothetical Swiggy project involving food delivery, logistics, and quick commerce, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you create a dynamic dashboard in Excel? Give a practical example from a hypothetical Goldman Sachs project involving investment banking, markets, and risk analytics, and explain which checks or trade-offs matter most.
Show answer
Build PivotTables from a clean table, add PivotCharts and slicers, link KPIs with formulas, and refresh from Power Query so everything updates together. Example application: In a hypothetical Goldman Sachs project involving investment banking, markets, and risk analytics, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you create a dynamic dashboard in Excel? Give a practical example from a hypothetical JP Morgan Chase project involving banking, payments, and financial risk systems, and explain which checks or trade-offs matter most.
Show answer
Build PivotTables from a clean table, add PivotCharts and slicers, link KPIs with formulas, and refresh from Power Query so everything updates together. Example application: In a hypothetical JP Morgan Chase project involving banking, payments, and financial risk systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you create a dynamic dashboard in Excel?
Show answer
Build PivotTables from a clean table, add PivotCharts and slicers, link KPIs with formulas, and refresh from Power Query so everything updates together. - How do you create a dynamic dashboard in Excel?
Show answer
Build PivotTables from a clean table, add PivotCharts and slicers, link KPIs with formulas, and refresh from Power Query so everything updates together. - How do you create a dynamic dashboard in Excel?
Show answer
Build PivotTables from a clean table, add PivotCharts and slicers, link KPIs with formulas, and refresh from Power Query so everything updates together. - How do you create a dynamic dashboard in Excel?
Show answer
Build PivotTables from a clean table, add PivotCharts and slicers, link KPIs with formulas, and refresh from Power Query so everything updates together. - How do you create a dynamic dashboard in Excel?
Show answer
Build PivotTables from a clean table, add PivotCharts and slicers, link KPIs with formulas, and refresh from Power Query so everything updates together. - How do you create a dynamic dashboard in Excel?
Show answer
Build PivotTables from a clean table, add PivotCharts and slicers, link KPIs with formulas, and refresh from Power Query so everything updates together.
Practise: Data cleaning · 12 questionsMedium
- How do you clean messy text data in Excel? Give a practical example from a hypothetical Wipro project involving managed IT services, cloud migration, and digital transformation, and explain which checks or trade-offs matter most.
Show answer
Use TRIM, CLEAN, UPPER or PROPER, Text to Columns, Flash Fill, SUBSTITUTE, and Power Query for repeatable cleaning steps. Example application: In a hypothetical Wipro project involving managed IT services, cloud migration, and digital transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is Power Query and why is it useful? Give a practical example from a hypothetical Deloitte project involving consulting, risk advisory, and data-driven client services, and explain which checks or trade-offs matter most.
Show answer
An ETL tool inside Excel for importing, cleaning and shaping data with recorded steps that refresh automatically when the source changes. Example application: In a hypothetical Deloitte project involving consulting, risk advisory, and data-driven client services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you clean messy text data in Excel? Give a practical example from a hypothetical Atlassian project involving team collaboration and developer workflow products, and explain which checks or trade-offs matter most.
Show answer
Use TRIM, CLEAN, UPPER or PROPER, Text to Columns, Flash Fill, SUBSTITUTE, and Power Query for repeatable cleaning steps. Example application: In a hypothetical Atlassian project involving team collaboration and developer workflow products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you clean messy text data in Excel? Give a practical example from a hypothetical CRED project involving member rewards, credit-card payments, and financial products, and explain which checks or trade-offs matter most.
Show answer
Use TRIM, CLEAN, UPPER or PROPER, Text to Columns, Flash Fill, SUBSTITUTE, and Power Query for repeatable cleaning steps. Example application: In a hypothetical CRED project involving member rewards, credit-card payments, and financial products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you clean messy text data in Excel? Give a practical example from a hypothetical Swiggy project involving food delivery, logistics, and quick commerce, and explain which checks or trade-offs matter most.
Show answer
Use TRIM, CLEAN, UPPER or PROPER, Text to Columns, Flash Fill, SUBSTITUTE, and Power Query for repeatable cleaning steps. Example application: In a hypothetical Swiggy project involving food delivery, logistics, and quick commerce, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you clean messy text data in Excel? Give a practical example from a hypothetical JP Morgan Chase project involving banking, payments, and financial risk systems, and explain which checks or trade-offs matter most.
Show answer
Use TRIM, CLEAN, UPPER or PROPER, Text to Columns, Flash Fill, SUBSTITUTE, and Power Query for repeatable cleaning steps. Example application: In a hypothetical JP Morgan Chase project involving banking, payments, and financial risk systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you clean messy text data in Excel? Give a practical example from a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, and explain which checks or trade-offs matter most.
Show answer
Use TRIM, CLEAN, UPPER or PROPER, Text to Columns, Flash Fill, SUBSTITUTE, and Power Query for repeatable cleaning steps. Example application: In a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you clean messy text data in Excel? Give a practical example from a hypothetical Mastercard project involving card payment networks and fraud prevention, and explain which checks or trade-offs matter most.
Show answer
Use TRIM, CLEAN, UPPER or PROPER, Text to Columns, Flash Fill, SUBSTITUTE, and Power Query for repeatable cleaning steps. Example application: In a hypothetical Mastercard project involving card payment networks and fraud prevention, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you clean messy text data in Excel? Give a practical example from a hypothetical HSBC project involving international banking, risk, and cross-border payments, and explain which checks or trade-offs matter most.
Show answer
Use TRIM, CLEAN, UPPER or PROPER, Text to Columns, Flash Fill, SUBSTITUTE, and Power Query for repeatable cleaning steps. Example application: In a hypothetical HSBC project involving international banking, risk, and cross-border payments, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you clean messy text data in Excel?
Show answer
Use TRIM, CLEAN, UPPER or PROPER, Text to Columns, Flash Fill, SUBSTITUTE, and Power Query for repeatable cleaning steps. - How do you clean messy text data in Excel?
Show answer
Use TRIM, CLEAN, UPPER or PROPER, Text to Columns, Flash Fill, SUBSTITUTE, and Power Query for repeatable cleaning steps. - How do you clean messy text data in Excel?
Show answer
Use TRIM, CLEAN, UPPER or PROPER, Text to Columns, Flash Fill, SUBSTITUTE, and Power Query for repeatable cleaning steps.
2Sheet 2: SQL
Weeks 3–5 · 5 topicsClick to open topics ▾
Sheet 2: SQL
Weeks 3–5 · 5 topics
Practise: SELECT & filtering · 14 questionsEasy
- Find the second highest salary in SQL. Give a practical example from a hypothetical Intuit project involving financial software, tax preparation, and small-business tools, and explain which checks or trade-offs matter most.
Show answer
SELECT MAX(salary) FROM emp WHERE salary < (SELECT MAX(salary) FROM emp); -- or: DENSE_RANK() OVER (ORDER BY salary DESC) = 2 Example application: In a hypothetical Intuit project involving financial software, tax preparation, and small-business tools, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Find the second highest salary in SQL. Give a practical example from a hypothetical HSBC project involving international banking, risk, and cross-border payments, and explain which checks or trade-offs matter most.
Show answer
SELECT MAX(salary) FROM emp WHERE salary < (SELECT MAX(salary) FROM emp); -- or: DENSE_RANK() OVER (ORDER BY salary DESC) = 2 Example application: In a hypothetical HSBC project involving international banking, risk, and cross-border payments, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Find the second highest salary in SQL.
Show answer
SELECT MAX(salary) FROM emp WHERE salary < (SELECT MAX(salary) FROM emp); -- or: DENSE_RANK() OVER (ORDER BY salary DESC) = 2 - Find the second highest salary in SQL.
Show answer
SELECT MAX(salary) FROM emp WHERE salary < (SELECT MAX(salary) FROM emp); -- or: DENSE_RANK() OVER (ORDER BY salary DESC) = 2 - Write SQL for a running total of sales by date. Give a practical example from a hypothetical Apple project involving consumer devices, App Store workflows, and subscription services, and explain which checks or trade-offs matter most.
Show answer
SELECT order_date, SUM(amount) OVER (ORDER BY order_date) AS running_total FROM sales; Example application: In a hypothetical Apple project involving consumer devices, App Store workflows, and subscription services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you find duplicate rows in a table? Give a practical example from a hypothetical LinkedIn project involving professional networking, job discovery, and recruiting products, and explain which checks or trade-offs matter most.
Show answer
SELECT col, COUNT(*) FROM t GROUP BY col HAVING COUNT(*) > 1; use ROW_NUMBER() partitioned by the key to delete extras. Example application: In a hypothetical LinkedIn project involving professional networking, job discovery, and recruiting products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Write SQL for a running total of sales by date. Give a practical example from a hypothetical PhonePe project involving UPI payments, merchant transactions, and financial services, and explain which checks or trade-offs matter most.
Show answer
SELECT order_date, SUM(amount) OVER (ORDER BY order_date) AS running_total FROM sales; Example application: In a hypothetical PhonePe project involving UPI payments, merchant transactions, and financial services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Write SQL for a running total of sales by date. Give a practical example from a hypothetical Morgan Stanley project involving wealth management, trading, and investment platforms, and explain which checks or trade-offs matter most.
Show answer
SELECT order_date, SUM(amount) OVER (ORDER BY order_date) AS running_total FROM sales; Example application: In a hypothetical Morgan Stanley project involving wealth management, trading, and investment platforms, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Write SQL for a running total of sales by date. Give a practical example from a hypothetical Tech Mahindra project involving telecom platforms, IT services, and digital transformation, and explain which checks or trade-offs matter most.
Show answer
SELECT order_date, SUM(amount) OVER (ORDER BY order_date) AS running_total FROM sales; Example application: In a hypothetical Tech Mahindra project involving telecom platforms, IT services, and digital transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain GROUP BY with an example.
Show answer
It groups rows sharing values so aggregates run per group, for example SELECT region, SUM(sales) FROM orders GROUP BY region. - Find customers who ordered in January but not in February. Give a practical example from a hypothetical Cognizant project involving enterprise applications and healthcare or financial client systems, and explain which checks or trade-offs matter most.
Show answer
SELECT DISTINCT customer_id FROM orders WHERE month = 'Jan' EXCEPT SELECT customer_id FROM orders WHERE month = 'Feb'; Example application: In a hypothetical Cognizant project involving enterprise applications and healthcare or financial client systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you optimise a slow SQL query? Give a practical example from a hypothetical Atlassian project involving team collaboration and developer workflow products, and explain which checks or trade-offs matter most.
Show answer
Read the execution plan, add or fix indexes, select only needed columns, filter early, avoid functions on indexed columns, and replace correlated subqueries with joins. Example application: In a hypothetical Atlassian project involving team collaboration and developer workflow products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you optimise a slow SQL query? Give a practical example from a hypothetical Visa project involving card networks, authorization, and payment-risk systems, and explain which checks or trade-offs matter most.
Show answer
Read the execution plan, add or fix indexes, select only needed columns, filter early, avoid functions on indexed columns, and replace correlated subqueries with joins. Example application: In a hypothetical Visa project involving card networks, authorization, and payment-risk systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Find customers who ordered in January but not in February.
Show answer
SELECT DISTINCT customer_id FROM orders WHERE month = 'Jan' EXCEPT SELECT customer_id FROM orders WHERE month = 'Feb';
Practise: Joins · 14 questionsEasy
- Explain the types of SQL joins. Give a practical example from a hypothetical TCS project involving enterprise IT services, integration, and client delivery, and explain which checks or trade-offs matter most.
Show answer
INNER returns matching rows, LEFT keeps all left rows, RIGHT keeps all right rows, FULL keeps all rows from both, and CROSS returns every combination. Example application: In a hypothetical TCS project involving enterprise IT services, integration, and client delivery, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain the types of SQL joins. Give a practical example from a hypothetical Microsoft project involving developer tools, cloud services, and productivity applications, and explain which checks or trade-offs matter most.
Show answer
INNER returns matching rows, LEFT keeps all left rows, RIGHT keeps all right rows, FULL keeps all rows from both, and CROSS returns every combination. Example application: In a hypothetical Microsoft project involving developer tools, cloud services, and productivity applications, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain the types of SQL joins. Give a practical example from a hypothetical LinkedIn project involving professional networking, job discovery, and recruiting products, and explain which checks or trade-offs matter most.
Show answer
INNER returns matching rows, LEFT keeps all left rows, RIGHT keeps all right rows, FULL keeps all rows from both, and CROSS returns every combination. Example application: In a hypothetical LinkedIn project involving professional networking, job discovery, and recruiting products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain the types of SQL joins. Give a practical example from a hypothetical Atlassian project involving team collaboration and developer workflow products, and explain which checks or trade-offs matter most.
Show answer
INNER returns matching rows, LEFT keeps all left rows, RIGHT keeps all right rows, FULL keeps all rows from both, and CROSS returns every combination. Example application: In a hypothetical Atlassian project involving team collaboration and developer workflow products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain the types of SQL joins. Give a practical example from a hypothetical Stripe project involving online payments, billing, and financial infrastructure, and explain which checks or trade-offs matter most.
Show answer
INNER returns matching rows, LEFT keeps all left rows, RIGHT keeps all right rows, FULL keeps all rows from both, and CROSS returns every combination. Example application: In a hypothetical Stripe project involving online payments, billing, and financial infrastructure, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - INNER JOIN vs LEFT JOIN — with an example. Give a practical example from a hypothetical Flipkart project involving e-commerce marketplace, seller tools, and fulfilment, and explain which checks or trade-offs matter most.
Show answer
INNER JOIN returns only matching rows. LEFT JOIN returns every row from the left table and NULLs where the right table has no match — e.g. all customers, including those with no orders. Example application: In a hypothetical Flipkart project involving e-commerce marketplace, seller tools, and fulfilment, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - INNER JOIN vs LEFT JOIN — with an example. Give a practical example from a hypothetical Meesho project involving social commerce, seller listings, and logistics, and explain which checks or trade-offs matter most.
Show answer
INNER JOIN returns only matching rows. LEFT JOIN returns every row from the left table and NULLs where the right table has no match — e.g. all customers, including those with no orders. Example application: In a hypothetical Meesho project involving social commerce, seller listings, and logistics, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - INNER JOIN vs LEFT JOIN — with an example. Give a practical example from a hypothetical Goldman Sachs project involving investment banking, markets, and risk analytics, and explain which checks or trade-offs matter most.
Show answer
INNER JOIN returns only matching rows. LEFT JOIN returns every row from the left table and NULLs where the right table has no match — e.g. all customers, including those with no orders. Example application: In a hypothetical Goldman Sachs project involving investment banking, markets, and risk analytics, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - INNER JOIN vs LEFT JOIN — with an example. Give a practical example from a hypothetical JP Morgan Chase project involving banking, payments, and financial risk systems, and explain which checks or trade-offs matter most.
Show answer
INNER JOIN returns only matching rows. LEFT JOIN returns every row from the left table and NULLs where the right table has no match — e.g. all customers, including those with no orders. Example application: In a hypothetical JP Morgan Chase project involving banking, payments, and financial risk systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain the types of SQL joins. Give a practical example from a hypothetical Tech Mahindra project involving telecom platforms, IT services, and digital transformation, and explain which checks or trade-offs matter most.
Show answer
INNER returns matching rows, LEFT keeps all left rows, RIGHT keeps all right rows, FULL keeps all rows from both, and CROSS returns every combination. Example application: In a hypothetical Tech Mahindra project involving telecom platforms, IT services, and digital transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - INNER JOIN vs LEFT JOIN — with an example. Give a practical example from a hypothetical Tech Mahindra project involving telecom platforms, IT services, and digital transformation, and explain which checks or trade-offs matter most.
Show answer
INNER JOIN returns only matching rows. LEFT JOIN returns every row from the left table and NULLs where the right table has no match — e.g. all customers, including those with no orders. Example application: In a hypothetical Tech Mahindra project involving telecom platforms, IT services, and digital transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - INNER JOIN vs LEFT JOIN — with an example.
Show answer
INNER JOIN returns only matching rows. LEFT JOIN returns every row from the left table and NULLs where the right table has no match — e.g. all customers, including those with no orders. - INNER JOIN vs LEFT JOIN — with an example.
Show answer
INNER JOIN returns only matching rows. LEFT JOIN returns every row from the left table and NULLs where the right table has no match — e.g. all customers, including those with no orders. - What is a self join and when is it used? Give a practical example from a hypothetical Infosys project involving enterprise consulting, digital platforms, and client transformation, and explain which checks or trade-offs matter most.
Show answer
Joining a table to itself with aliases, useful for hierarchies such as employees and managers or comparing rows within the same table. Example application: In a hypothetical Infosys project involving enterprise consulting, digital platforms, and client transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports.
Practise: GROUP BY & HAVING · 14 questionsMedium
- What is the difference between WHERE and HAVING? Give a practical example from a hypothetical TCS project involving enterprise IT services, integration, and client delivery, and explain which checks or trade-offs matter most.
Show answer
WHERE filters rows before grouping. HAVING filters groups after GROUP BY and can use aggregates like SUM() or COUNT(). Example application: In a hypothetical TCS project involving enterprise IT services, integration, and client delivery, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is the difference between WHERE and HAVING? Give a practical example from a hypothetical Infosys project involving enterprise consulting, digital platforms, and client transformation, and explain which checks or trade-offs matter most.
Show answer
WHERE filters rows before grouping. HAVING filters groups after GROUP BY and can use aggregates like SUM() or COUNT(). Example application: In a hypothetical Infosys project involving enterprise consulting, digital platforms, and client transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is the difference between WHERE and HAVING? Give a practical example from a hypothetical Cognizant project involving enterprise applications and healthcare or financial client systems, and explain which checks or trade-offs matter most.
Show answer
WHERE filters rows before grouping. HAVING filters groups after GROUP BY and can use aggregates like SUM() or COUNT(). Example application: In a hypothetical Cognizant project involving enterprise applications and healthcare or financial client systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is the difference between WHERE and HAVING? Give a practical example from a hypothetical Meta project involving social platforms, messaging, and advertising systems, and explain which checks or trade-offs matter most.
Show answer
WHERE filters rows before grouping. HAVING filters groups after GROUP BY and can use aggregates like SUM() or COUNT(). Example application: In a hypothetical Meta project involving social platforms, messaging, and advertising systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is the difference between WHERE and HAVING? Give a practical example from a hypothetical Apple project involving consumer devices, App Store workflows, and subscription services, and explain which checks or trade-offs matter most.
Show answer
WHERE filters rows before grouping. HAVING filters groups after GROUP BY and can use aggregates like SUM() or COUNT(). Example application: In a hypothetical Apple project involving consumer devices, App Store workflows, and subscription services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is the difference between WHERE and HAVING? Give a practical example from a hypothetical D. E. Shaw project involving quantitative research and financial technology, and explain which checks or trade-offs matter most.
Show answer
WHERE filters rows before grouping. HAVING filters groups after GROUP BY and can use aggregates like SUM() or COUNT(). Example application: In a hypothetical D. E. Shaw project involving quantitative research and financial technology, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is the difference between WHERE and HAVING? Give a practical example from a hypothetical Flipkart project involving e-commerce marketplace, seller tools, and fulfilment, and explain which checks or trade-offs matter most.
Show answer
WHERE filters rows before grouping. HAVING filters groups after GROUP BY and can use aggregates like SUM() or COUNT(). Example application: In a hypothetical Flipkart project involving e-commerce marketplace, seller tools, and fulfilment, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is the difference between WHERE and HAVING? Give a practical example from a hypothetical PhonePe project involving UPI payments, merchant transactions, and financial services, and explain which checks or trade-offs matter most.
Show answer
WHERE filters rows before grouping. HAVING filters groups after GROUP BY and can use aggregates like SUM() or COUNT(). Example application: In a hypothetical PhonePe project involving UPI payments, merchant transactions, and financial services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is the difference between WHERE and HAVING? Give a practical example from a hypothetical Cisco project involving networking, security, and collaboration infrastructure, and explain which checks or trade-offs matter most.
Show answer
WHERE filters rows before grouping. HAVING filters groups after GROUP BY and can use aggregates like SUM() or COUNT(). Example application: In a hypothetical Cisco project involving networking, security, and collaboration infrastructure, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is the difference between WHERE and HAVING? Give a practical example from a hypothetical Mastercard project involving card payment networks and fraud prevention, and explain which checks or trade-offs matter most.
Show answer
WHERE filters rows before grouping. HAVING filters groups after GROUP BY and can use aggregates like SUM() or COUNT(). Example application: In a hypothetical Mastercard project involving card payment networks and fraud prevention, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is the difference between WHERE and HAVING? Give a practical example from a hypothetical Barclays project involving retail banking, trading, and financial compliance, and explain which checks or trade-offs matter most.
Show answer
WHERE filters rows before grouping. HAVING filters groups after GROUP BY and can use aggregates like SUM() or COUNT(). Example application: In a hypothetical Barclays project involving retail banking, trading, and financial compliance, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is the difference between WHERE and HAVING? Give a practical example from a hypothetical Tech Mahindra project involving telecom platforms, IT services, and digital transformation, and explain which checks or trade-offs matter most.
Show answer
WHERE filters rows before grouping. HAVING filters groups after GROUP BY and can use aggregates like SUM() or COUNT(). Example application: In a hypothetical Tech Mahindra project involving telecom platforms, IT services, and digital transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is the difference between WHERE and HAVING?
Show answer
WHERE filters rows before grouping. HAVING filters groups after GROUP BY and can use aggregates like SUM() or COUNT(). - What is the difference between WHERE and HAVING?
Show answer
WHERE filters rows before grouping. HAVING filters groups after GROUP BY and can use aggregates like SUM() or COUNT().
Practise: Window functions · 14 questionsMedium
- What is a window function? Give a practical example from a hypothetical Infosys project involving enterprise consulting, digital platforms, and client transformation, and explain which checks or trade-offs matter most.
Show answer
A function that calculates over a set of rows related to the current row without collapsing them, such as ROW_NUMBER, RANK, LAG or SUM() OVER (PARTITION BY ...). Example application: In a hypothetical Infosys project involving enterprise consulting, digital platforms, and client transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a window function? Give a practical example from a hypothetical Capgemini project involving client delivery, data platforms, and enterprise transformation, and explain which checks or trade-offs matter most.
Show answer
A function that calculates over a set of rows related to the current row without collapsing them, such as ROW_NUMBER, RANK, LAG or SUM() OVER (PARTITION BY ...). Example application: In a hypothetical Capgemini project involving client delivery, data platforms, and enterprise transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a window function? Give a practical example from a hypothetical Deloitte project involving consulting, risk advisory, and data-driven client services, and explain which checks or trade-offs matter most.
Show answer
A function that calculates over a set of rows related to the current row without collapsing them, such as ROW_NUMBER, RANK, LAG or SUM() OVER (PARTITION BY ...). Example application: In a hypothetical Deloitte project involving consulting, risk advisory, and data-driven client services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a window function? Give a practical example from a hypothetical LinkedIn project involving professional networking, job discovery, and recruiting products, and explain which checks or trade-offs matter most.
Show answer
A function that calculates over a set of rows related to the current row without collapsing them, such as ROW_NUMBER, RANK, LAG or SUM() OVER (PARTITION BY ...). Example application: In a hypothetical LinkedIn project involving professional networking, job discovery, and recruiting products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a window function? Give a practical example from a hypothetical Uber project involving ride-hailing, driver operations, and real-time dispatch, and explain which checks or trade-offs matter most.
Show answer
A function that calculates over a set of rows related to the current row without collapsing them, such as ROW_NUMBER, RANK, LAG or SUM() OVER (PARTITION BY ...). Example application: In a hypothetical Uber project involving ride-hailing, driver operations, and real-time dispatch, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a window function? Give a practical example from a hypothetical D. E. Shaw project involving quantitative research and financial technology, and explain which checks or trade-offs matter most.
Show answer
A function that calculates over a set of rows related to the current row without collapsing them, such as ROW_NUMBER, RANK, LAG or SUM() OVER (PARTITION BY ...). Example application: In a hypothetical D. E. Shaw project involving quantitative research and financial technology, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a window function? Give a practical example from a hypothetical Bloomberg project involving financial terminals, market data, and news systems, and explain which checks or trade-offs matter most.
Show answer
A function that calculates over a set of rows related to the current row without collapsing them, such as ROW_NUMBER, RANK, LAG or SUM() OVER (PARTITION BY ...). Example application: In a hypothetical Bloomberg project involving financial terminals, market data, and news systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a window function? Give a practical example from a hypothetical Tower Research Capital project involving low-latency trading and market data systems, and explain which checks or trade-offs matter most.
Show answer
A function that calculates over a set of rows related to the current row without collapsing them, such as ROW_NUMBER, RANK, LAG or SUM() OVER (PARTITION BY ...). Example application: In a hypothetical Tower Research Capital project involving low-latency trading and market data systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a window function? Give a practical example from a hypothetical Stripe project involving online payments, billing, and financial infrastructure, and explain which checks or trade-offs matter most.
Show answer
A function that calculates over a set of rows related to the current row without collapsing them, such as ROW_NUMBER, RANK, LAG or SUM() OVER (PARTITION BY ...). Example application: In a hypothetical Stripe project involving online payments, billing, and financial infrastructure, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a window function? Give a practical example from a hypothetical CRED project involving member rewards, credit-card payments, and financial products, and explain which checks or trade-offs matter most.
Show answer
A function that calculates over a set of rows related to the current row without collapsing them, such as ROW_NUMBER, RANK, LAG or SUM() OVER (PARTITION BY ...). Example application: In a hypothetical CRED project involving member rewards, credit-card payments, and financial products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a window function? Give a practical example from a hypothetical Swiggy project involving food delivery, logistics, and quick commerce, and explain which checks or trade-offs matter most.
Show answer
A function that calculates over a set of rows related to the current row without collapsing them, such as ROW_NUMBER, RANK, LAG or SUM() OVER (PARTITION BY ...). Example application: In a hypothetical Swiggy project involving food delivery, logistics, and quick commerce, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a window function? Give a practical example from a hypothetical Tech Mahindra project involving telecom platforms, IT services, and digital transformation, and explain which checks or trade-offs matter most.
Show answer
A function that calculates over a set of rows related to the current row without collapsing them, such as ROW_NUMBER, RANK, LAG or SUM() OVER (PARTITION BY ...). Example application: In a hypothetical Tech Mahindra project involving telecom platforms, IT services, and digital transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a window function?
Show answer
A function that calculates over a set of rows related to the current row without collapsing them, such as ROW_NUMBER, RANK, LAG or SUM() OVER (PARTITION BY ...). - What is a window function?
Show answer
A function that calculates over a set of rows related to the current row without collapsing them, such as ROW_NUMBER, RANK, LAG or SUM() OVER (PARTITION BY ...).
Practise: CTEs · 14 questionsHard
- Find the second highest salary in SQL. Give a practical example from a hypothetical TCS project involving enterprise IT services, integration, and client delivery, and explain which checks or trade-offs matter most.
Show answer
SELECT MAX(salary) FROM emp WHERE salary < (SELECT MAX(salary) FROM emp); -- or: DENSE_RANK() OVER (ORDER BY salary DESC) = 2 Example application: In a hypothetical TCS project involving enterprise IT services, integration, and client delivery, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is the difference between a clustered and a non-clustered index? Give a practical example from a hypothetical Infosys project involving enterprise consulting, digital platforms, and client transformation, and explain which checks or trade-offs matter most.
Show answer
A clustered index defines the physical order of rows (one per table); a non-clustered index is a separate structure with pointers to the rows. Example application: In a hypothetical Infosys project involving enterprise consulting, digital platforms, and client transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a window function? Give a practical example from a hypothetical Cognizant project involving enterprise applications and healthcare or financial client systems, and explain which checks or trade-offs matter most.
Show answer
A function that calculates over a set of rows related to the current row without collapsing them, such as ROW_NUMBER, RANK, LAG or SUM() OVER (PARTITION BY ...). Example application: In a hypothetical Cognizant project involving enterprise applications and healthcare or financial client systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a self join and when is it used? Give a practical example from a hypothetical Amazon project involving an online marketplace, fulfilment operations, and cloud services, and explain which checks or trade-offs matter most.
Show answer
Joining a table to itself with aliases, useful for hierarchies such as employees and managers or comparing rows within the same table. Example application: In a hypothetical Amazon project involving an online marketplace, fulfilment operations, and cloud services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you find duplicate rows in a table? Give a practical example from a hypothetical Flipkart project involving e-commerce marketplace, seller tools, and fulfilment, and explain which checks or trade-offs matter most.
Show answer
SELECT col, COUNT(*) FROM t GROUP BY col HAVING COUNT(*) > 1; use ROW_NUMBER() partitioned by the key to delete extras. Example application: In a hypothetical Flipkart project involving e-commerce marketplace, seller tools, and fulfilment, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you calculate a running total? Give a practical example from a hypothetical PhonePe project involving UPI payments, merchant transactions, and financial services, and explain which checks or trade-offs matter most.
Show answer
SUM(amount) OVER (ORDER BY order_date ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) adds up values cumulatively. Example application: In a hypothetical PhonePe project involving UPI payments, merchant transactions, and financial services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is the difference between a clustered and a non-clustered index? Give a practical example from a hypothetical Intuit project involving financial software, tax preparation, and small-business tools, and explain which checks or trade-offs matter most.
Show answer
A clustered index defines the physical order of rows (one per table); a non-clustered index is a separate structure with pointers to the rows. Example application: In a hypothetical Intuit project involving financial software, tax preparation, and small-business tools, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Difference between a CTE, a subquery and a temp table? Give a practical example from a hypothetical Goldman Sachs project involving investment banking, markets, and risk analytics, and explain which checks or trade-offs matter most.
Show answer
A subquery is inline; a CTE is a named, readable block for one statement; a temp table is physically stored for the session and can be indexed and reused. Example application: In a hypothetical Goldman Sachs project involving investment banking, markets, and risk analytics, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you calculate month-over-month growth? Give a practical example from a hypothetical Cisco project involving networking, security, and collaboration infrastructure, and explain which checks or trade-offs matter most.
Show answer
Aggregate revenue by month, use LAG(revenue) OVER (ORDER BY month), then (revenue - prev) / prev x 100. Example application: In a hypothetical Cisco project involving networking, security, and collaboration infrastructure, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a CTE and why use it? Give a practical example from a hypothetical Visa project involving card networks, authorization, and payment-risk systems, and explain which checks or trade-offs matter most.
Show answer
A Common Table Expression is a named temporary result defined with WITH that makes complex queries readable and allows recursion. Example application: In a hypothetical Visa project involving card networks, authorization, and payment-risk systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you calculate month-over-month growth? Give a practical example from a hypothetical Tech Mahindra project involving telecom platforms, IT services, and digital transformation, and explain which checks or trade-offs matter most.
Show answer
Aggregate revenue by month, use LAG(revenue) OVER (ORDER BY month), then (revenue - prev) / prev x 100. Example application: In a hypothetical Tech Mahindra project involving telecom platforms, IT services, and digital transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - RANK vs DENSE_RANK vs ROW_NUMBER?
Show answer
ROW_NUMBER gives a unique sequence. RANK gives ties the same rank and skips the next (1, 1, 3). DENSE_RANK gives ties the same rank without gaps (1, 1, 2). - What is normalisation?
Show answer
Organising tables to reduce redundancy and anomalies by splitting data into related tables, commonly up to third normal form. - Difference between UNION and UNION ALL?
Show answer
UNION removes duplicate rows and sorts internally; UNION ALL keeps every row and is faster.
3Sheet 3: Python for Analysis
Weeks 6–7 · 4 topicsClick to open topics ▾
Sheet 3: Python for Analysis
Weeks 6–7 · 4 topics
Practise: Pandas · 11 questionsEasy
- How do you read a CSV and inspect it in Pandas? Give a practical example from a hypothetical Deloitte project involving consulting, risk advisory, and data-driven client services, and explain which checks or trade-offs matter most.
Show answer
df = pd.read_csv('file.csv'); then head(), info(), describe() and isna().sum() for a quick health check. Example application: In a hypothetical Deloitte project involving consulting, risk advisory, and data-driven client services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Show a Pandas groupby example. Give a practical example from a hypothetical Flipkart project involving e-commerce marketplace, seller tools, and fulfilment, and explain which checks or trade-offs matter most.
Show answer
df.groupby('region')['sales'].agg(['sum', 'mean', 'count']) # splits by region, aggregates, combines the results Example application: In a hypothetical Flipkart project involving e-commerce marketplace, seller tools, and fulfilment, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Show a Pandas groupby example. Give a practical example from a hypothetical Paytm project involving payments, merchant services, and financial products, and explain which checks or trade-offs matter most.
Show answer
df.groupby('region')['sales'].agg(['sum', 'mean', 'count']) # splits by region, aggregates, combines the results Example application: In a hypothetical Paytm project involving payments, merchant services, and financial products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you read a CSV and inspect it in Pandas? Give a practical example from a hypothetical Morgan Stanley project involving wealth management, trading, and investment platforms, and explain which checks or trade-offs matter most.
Show answer
df = pd.read_csv('file.csv'); then head(), info(), describe() and isna().sum() for a quick health check. Example application: In a hypothetical Morgan Stanley project involving wealth management, trading, and investment platforms, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you read a CSV and inspect it in Pandas? Give a practical example from a hypothetical HSBC project involving international banking, risk, and cross-border payments, and explain which checks or trade-offs matter most.
Show answer
df = pd.read_csv('file.csv'); then head(), info(), describe() and isna().sum() for a quick health check. Example application: In a hypothetical HSBC project involving international banking, risk, and cross-border payments, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you read a CSV and inspect it in Pandas?
Show answer
df = pd.read_csv('file.csv'); then head(), info(), describe() and isna().sum() for a quick health check. - Show a Pandas groupby example.
Show answer
df.groupby('region')['sales'].agg(['sum', 'mean', 'count']) # splits by region, aggregates, combines the results - Show a Pandas groupby example.
Show answer
df.groupby('region')['sales'].agg(['sum', 'mean', 'count']) # splits by region, aggregates, combines the results - How do you handle outliers in Pandas? Give a practical example from a hypothetical Stripe project involving online payments, billing, and financial infrastructure, and explain which checks or trade-offs matter most.
Show answer
Detect with IQR or z-score, then cap with clip, remove, transform with log, or keep and flag them depending on whether they are errors or real events. Example application: In a hypothetical Stripe project involving online payments, billing, and financial infrastructure, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you handle outliers in Pandas? Give a practical example from a hypothetical Goldman Sachs project involving investment banking, markets, and risk analytics, and explain which checks or trade-offs matter most.
Show answer
Detect with IQR or z-score, then cap with clip, remove, transform with log, or keep and flag them depending on whether they are errors or real events. Example application: In a hypothetical Goldman Sachs project involving investment banking, markets, and risk analytics, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you handle outliers in Pandas?
Show answer
Detect with IQR or z-score, then cap with clip, remove, transform with log, or keep and flag them depending on whether they are errors or real events.
Practise: Cleaning pipelines · 11 questionsEasy
- How do you deal with missing or duplicate data? Give a practical example from a hypothetical Capgemini project involving client delivery, data platforms, and enterprise transformation, and explain which checks or trade-offs matter most.
Show answer
Profile the data, remove exact duplicates using keys, impute missing values (mean/median/mode or a business rule), flag imputed rows and document every cleaning step. Example application: In a hypothetical Capgemini project involving client delivery, data platforms, and enterprise transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you deal with missing or duplicate data? Give a practical example from a hypothetical Salesforce project involving CRM, sales operations, and customer data workflows, and explain which checks or trade-offs matter most.
Show answer
Profile the data, remove exact duplicates using keys, impute missing values (mean/median/mode or a business rule), flag imputed rows and document every cleaning step. Example application: In a hypothetical Salesforce project involving CRM, sales operations, and customer data workflows, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you deal with missing or duplicate data? Give a practical example from a hypothetical CRED project involving member rewards, credit-card payments, and financial products, and explain which checks or trade-offs matter most.
Show answer
Profile the data, remove exact duplicates using keys, impute missing values (mean/median/mode or a business rule), flag imputed rows and document every cleaning step. Example application: In a hypothetical CRED project involving member rewards, credit-card payments, and financial products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you deal with missing or duplicate data? Give a practical example from a hypothetical Zepto project involving quick commerce, inventory, and last-mile delivery, and explain which checks or trade-offs matter most.
Show answer
Profile the data, remove exact duplicates using keys, impute missing values (mean/median/mode or a business rule), flag imputed rows and document every cleaning step. Example application: In a hypothetical Zepto project involving quick commerce, inventory, and last-mile delivery, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you deal with missing or duplicate data? Give a practical example from a hypothetical ServiceNow project involving IT service management and enterprise workflow automation, and explain which checks or trade-offs matter most.
Show answer
Profile the data, remove exact duplicates using keys, impute missing values (mean/median/mode or a business rule), flag imputed rows and document every cleaning step. Example application: In a hypothetical ServiceNow project involving IT service management and enterprise workflow automation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you deal with missing or duplicate data? Give a practical example from a hypothetical Walmart project involving retail commerce, inventory, and supply-chain operations, and explain which checks or trade-offs matter most.
Show answer
Profile the data, remove exact duplicates using keys, impute missing values (mean/median/mode or a business rule), flag imputed rows and document every cleaning step. Example application: In a hypothetical Walmart project involving retail commerce, inventory, and supply-chain operations, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you deal with missing or duplicate data? Give a practical example from a hypothetical Goldman Sachs project involving investment banking, markets, and risk analytics, and explain which checks or trade-offs matter most.
Show answer
Profile the data, remove exact duplicates using keys, impute missing values (mean/median/mode or a business rule), flag imputed rows and document every cleaning step. Example application: In a hypothetical Goldman Sachs project involving investment banking, markets, and risk analytics, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you deal with missing or duplicate data? Give a practical example from a hypothetical HSBC project involving international banking, risk, and cross-border payments, and explain which checks or trade-offs matter most.
Show answer
Profile the data, remove exact duplicates using keys, impute missing values (mean/median/mode or a business rule), flag imputed rows and document every cleaning step. Example application: In a hypothetical HSBC project involving international banking, risk, and cross-border payments, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you deal with missing or duplicate data?
Show answer
Profile the data, remove exact duplicates using keys, impute missing values (mean/median/mode or a business rule), flag imputed rows and document every cleaning step. - How do you deal with missing or duplicate data?
Show answer
Profile the data, remove exact duplicates using keys, impute missing values (mean/median/mode or a business rule), flag imputed rows and document every cleaning step. - How do you deal with missing or duplicate data?
Show answer
Profile the data, remove exact duplicates using keys, impute missing values (mean/median/mode or a business rule), flag imputed rows and document every cleaning step.
Practise: Matplotlib · 11 questionsMedium
- Explain Matplotlib vs Seaborn. Give a practical example from a hypothetical Wipro project involving managed IT services, cloud migration, and digital transformation, and explain which checks or trade-offs matter most.
Show answer
Matplotlib is the low-level plotting library with full control; Seaborn builds on it with attractive statistical charts and simpler syntax. Example application: In a hypothetical Wipro project involving managed IT services, cloud migration, and digital transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain Matplotlib vs Seaborn. Give a practical example from a hypothetical Microsoft project involving developer tools, cloud services, and productivity applications, and explain which checks or trade-offs matter most.
Show answer
Matplotlib is the low-level plotting library with full control; Seaborn builds on it with attractive statistical charts and simpler syntax. Example application: In a hypothetical Microsoft project involving developer tools, cloud services, and productivity applications, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain Matplotlib vs Seaborn. Give a practical example from a hypothetical Uber project involving ride-hailing, driver operations, and real-time dispatch, and explain which checks or trade-offs matter most.
Show answer
Matplotlib is the low-level plotting library with full control; Seaborn builds on it with attractive statistical charts and simpler syntax. Example application: In a hypothetical Uber project involving ride-hailing, driver operations, and real-time dispatch, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain Matplotlib vs Seaborn. Give a practical example from a hypothetical D. E. Shaw project involving quantitative research and financial technology, and explain which checks or trade-offs matter most.
Show answer
Matplotlib is the low-level plotting library with full control; Seaborn builds on it with attractive statistical charts and simpler syntax. Example application: In a hypothetical D. E. Shaw project involving quantitative research and financial technology, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain Matplotlib vs Seaborn. Give a practical example from a hypothetical Bloomberg project involving financial terminals, market data, and news systems, and explain which checks or trade-offs matter most.
Show answer
Matplotlib is the low-level plotting library with full control; Seaborn builds on it with attractive statistical charts and simpler syntax. Example application: In a hypothetical Bloomberg project involving financial terminals, market data, and news systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain Matplotlib vs Seaborn. Give a practical example from a hypothetical Tower Research Capital project involving low-latency trading and market data systems, and explain which checks or trade-offs matter most.
Show answer
Matplotlib is the low-level plotting library with full control; Seaborn builds on it with attractive statistical charts and simpler syntax. Example application: In a hypothetical Tower Research Capital project involving low-latency trading and market data systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain Matplotlib vs Seaborn. Give a practical example from a hypothetical Stripe project involving online payments, billing, and financial infrastructure, and explain which checks or trade-offs matter most.
Show answer
Matplotlib is the low-level plotting library with full control; Seaborn builds on it with attractive statistical charts and simpler syntax. Example application: In a hypothetical Stripe project involving online payments, billing, and financial infrastructure, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain Matplotlib vs Seaborn. Give a practical example from a hypothetical Zepto project involving quick commerce, inventory, and last-mile delivery, and explain which checks or trade-offs matter most.
Show answer
Matplotlib is the low-level plotting library with full control; Seaborn builds on it with attractive statistical charts and simpler syntax. Example application: In a hypothetical Zepto project involving quick commerce, inventory, and last-mile delivery, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain Matplotlib vs Seaborn. Give a practical example from a hypothetical HCLTech project involving enterprise technology services and infrastructure, and explain which checks or trade-offs matter most.
Show answer
Matplotlib is the low-level plotting library with full control; Seaborn builds on it with attractive statistical charts and simpler syntax. Example application: In a hypothetical HCLTech project involving enterprise technology services and infrastructure, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain Matplotlib vs Seaborn.
Show answer
Matplotlib is the low-level plotting library with full control; Seaborn builds on it with attractive statistical charts and simpler syntax. - Explain Matplotlib vs Seaborn.
Show answer
Matplotlib is the low-level plotting library with full control; Seaborn builds on it with attractive statistical charts and simpler syntax.
Practise: Automation scripts · 11 questionsMedium
- How do you choose the right chart? Give a practical example from a hypothetical Apple project involving consumer devices, App Store workflows, and subscription services, and explain which checks or trade-offs matter most.
Show answer
Line for trends, bar for comparisons, scatter for relationships, histogram for distributions and pie only for few parts of a whole. Example application: In a hypothetical Apple project involving consumer devices, App Store workflows, and subscription services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Show a Pandas groupby example. Give a practical example from a hypothetical Adobe project involving creative software, document workflows, and subscriptions, and explain which checks or trade-offs matter most.
Show answer
df.groupby('region')['sales'].agg(['sum', 'mean', 'count']) # splits by region, aggregates, combines the results Example application: In a hypothetical Adobe project involving creative software, document workflows, and subscriptions, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is descriptive vs inferential statistics? Give a practical example from a hypothetical ServiceNow project involving IT service management and enterprise workflow automation, and explain which checks or trade-offs matter most.
Show answer
Descriptive statistics summarise the data you have; inferential statistics use a sample to draw conclusions about a larger population. Example application: In a hypothetical ServiceNow project involving IT service management and enterprise workflow automation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you create a new column from conditions? Give a practical example from a hypothetical Accenture project involving multi-client consulting, cloud transformation, and process automation, and explain which checks or trade-offs matter most.
Show answer
Use np.where for one condition, np.select for several, or df.apply with a function for custom logic. Example application: In a hypothetical Accenture project involving multi-client consulting, cloud transformation, and process automation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is the difference between melt and pivot? Give a practical example from a hypothetical Accenture project involving multi-client consulting, cloud transformation, and process automation, and explain which checks or trade-offs matter most.
Show answer
melt converts wide data to long format; pivot converts long data to wide, and they are used to reshape data for analysis or charts. Example application: In a hypothetical Accenture project involving multi-client consulting, cloud transformation, and process automation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you change data types and parse dates? Give a practical example from a hypothetical Apple project involving consumer devices, App Store workflows, and subscription services, and explain which checks or trade-offs matter most.
Show answer
df['date'] = pd.to_datetime(df['date']); df['amount'] = pd.to_numeric(df['amount'], errors='coerce'); astype('category') for repeated strings. Example application: In a hypothetical Apple project involving consumer devices, App Store workflows, and subscription services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you merge two DataFrames on different column names? Give a practical example from a hypothetical Apple project involving consumer devices, App Store workflows, and subscription services, and explain which checks or trade-offs matter most.
Show answer
pd.merge(df1, df2, left_on='cust_id', right_on='id', how='left') joins on differently named keys. Example application: In a hypothetical Apple project involving consumer devices, App Store workflows, and subscription services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is vectorisation and why does it matter? Give a practical example from a hypothetical Apple project involving consumer devices, App Store workflows, and subscription services, and explain which checks or trade-offs matter most.
Show answer
Applying operations to whole arrays at once instead of Python loops, which is far faster because it runs in optimised compiled code. Example application: In a hypothetical Apple project involving consumer devices, App Store workflows, and subscription services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you change data types and parse dates? Give a practical example from a hypothetical ServiceNow project involving IT service management and enterprise workflow automation, and explain which checks or trade-offs matter most.
Show answer
df['date'] = pd.to_datetime(df['date']); df['amount'] = pd.to_numeric(df['amount'], errors='coerce'); astype('category') for repeated strings. Example application: In a hypothetical ServiceNow project involving IT service management and enterprise workflow automation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is vectorisation and why does it matter? Give a practical example from a hypothetical ServiceNow project involving IT service management and enterprise workflow automation, and explain which checks or trade-offs matter most.
Show answer
Applying operations to whole arrays at once instead of Python loops, which is far faster because it runs in optimised compiled code. Example application: In a hypothetical ServiceNow project involving IT service management and enterprise workflow automation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How would you automate a weekly report with Python? Give a practical example from a hypothetical Adobe project involving creative software, document workflows, and subscriptions, and explain which checks or trade-offs matter most.
Show answer
Pull data with SQL or APIs, clean and aggregate with Pandas, build charts and an Excel or PDF output, and schedule it with cron or Airflow with logging and alerts. Example application: In a hypothetical Adobe project involving creative software, document workflows, and subscriptions, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports.
4Sheet 4: Statistics for Analysts
Week 8 · 4 topicsClick to open topics ▾
Sheet 4: Statistics for Analysts
Week 8 · 4 topics
Practise: Mean, median, mode · 13 questionsEasy
- Mean vs median vs mode — when do you use which? Give a practical example from a hypothetical Wipro project involving managed IT services, cloud migration, and digital transformation, and explain which checks or trade-offs matter most.
Show answer
Mean for symmetric data without outliers, median for skewed data (salaries, house prices), mode for categories (the most common city). Example application: In a hypothetical Wipro project involving managed IT services, cloud migration, and digital transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Mean vs median vs mode — when do you use which? Give a practical example from a hypothetical Microsoft project involving developer tools, cloud services, and productivity applications, and explain which checks or trade-offs matter most.
Show answer
Mean for symmetric data without outliers, median for skewed data (salaries, house prices), mode for categories (the most common city). Example application: In a hypothetical Microsoft project involving developer tools, cloud services, and productivity applications, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Mean vs median vs mode — when do you use which? Give a practical example from a hypothetical Apple project involving consumer devices, App Store workflows, and subscription services, and explain which checks or trade-offs matter most.
Show answer
Mean for symmetric data without outliers, median for skewed data (salaries, house prices), mode for categories (the most common city). Example application: In a hypothetical Apple project involving consumer devices, App Store workflows, and subscription services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Mean vs median vs mode — when do you use which? Give a practical example from a hypothetical LinkedIn project involving professional networking, job discovery, and recruiting products, and explain which checks or trade-offs matter most.
Show answer
Mean for symmetric data without outliers, median for skewed data (salaries, house prices), mode for categories (the most common city). Example application: In a hypothetical LinkedIn project involving professional networking, job discovery, and recruiting products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Mean vs median vs mode — when do you use which? Give a practical example from a hypothetical Meesho project involving social commerce, seller listings, and logistics, and explain which checks or trade-offs matter most.
Show answer
Mean for symmetric data without outliers, median for skewed data (salaries, house prices), mode for categories (the most common city). Example application: In a hypothetical Meesho project involving social commerce, seller listings, and logistics, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Mean vs median vs mode — when do you use which? Give a practical example from a hypothetical Zepto project involving quick commerce, inventory, and last-mile delivery, and explain which checks or trade-offs matter most.
Show answer
Mean for symmetric data without outliers, median for skewed data (salaries, house prices), mode for categories (the most common city). Example application: In a hypothetical Zepto project involving quick commerce, inventory, and last-mile delivery, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Mean vs median vs mode — when do you use which? Give a practical example from a hypothetical JP Morgan Chase project involving banking, payments, and financial risk systems, and explain which checks or trade-offs matter most.
Show answer
Mean for symmetric data without outliers, median for skewed data (salaries, house prices), mode for categories (the most common city). Example application: In a hypothetical JP Morgan Chase project involving banking, payments, and financial risk systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Mean vs median vs mode — when do you use which? Give a practical example from a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, and explain which checks or trade-offs matter most.
Show answer
Mean for symmetric data without outliers, median for skewed data (salaries, house prices), mode for categories (the most common city). Example application: In a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Mean vs median vs mode — when do you use which? Give a practical example from a hypothetical Mastercard project involving card payment networks and fraud prevention, and explain which checks or trade-offs matter most.
Show answer
Mean for symmetric data without outliers, median for skewed data (salaries, house prices), mode for categories (the most common city). Example application: In a hypothetical Mastercard project involving card payment networks and fraud prevention, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Mean vs median vs mode — when do you use which? Give a practical example from a hypothetical HCLTech project involving enterprise technology services and infrastructure, and explain which checks or trade-offs matter most.
Show answer
Mean for symmetric data without outliers, median for skewed data (salaries, house prices), mode for categories (the most common city). Example application: In a hypothetical HCLTech project involving enterprise technology services and infrastructure, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Mean vs median vs mode — when do you use which?
Show answer
Mean for symmetric data without outliers, median for skewed data (salaries, house prices), mode for categories (the most common city). - Mean vs median vs mode — when do you use which?
Show answer
Mean for symmetric data without outliers, median for skewed data (salaries, house prices), mode for categories (the most common city). - Mean vs median vs mode — when do you use which?
Show answer
Mean for symmetric data without outliers, median for skewed data (salaries, house prices), mode for categories (the most common city).
Practise: Distributions · 13 questionsEasy
- What is the difference between population and sample?
Show answer
The population is the whole group of interest; a sample is a subset used to estimate population values. - What is statistical significance vs practical significance? Give a practical example from a hypothetical Meta project involving social platforms, messaging, and advertising systems, and explain which checks or trade-offs matter most.
Show answer
A result can be statistically significant yet too small to matter; always report effect size and business impact together with the p-value. Example application: In a hypothetical Meta project involving social platforms, messaging, and advertising systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you handle a dataset with 30% missing values in a key column? Give a practical example from a hypothetical D. E. Shaw project involving quantitative research and financial technology, and explain which checks or trade-offs matter most.
Show answer
Understand why it is missing, consider imputation or a missing flag, test sensitivity, and talk to data owners about fixing collection if it is systematic. Example application: In a hypothetical D. E. Shaw project involving quantitative research and financial technology, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How would you investigate a sudden 20% drop in daily sales? Give a practical example from a hypothetical Flipkart project involving e-commerce marketplace, seller tools, and fulfilment, and explain which checks or trade-offs matter most.
Show answer
Check data pipelines first, then segment by channel, region, product and device, compare to the same period last year, and look for launches, outages or campaigns. Example application: In a hypothetical Flipkart project involving e-commerce marketplace, seller tools, and fulfilment, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you present insights to non-technical stakeholders? Give a practical example from a hypothetical Meesho project involving social commerce, seller listings, and logistics, and explain which checks or trade-offs matter most.
Show answer
Lead with the answer, use one simple chart per point, translate numbers into business impact (₹, %), avoid jargon and end with a clear recommendation and next step. Example application: In a hypothetical Meesho project involving social commerce, seller listings, and logistics, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Sales dropped 20% last month. How will you analyse it? Give a practical example from a hypothetical Razorpay project involving payment gateway, settlement, and merchant integrations, and explain which checks or trade-offs matter most.
Show answer
Confirm data accuracy first → break down by region, product, channel and customer segment → compare with seasonality and last year → check pricing, stock-outs, marketing changes and funnel conversion → present the root causes with clear charts. Example application: In a hypothetical Razorpay project involving payment gateway, settlement, and merchant integrations, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you handle a dataset with 30% missing values in a key column? Give a practical example from a hypothetical Intuit project involving financial software, tax preparation, and small-business tools, and explain which checks or trade-offs matter most.
Show answer
Understand why it is missing, consider imputation or a missing flag, test sensitivity, and talk to data owners about fixing collection if it is systematic. Example application: In a hypothetical Intuit project involving financial software, tax preparation, and small-business tools, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Sales dropped 20% last month. How will you analyse it?
Show answer
Confirm data accuracy first → break down by region, product, channel and customer segment → compare with seasonality and last year → check pricing, stock-outs, marketing changes and funnel conversion → present the root causes with clear charts. - How do you define and choose KPIs?
Show answer
Pick metrics tied to a business goal that are measurable, actionable and owned by someone, and pair a lagging metric with a leading one. - How would you segment customers? Give a practical example from a hypothetical Accenture project involving multi-client consulting, cloud transformation, and process automation, and explain which checks or trade-offs matter most.
Show answer
Use RFM scoring or clustering on behaviour and value, validate segments with business teams and attach an action to each segment. Example application: In a hypothetical Accenture project involving multi-client consulting, cloud transformation, and process automation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain funnel analysis. Give a practical example from a hypothetical Microsoft project involving developer tools, cloud services, and productivity applications, and explain which checks or trade-offs matter most.
Show answer
Track users through steps (visit → product view → cart → payment), compute conversion between each step, find the biggest drop, segment by device and source, and suggest fixes to test. Example application: In a hypothetical Microsoft project involving developer tools, cloud services, and productivity applications, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain funnel analysis. Give a practical example from a hypothetical Apple project involving consumer devices, App Store workflows, and subscription services, and explain which checks or trade-offs matter most.
Show answer
Track users through steps (visit → product view → cart → payment), compute conversion between each step, find the biggest drop, segment by device and source, and suggest fixes to test. Example application: In a hypothetical Apple project involving consumer devices, App Store workflows, and subscription services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How would you segment customers? Give a practical example from a hypothetical HSBC project involving international banking, risk, and cross-border payments, and explain which checks or trade-offs matter most.
Show answer
Use RFM scoring or clustering on behaviour and value, validate segments with business teams and attach an action to each segment. Example application: In a hypothetical HSBC project involving international banking, risk, and cross-border payments, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports.
Practise: Correlation · 13 questionsMedium
- Explain correlation vs regression. Give a practical example from a hypothetical Capgemini project involving client delivery, data platforms, and enterprise transformation, and explain which checks or trade-offs matter most.
Show answer
Correlation shows the strength and direction of association; regression builds an equation to predict one variable from others. Example application: In a hypothetical Capgemini project involving client delivery, data platforms, and enterprise transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain correlation vs regression. Give a practical example from a hypothetical Microsoft project involving developer tools, cloud services, and productivity applications, and explain which checks or trade-offs matter most.
Show answer
Correlation shows the strength and direction of association; regression builds an equation to predict one variable from others. Example application: In a hypothetical Microsoft project involving developer tools, cloud services, and productivity applications, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain correlation vs regression. Give a practical example from a hypothetical Atlassian project involving team collaboration and developer workflow products, and explain which checks or trade-offs matter most.
Show answer
Correlation shows the strength and direction of association; regression builds an equation to predict one variable from others. Example application: In a hypothetical Atlassian project involving team collaboration and developer workflow products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain correlation vs regression. Give a practical example from a hypothetical Flipkart project involving e-commerce marketplace, seller tools, and fulfilment, and explain which checks or trade-offs matter most.
Show answer
Correlation shows the strength and direction of association; regression builds an equation to predict one variable from others. Example application: In a hypothetical Flipkart project involving e-commerce marketplace, seller tools, and fulfilment, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain correlation vs regression. Give a practical example from a hypothetical CRED project involving member rewards, credit-card payments, and financial products, and explain which checks or trade-offs matter most.
Show answer
Correlation shows the strength and direction of association; regression builds an equation to predict one variable from others. Example application: In a hypothetical CRED project involving member rewards, credit-card payments, and financial products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain correlation vs regression. Give a practical example from a hypothetical Razorpay project involving payment gateway, settlement, and merchant integrations, and explain which checks or trade-offs matter most.
Show answer
Correlation shows the strength and direction of association; regression builds an equation to predict one variable from others. Example application: In a hypothetical Razorpay project involving payment gateway, settlement, and merchant integrations, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain correlation vs regression. Give a practical example from a hypothetical Morgan Stanley project involving wealth management, trading, and investment platforms, and explain which checks or trade-offs matter most.
Show answer
Correlation shows the strength and direction of association; regression builds an equation to predict one variable from others. Example application: In a hypothetical Morgan Stanley project involving wealth management, trading, and investment platforms, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain correlation vs regression. Give a practical example from a hypothetical Visa project involving card networks, authorization, and payment-risk systems, and explain which checks or trade-offs matter most.
Show answer
Correlation shows the strength and direction of association; regression builds an equation to predict one variable from others. Example application: In a hypothetical Visa project involving card networks, authorization, and payment-risk systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain correlation vs regression. Give a practical example from a hypothetical Mastercard project involving card payment networks and fraud prevention, and explain which checks or trade-offs matter most.
Show answer
Correlation shows the strength and direction of association; regression builds an equation to predict one variable from others. Example application: In a hypothetical Mastercard project involving card payment networks and fraud prevention, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain correlation vs regression. Give a practical example from a hypothetical Tech Mahindra project involving telecom platforms, IT services, and digital transformation, and explain which checks or trade-offs matter most.
Show answer
Correlation shows the strength and direction of association; regression builds an equation to predict one variable from others. Example application: In a hypothetical Tech Mahindra project involving telecom platforms, IT services, and digital transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain correlation vs regression.
Show answer
Correlation shows the strength and direction of association; regression builds an equation to predict one variable from others. - Explain correlation vs regression.
Show answer
Correlation shows the strength and direction of association; regression builds an equation to predict one variable from others. - Explain correlation vs regression.
Show answer
Correlation shows the strength and direction of association; regression builds an equation to predict one variable from others.
Practise: A/B testing basics · 13 questionsMedium
- What is hypothesis testing in simple words? Give a practical example from a hypothetical Meta project involving social platforms, messaging, and advertising systems, and explain which checks or trade-offs matter most.
Show answer
You assume no effect (null), collect evidence and decide whether the data is surprising enough to reject that assumption at a chosen significance level. Example application: In a hypothetical Meta project involving social platforms, messaging, and advertising systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is hypothesis testing in simple words? Give a practical example from a hypothetical Apple project involving consumer devices, App Store workflows, and subscription services, and explain which checks or trade-offs matter most.
Show answer
You assume no effect (null), collect evidence and decide whether the data is surprising enough to reject that assumption at a chosen significance level. Example application: In a hypothetical Apple project involving consumer devices, App Store workflows, and subscription services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is hypothesis testing in simple words? Give a practical example from a hypothetical Atlassian project involving team collaboration and developer workflow products, and explain which checks or trade-offs matter most.
Show answer
You assume no effect (null), collect evidence and decide whether the data is surprising enough to reject that assumption at a chosen significance level. Example application: In a hypothetical Atlassian project involving team collaboration and developer workflow products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is hypothesis testing in simple words? Give a practical example from a hypothetical Meesho project involving social commerce, seller listings, and logistics, and explain which checks or trade-offs matter most.
Show answer
You assume no effect (null), collect evidence and decide whether the data is surprising enough to reject that assumption at a chosen significance level. Example application: In a hypothetical Meesho project involving social commerce, seller listings, and logistics, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is hypothesis testing in simple words? Give a practical example from a hypothetical Razorpay project involving payment gateway, settlement, and merchant integrations, and explain which checks or trade-offs matter most.
Show answer
You assume no effect (null), collect evidence and decide whether the data is surprising enough to reject that assumption at a chosen significance level. Example application: In a hypothetical Razorpay project involving payment gateway, settlement, and merchant integrations, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is hypothesis testing in simple words? Give a practical example from a hypothetical Intuit project involving financial software, tax preparation, and small-business tools, and explain which checks or trade-offs matter most.
Show answer
You assume no effect (null), collect evidence and decide whether the data is surprising enough to reject that assumption at a chosen significance level. Example application: In a hypothetical Intuit project involving financial software, tax preparation, and small-business tools, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is hypothesis testing in simple words? Give a practical example from a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, and explain which checks or trade-offs matter most.
Show answer
You assume no effect (null), collect evidence and decide whether the data is surprising enough to reject that assumption at a chosen significance level. Example application: In a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is hypothesis testing in simple words? Give a practical example from a hypothetical Cisco project involving networking, security, and collaboration infrastructure, and explain which checks or trade-offs matter most.
Show answer
You assume no effect (null), collect evidence and decide whether the data is surprising enough to reject that assumption at a chosen significance level. Example application: In a hypothetical Cisco project involving networking, security, and collaboration infrastructure, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is hypothesis testing in simple words? Give a practical example from a hypothetical Barclays project involving retail banking, trading, and financial compliance, and explain which checks or trade-offs matter most.
Show answer
You assume no effect (null), collect evidence and decide whether the data is surprising enough to reject that assumption at a chosen significance level. Example application: In a hypothetical Barclays project involving retail banking, trading, and financial compliance, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is hypothesis testing in simple words? Give a practical example from a hypothetical Tech Mahindra project involving telecom platforms, IT services, and digital transformation, and explain which checks or trade-offs matter most.
Show answer
You assume no effect (null), collect evidence and decide whether the data is surprising enough to reject that assumption at a chosen significance level. Example application: In a hypothetical Tech Mahindra project involving telecom platforms, IT services, and digital transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is hypothesis testing in simple words?
Show answer
You assume no effect (null), collect evidence and decide whether the data is surprising enough to reject that assumption at a chosen significance level. - What is hypothesis testing in simple words?
Show answer
You assume no effect (null), collect evidence and decide whether the data is surprising enough to reject that assumption at a chosen significance level. - What is hypothesis testing in simple words?
Show answer
You assume no effect (null), collect evidence and decide whether the data is surprising enough to reject that assumption at a chosen significance level.
5Sheet 5: Power BI / Tableau
Weeks 9–11 · 4 topicsClick to open topics ▾
Sheet 5: Power BI / Tableau
Weeks 9–11 · 4 topics
Practise: Data modelling · 15 questionsEasy
- What is Power BI and its main components? Give a practical example from a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, and explain which checks or trade-offs matter most.
Show answer
A Microsoft BI tool made of Power BI Desktop for building reports, the Service for sharing, and Mobile; it connects, models and visualises data. Example application: In a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a gateway in Power BI? Give a practical example from a hypothetical Capgemini project involving client delivery, data platforms, and enterprise transformation, and explain which checks or trade-offs matter most.
Show answer
A bridge that lets the Service refresh data from on-premises sources securely on a schedule. Example application: In a hypothetical Capgemini project involving client delivery, data platforms, and enterprise transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What are bookmarks and drill-through in Power BI? Give a practical example from a hypothetical Deloitte project involving consulting, risk advisory, and data-driven client services, and explain which checks or trade-offs matter most.
Show answer
Bookmarks save a report view state for navigation; drill-through jumps to a detail page filtered to the item you picked. Example application: In a hypothetical Deloitte project involving consulting, risk advisory, and data-driven client services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - DAX: calculated column vs measure? Give a practical example from a hypothetical Deloitte project involving consulting, risk advisory, and data-driven client services, and explain which checks or trade-offs matter most.
Show answer
A calculated column is computed row by row and stored in the model. A measure is computed at query time using the filter context, e.g. Total Sales = SUM(Sales[Amount]). Prefer measures for aggregations. Example application: In a hypothetical Deloitte project involving consulting, risk advisory, and data-driven client services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain row context and filter context. Give a practical example from a hypothetical Bloomberg project involving financial terminals, market data, and news systems, and explain which checks or trade-offs matter most.
Show answer
Row context evaluates one row at a time (calculated columns); filter context is the set of filters from slicers, visuals and relationships that a measure sees. Example application: In a hypothetical Bloomberg project involving financial terminals, market data, and news systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - DAX: calculated column vs measure? Give a practical example from a hypothetical Bloomberg project involving financial terminals, market data, and news systems, and explain which checks or trade-offs matter most.
Show answer
A calculated column is computed row by row and stored in the model. A measure is computed at query time using the filter context, e.g. Total Sales = SUM(Sales[Amount]). Prefer measures for aggregations. Example application: In a hypothetical Bloomberg project involving financial terminals, market data, and news systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What are bookmarks and drill-through in Power BI? Give a practical example from a hypothetical Tower Research Capital project involving low-latency trading and market data systems, and explain which checks or trade-offs matter most.
Show answer
Bookmarks save a report view state for navigation; drill-through jumps to a detail page filtered to the item you picked. Example application: In a hypothetical Tower Research Capital project involving low-latency trading and market data systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain time intelligence functions. Give a practical example from a hypothetical Salesforce project involving CRM, sales operations, and customer data workflows, and explain which checks or trade-offs matter most.
Show answer
DAX functions like TOTALYTD, SAMEPERIODLASTYEAR and DATEADD compare periods; they need a proper continuous date table marked as a date table. Example application: In a hypothetical Salesforce project involving CRM, sales operations, and customer data workflows, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is Row-Level Security? Give a practical example from a hypothetical Salesforce project involving CRM, sales operations, and customer data workflows, and explain which checks or trade-offs matter most.
Show answer
Rules that restrict data per user role, for example sales managers seeing only their region, defined with DAX filters and assigned in the Service. Example application: In a hypothetical Salesforce project involving CRM, sales operations, and customer data workflows, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Import mode vs DirectQuery? Give a practical example from a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, and explain which checks or trade-offs matter most.
Show answer
Import loads data into memory for fast visuals; DirectQuery queries the source live, giving fresh data but slower performance and some DAX limits. Example application: In a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What does CALCULATE do in DAX? Give a practical example from a hypothetical Bloomberg project involving financial terminals, market data, and news systems, and explain which checks or trade-offs matter most.
Show answer
CALCULATE evaluates an expression in a modified filter context, e.g. CALCULATE([Total Sales], Region[Name] = "North"). It is the key function for time intelligence and comparisons. Example application: In a hypothetical Bloomberg project involving financial terminals, market data, and news systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How would you design a sales dashboard for executives? Give a practical example from a hypothetical Bloomberg project involving financial terminals, market data, and news systems, and explain which checks or trade-offs matter most.
Show answer
Start with KPIs (revenue, margin, growth), add trend and comparison to target, allow drill-down by region and product, keep it to one screen and test with the audience. Example application: In a hypothetical Bloomberg project involving financial terminals, market data, and news systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How would you design a sales dashboard for executives? Give a practical example from a hypothetical Tower Research Capital project involving low-latency trading and market data systems, and explain which checks or trade-offs matter most.
Show answer
Start with KPIs (revenue, margin, growth), add trend and comparison to target, allow drill-down by region and product, keep it to one screen and test with the audience. Example application: In a hypothetical Tower Research Capital project involving low-latency trading and market data systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What does CALCULATE do in DAX? Give a practical example from a hypothetical Salesforce project involving CRM, sales operations, and customer data workflows, and explain which checks or trade-offs matter most.
Show answer
CALCULATE evaluates an expression in a modified filter context, e.g. CALCULATE([Total Sales], Region[Name] = "North"). It is the key function for time intelligence and comparisons. Example application: In a hypothetical Salesforce project involving CRM, sales operations, and customer data workflows, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Design a dashboard for CXOs — what principles do you follow? Give a practical example from a hypothetical Salesforce project involving CRM, sales operations, and customer data workflows, and explain which checks or trade-offs matter most.
Show answer
Start from the business questions, show 4–6 top KPIs with trend vs target, allow drill-downs, keep colours consistent, remove clutter, add time/region filters and give one clear insight per visual. Example application: In a hypothetical Salesforce project involving CRM, sales operations, and customer data workflows, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports.
Practise: DAX basics · 15 questionsEasy
- What is DAX and how does it differ from Excel formulas? Give a practical example from a hypothetical Capgemini project involving client delivery, data platforms, and enterprise transformation, and explain which checks or trade-offs matter most.
Show answer
DAX is the formula language for Power BI models. It works on columns and tables with filter context rather than on individual cells. Example application: In a hypothetical Capgemini project involving client delivery, data platforms, and enterprise transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - DAX: calculated column vs measure? Give a practical example from a hypothetical Capgemini project involving client delivery, data platforms, and enterprise transformation, and explain which checks or trade-offs matter most.
Show answer
A calculated column is computed row by row and stored in the model. A measure is computed at query time using the filter context, e.g. Total Sales = SUM(Sales[Amount]). Prefer measures for aggregations. Example application: In a hypothetical Capgemini project involving client delivery, data platforms, and enterprise transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is DAX and how does it differ from Excel formulas? Give a practical example from a hypothetical Google project involving search, advertising, maps, and cloud products, and explain which checks or trade-offs matter most.
Show answer
DAX is the formula language for Power BI models. It works on columns and tables with filter context rather than on individual cells. Example application: In a hypothetical Google project involving search, advertising, maps, and cloud products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - DAX: calculated column vs measure? Give a practical example from a hypothetical Tower Research Capital project involving low-latency trading and market data systems, and explain which checks or trade-offs matter most.
Show answer
A calculated column is computed row by row and stored in the model. A measure is computed at query time using the filter context, e.g. Total Sales = SUM(Sales[Amount]). Prefer measures for aggregations. Example application: In a hypothetical Tower Research Capital project involving low-latency trading and market data systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - DAX: calculated column vs measure? Give a practical example from a hypothetical Swiggy project involving food delivery, logistics, and quick commerce, and explain which checks or trade-offs matter most.
Show answer
A calculated column is computed row by row and stored in the model. A measure is computed at query time using the filter context, e.g. Total Sales = SUM(Sales[Amount]). Prefer measures for aggregations. Example application: In a hypothetical Swiggy project involving food delivery, logistics, and quick commerce, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is DAX and how does it differ from Excel formulas? Give a practical example from a hypothetical Paytm project involving payments, merchant services, and financial products, and explain which checks or trade-offs matter most.
Show answer
DAX is the formula language for Power BI models. It works on columns and tables with filter context rather than on individual cells. Example application: In a hypothetical Paytm project involving payments, merchant services, and financial products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - DAX: calculated column vs measure? Give a practical example from a hypothetical Intuit project involving financial software, tax preparation, and small-business tools, and explain which checks or trade-offs matter most.
Show answer
A calculated column is computed row by row and stored in the model. A measure is computed at query time using the filter context, e.g. Total Sales = SUM(Sales[Amount]). Prefer measures for aggregations. Example application: In a hypothetical Intuit project involving financial software, tax preparation, and small-business tools, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - DAX: calculated column vs measure? Give a practical example from a hypothetical JP Morgan Chase project involving banking, payments, and financial risk systems, and explain which checks or trade-offs matter most.
Show answer
A calculated column is computed row by row and stored in the model. A measure is computed at query time using the filter context, e.g. Total Sales = SUM(Sales[Amount]). Prefer measures for aggregations. Example application: In a hypothetical JP Morgan Chase project involving banking, payments, and financial risk systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is DAX and how does it differ from Excel formulas? Give a practical example from a hypothetical HCLTech project involving enterprise technology services and infrastructure, and explain which checks or trade-offs matter most.
Show answer
DAX is the formula language for Power BI models. It works on columns and tables with filter context rather than on individual cells. Example application: In a hypothetical HCLTech project involving enterprise technology services and infrastructure, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is DAX and how does it differ from Excel formulas? Give a practical example from a hypothetical Tech Mahindra project involving telecom platforms, IT services, and digital transformation, and explain which checks or trade-offs matter most.
Show answer
DAX is the formula language for Power BI models. It works on columns and tables with filter context rather than on individual cells. Example application: In a hypothetical Tech Mahindra project involving telecom platforms, IT services, and digital transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is DAX and how does it differ from Excel formulas?
Show answer
DAX is the formula language for Power BI models. It works on columns and tables with filter context rather than on individual cells. - What does CALCULATE do in DAX? Give a practical example from a hypothetical Capgemini project involving client delivery, data platforms, and enterprise transformation, and explain which checks or trade-offs matter most.
Show answer
CALCULATE evaluates an expression in a modified filter context, e.g. CALCULATE([Total Sales], Region[Name] = "North"). It is the key function for time intelligence and comparisons. Example application: In a hypothetical Capgemini project involving client delivery, data platforms, and enterprise transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What does CALCULATE do in DAX? Give a practical example from a hypothetical Morgan Stanley project involving wealth management, trading, and investment platforms, and explain which checks or trade-offs matter most.
Show answer
CALCULATE evaluates an expression in a modified filter context, e.g. CALCULATE([Total Sales], Region[Name] = "North"). It is the key function for time intelligence and comparisons. Example application: In a hypothetical Morgan Stanley project involving wealth management, trading, and investment platforms, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What does CALCULATE do in DAX? Give a practical example from a hypothetical Cisco project involving networking, security, and collaboration infrastructure, and explain which checks or trade-offs matter most.
Show answer
CALCULATE evaluates an expression in a modified filter context, e.g. CALCULATE([Total Sales], Region[Name] = "North"). It is the key function for time intelligence and comparisons. Example application: In a hypothetical Cisco project involving networking, security, and collaboration infrastructure, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What does CALCULATE do in DAX?
Show answer
CALCULATE evaluates an expression in a modified filter context, e.g. CALCULATE([Total Sales], Region[Name] = "North"). It is the key function for time intelligence and comparisons.
Practise: Dashboards · 15 questionsMedium
- What is the difference between a dashboard and a report? Give a practical example from a hypothetical Amazon project involving an online marketplace, fulfilment operations, and cloud services, and explain which checks or trade-offs matter most.
Show answer
A report is multi-page and interactive from one dataset; a dashboard is a single-page canvas of pinned tiles from many reports in the Service. Example application: In a hypothetical Amazon project involving an online marketplace, fulfilment operations, and cloud services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is the difference between a dashboard and a report? Give a practical example from a hypothetical Google project involving search, advertising, maps, and cloud products, and explain which checks or trade-offs matter most.
Show answer
A report is multi-page and interactive from one dataset; a dashboard is a single-page canvas of pinned tiles from many reports in the Service. Example application: In a hypothetical Google project involving search, advertising, maps, and cloud products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is the difference between a dashboard and a report? Give a practical example from a hypothetical Swiggy project involving food delivery, logistics, and quick commerce, and explain which checks or trade-offs matter most.
Show answer
A report is multi-page and interactive from one dataset; a dashboard is a single-page canvas of pinned tiles from many reports in the Service. Example application: In a hypothetical Swiggy project involving food delivery, logistics, and quick commerce, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is the difference between a dashboard and a report?
Show answer
A report is multi-page and interactive from one dataset; a dashboard is a single-page canvas of pinned tiles from many reports in the Service. - What is the difference between a dashboard and a report?
Show answer
A report is multi-page and interactive from one dataset; a dashboard is a single-page canvas of pinned tiles from many reports in the Service. - What is the difference between a dashboard and a report?
Show answer
A report is multi-page and interactive from one dataset; a dashboard is a single-page canvas of pinned tiles from many reports in the Service. - Design a dashboard for CXOs — what principles do you follow? Give a practical example from a hypothetical Deloitte project involving consulting, risk advisory, and data-driven client services, and explain which checks or trade-offs matter most.
Show answer
Start from the business questions, show 4–6 top KPIs with trend vs target, allow drill-downs, keep colours consistent, remove clutter, add time/region filters and give one clear insight per visual. Example application: In a hypothetical Deloitte project involving consulting, risk advisory, and data-driven client services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How would you design a sales dashboard for executives? Give a practical example from a hypothetical Microsoft project involving developer tools, cloud services, and productivity applications, and explain which checks or trade-offs matter most.
Show answer
Start with KPIs (revenue, margin, growth), add trend and comparison to target, allow drill-down by region and product, keep it to one screen and test with the audience. Example application: In a hypothetical Microsoft project involving developer tools, cloud services, and productivity applications, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Design a dashboard for CXOs — what principles do you follow? Give a practical example from a hypothetical D. E. Shaw project involving quantitative research and financial technology, and explain which checks or trade-offs matter most.
Show answer
Start from the business questions, show 4–6 top KPIs with trend vs target, allow drill-downs, keep colours consistent, remove clutter, add time/region filters and give one clear insight per visual. Example application: In a hypothetical D. E. Shaw project involving quantitative research and financial technology, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How would you design a sales dashboard for executives? Give a practical example from a hypothetical Stripe project involving online payments, billing, and financial infrastructure, and explain which checks or trade-offs matter most.
Show answer
Start with KPIs (revenue, margin, growth), add trend and comparison to target, allow drill-down by region and product, keep it to one screen and test with the audience. Example application: In a hypothetical Stripe project involving online payments, billing, and financial infrastructure, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How would you design a sales dashboard for executives? Give a practical example from a hypothetical Salesforce project involving CRM, sales operations, and customer data workflows, and explain which checks or trade-offs matter most.
Show answer
Start with KPIs (revenue, margin, growth), add trend and comparison to target, allow drill-down by region and product, keep it to one screen and test with the audience. Example application: In a hypothetical Salesforce project involving CRM, sales operations, and customer data workflows, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Design a dashboard for CXOs — what principles do you follow? Give a practical example from a hypothetical Meesho project involving social commerce, seller listings, and logistics, and explain which checks or trade-offs matter most.
Show answer
Start from the business questions, show 4–6 top KPIs with trend vs target, allow drill-downs, keep colours consistent, remove clutter, add time/region filters and give one clear insight per visual. Example application: In a hypothetical Meesho project involving social commerce, seller listings, and logistics, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How would you design a sales dashboard for executives? Give a practical example from a hypothetical HCLTech project involving enterprise technology services and infrastructure, and explain which checks or trade-offs matter most.
Show answer
Start with KPIs (revenue, margin, growth), add trend and comparison to target, allow drill-down by region and product, keep it to one screen and test with the audience. Example application: In a hypothetical HCLTech project involving enterprise technology services and infrastructure, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How would you design a sales dashboard for executives?
Show answer
Start with KPIs (revenue, margin, growth), add trend and comparison to target, allow drill-down by region and product, keep it to one screen and test with the audience. - How would you design a sales dashboard for executives?
Show answer
Start with KPIs (revenue, margin, growth), add trend and comparison to target, allow drill-down by region and product, keep it to one screen and test with the audience.
Practise: Storytelling · 15 questionsMedium
- What are slicers and filters? Give a practical example from a hypothetical D. E. Shaw project involving quantitative research and financial technology, and explain which checks or trade-offs matter most.
Show answer
Slicers are on-page visual filters users click; filters can be set at visual, page or report level and may be hidden from users. Example application: In a hypothetical D. E. Shaw project involving quantitative research and financial technology, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is Power BI and its main components? Give a practical example from a hypothetical JP Morgan Chase project involving banking, payments, and financial risk systems, and explain which checks or trade-offs matter most.
Show answer
A Microsoft BI tool made of Power BI Desktop for building reports, the Service for sharing, and Mobile; it connects, models and visualises data. Example application: In a hypothetical JP Morgan Chase project involving banking, payments, and financial risk systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you improve Power BI report performance? Give a practical example from a hypothetical Accenture project involving multi-client consulting, cloud transformation, and process automation, and explain which checks or trade-offs matter most.
Show answer
Use a star schema, remove unused columns, prefer measures, reduce visuals per page, limit high-cardinality fields and use aggregations or incremental refresh. Example application: In a hypothetical Accenture project involving multi-client consulting, cloud transformation, and process automation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What does the CALCULATE function do? Give a practical example from a hypothetical LinkedIn project involving professional networking, job discovery, and recruiting products, and explain which checks or trade-offs matter most.
Show answer
It evaluates an expression after modifying the filter context, for example CALCULATE(SUM(Sales[Amount]), Region[Name] = "North"). Example application: In a hypothetical LinkedIn project involving professional networking, job discovery, and recruiting products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What does the CALCULATE function do? Give a practical example from a hypothetical D. E. Shaw project involving quantitative research and financial technology, and explain which checks or trade-offs matter most.
Show answer
It evaluates an expression after modifying the filter context, for example CALCULATE(SUM(Sales[Amount]), Region[Name] = "North"). Example application: In a hypothetical D. E. Shaw project involving quantitative research and financial technology, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What does the CALCULATE function do? Give a practical example from a hypothetical Bloomberg project involving financial terminals, market data, and news systems, and explain which checks or trade-offs matter most.
Show answer
It evaluates an expression after modifying the filter context, for example CALCULATE(SUM(Sales[Amount]), Region[Name] = "North"). Example application: In a hypothetical Bloomberg project involving financial terminals, market data, and news systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Import mode vs DirectQuery? Give a practical example from a hypothetical PayPal project involving digital payments, merchant checkout, and transaction risk, and explain which checks or trade-offs matter most.
Show answer
Import loads data into memory for fast visuals; DirectQuery queries the source live, giving fresh data but slower performance and some DAX limits. Example application: In a hypothetical PayPal project involving digital payments, merchant checkout, and transaction risk, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Import mode vs DirectQuery? Give a practical example from a hypothetical ServiceNow project involving IT service management and enterprise workflow automation, and explain which checks or trade-offs matter most.
Show answer
Import loads data into memory for fast visuals; DirectQuery queries the source live, giving fresh data but slower performance and some DAX limits. Example application: In a hypothetical ServiceNow project involving IT service management and enterprise workflow automation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What are bookmarks and drill-through in Power BI? Give a practical example from a hypothetical Walmart project involving retail commerce, inventory, and supply-chain operations, and explain which checks or trade-offs matter most.
Show answer
Bookmarks save a report view state for navigation; drill-through jumps to a detail page filtered to the item you picked. Example application: In a hypothetical Walmart project involving retail commerce, inventory, and supply-chain operations, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is Power Query's role in Power BI? Give a practical example from a hypothetical Walmart project involving retail commerce, inventory, and supply-chain operations, and explain which checks or trade-offs matter most.
Show answer
It extracts and transforms data using recorded steps in M language, such as merging, unpivoting, changing types and removing errors, before loading to the model. Example application: In a hypothetical Walmart project involving retail commerce, inventory, and supply-chain operations, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is a gateway in Power BI? Give a practical example from a hypothetical Mastercard project involving card payment networks and fraud prevention, and explain which checks or trade-offs matter most.
Show answer
A bridge that lets the Service refresh data from on-premises sources securely on a schedule. Example application: In a hypothetical Mastercard project involving card payment networks and fraud prevention, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you improve Power BI report performance? Give a practical example from a hypothetical Mastercard project involving card payment networks and fraud prevention, and explain which checks or trade-offs matter most.
Show answer
Use a star schema, remove unused columns, prefer measures, reduce visuals per page, limit high-cardinality fields and use aggregations or incremental refresh. Example application: In a hypothetical Mastercard project involving card payment networks and fraud prevention, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is DAX and how does it differ from Excel formulas? Give a practical example from a hypothetical Mastercard project involving card payment networks and fraud prevention, and explain which checks or trade-offs matter most.
Show answer
DAX is the formula language for Power BI models. It works on columns and tables with filter context rather than on individual cells. Example application: In a hypothetical Mastercard project involving card payment networks and fraud prevention, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What are bookmarks and drill-through in Power BI? Give a practical example from a hypothetical Mastercard project involving card payment networks and fraud prevention, and explain which checks or trade-offs matter most.
Show answer
Bookmarks save a report view state for navigation; drill-through jumps to a detail page filtered to the item you picked. Example application: In a hypothetical Mastercard project involving card payment networks and fraud prevention, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What are bookmarks and drill-through in Power BI?
Show answer
Bookmarks save a report view state for navigation; drill-through jumps to a detail page filtered to the item you picked.
6Sheet 6: Capstone & Portfolio
Weeks 12–14 · 3 topicsClick to open topics ▾
Sheet 6: Capstone & Portfolio
Weeks 12–14 · 3 topics
Practise: Sales dashboard · 12 questionsEasy
- How would you design a sales dashboard for executives? Give a practical example from a hypothetical Infosys project involving enterprise consulting, digital platforms, and client transformation, and explain which checks or trade-offs matter most.
Show answer
Start with KPIs (revenue, margin, growth), add trend and comparison to target, allow drill-down by region and product, keep it to one screen and test with the audience. Example application: In a hypothetical Infosys project involving enterprise consulting, digital platforms, and client transformation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How would you design a sales dashboard for executives? Give a practical example from a hypothetical Amazon project involving an online marketplace, fulfilment operations, and cloud services, and explain which checks or trade-offs matter most.
Show answer
Start with KPIs (revenue, margin, growth), add trend and comparison to target, allow drill-down by region and product, keep it to one screen and test with the audience. Example application: In a hypothetical Amazon project involving an online marketplace, fulfilment operations, and cloud services, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How would you design a sales dashboard for executives? Give a practical example from a hypothetical Atlassian project involving team collaboration and developer workflow products, and explain which checks or trade-offs matter most.
Show answer
Start with KPIs (revenue, margin, growth), add trend and comparison to target, allow drill-down by region and product, keep it to one screen and test with the audience. Example application: In a hypothetical Atlassian project involving team collaboration and developer workflow products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How would you design a sales dashboard for executives? Give a practical example from a hypothetical Uber project involving ride-hailing, driver operations, and real-time dispatch, and explain which checks or trade-offs matter most.
Show answer
Start with KPIs (revenue, margin, growth), add trend and comparison to target, allow drill-down by region and product, keep it to one screen and test with the audience. Example application: In a hypothetical Uber project involving ride-hailing, driver operations, and real-time dispatch, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How would you design a sales dashboard for executives? Give a practical example from a hypothetical Adobe project involving creative software, document workflows, and subscriptions, and explain which checks or trade-offs matter most.
Show answer
Start with KPIs (revenue, margin, growth), add trend and comparison to target, allow drill-down by region and product, keep it to one screen and test with the audience. Example application: In a hypothetical Adobe project involving creative software, document workflows, and subscriptions, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How would you design a sales dashboard for executives? Give a practical example from a hypothetical Swiggy project involving food delivery, logistics, and quick commerce, and explain which checks or trade-offs matter most.
Show answer
Start with KPIs (revenue, margin, growth), add trend and comparison to target, allow drill-down by region and product, keep it to one screen and test with the audience. Example application: In a hypothetical Swiggy project involving food delivery, logistics, and quick commerce, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How would you design a sales dashboard for executives? Give a practical example from a hypothetical Morgan Stanley project involving wealth management, trading, and investment platforms, and explain which checks or trade-offs matter most.
Show answer
Start with KPIs (revenue, margin, growth), add trend and comparison to target, allow drill-down by region and product, keep it to one screen and test with the audience. Example application: In a hypothetical Morgan Stanley project involving wealth management, trading, and investment platforms, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How would you design a sales dashboard for executives? Give a practical example from a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, and explain which checks or trade-offs matter most.
Show answer
Start with KPIs (revenue, margin, growth), add trend and comparison to target, allow drill-down by region and product, keep it to one screen and test with the audience. Example application: In a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How would you design a sales dashboard for executives? Give a practical example from a hypothetical Cisco project involving networking, security, and collaboration infrastructure, and explain which checks or trade-offs matter most.
Show answer
Start with KPIs (revenue, margin, growth), add trend and comparison to target, allow drill-down by region and product, keep it to one screen and test with the audience. Example application: In a hypothetical Cisco project involving networking, security, and collaboration infrastructure, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How would you design a sales dashboard for executives?
Show answer
Start with KPIs (revenue, margin, growth), add trend and comparison to target, allow drill-down by region and product, keep it to one screen and test with the audience. - How would you design a sales dashboard for executives?
Show answer
Start with KPIs (revenue, margin, growth), add trend and comparison to target, allow drill-down by region and product, keep it to one screen and test with the audience. - How would you design a sales dashboard for executives?
Show answer
Start with KPIs (revenue, margin, growth), add trend and comparison to target, allow drill-down by region and product, keep it to one screen and test with the audience.
Practise: Business case study · 12 questionsEasy
- What does CASE WHEN do? Give a practical example from a hypothetical Meta project involving social platforms, messaging, and advertising systems, and explain which checks or trade-offs matter most.
Show answer
It adds conditional logic inside queries, for example bucketing ages or flagging values, returning different results per condition. Example application: In a hypothetical Meta project involving social platforms, messaging, and advertising systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What does CASE WHEN do? Give a practical example from a hypothetical Microsoft project involving developer tools, cloud services, and productivity applications, and explain which checks or trade-offs matter most.
Show answer
It adds conditional logic inside queries, for example bucketing ages or flagging values, returning different results per condition. Example application: In a hypothetical Microsoft project involving developer tools, cloud services, and productivity applications, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What does CASE WHEN do? Give a practical example from a hypothetical Intuit project involving financial software, tax preparation, and small-business tools, and explain which checks or trade-offs matter most.
Show answer
It adds conditional logic inside queries, for example bucketing ages or flagging values, returning different results per condition. Example application: In a hypothetical Intuit project involving financial software, tax preparation, and small-business tools, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How are NULLs handled in SQL? Give a practical example from a hypothetical Intuit project involving financial software, tax preparation, and small-business tools, and explain which checks or trade-offs matter most.
Show answer
NULL means unknown, so comparisons with = fail; use IS NULL, COALESCE for defaults and remember most aggregates ignore NULLs except COUNT(*). Example application: In a hypothetical Intuit project involving financial software, tax preparation, and small-business tools, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What does CASE WHEN do? Give a practical example from a hypothetical JP Morgan Chase project involving banking, payments, and financial risk systems, and explain which checks or trade-offs matter most.
Show answer
It adds conditional logic inside queries, for example bucketing ages or flagging values, returning different results per condition. Example application: In a hypothetical JP Morgan Chase project involving banking, payments, and financial risk systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Explain time intelligence functions. Give a practical example from a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, and explain which checks or trade-offs matter most.
Show answer
DAX functions like TOTALYTD, SAMEPERIODLASTYEAR and DATEADD compare periods; they need a proper continuous date table marked as a date table. Example application: In a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - Difference between a CTE, a subquery and a temp table? Give a practical example from a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, and explain which checks or trade-offs matter most.
Show answer
A subquery is inline; a CTE is a named, readable block for one statement; a temp table is physically stored for the session and can be indexed and reused. Example application: In a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What are indexes and when can they hurt? Give a practical example from a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, and explain which checks or trade-offs matter most.
Show answer
Indexes speed up lookups by keeping sorted pointers. They slow writes and use space, so index columns used in filters and joins, not every column. Example application: In a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is normalisation? Give a practical example from a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, and explain which checks or trade-offs matter most.
Show answer
Organising tables to reduce redundancy and anomalies by splitting data into related tables, commonly up to third normal form. Example application: In a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What does CASE WHEN do?
Show answer
It adds conditional logic inside queries, for example bucketing ages or flagging values, returning different results per condition. - What does CASE WHEN do?
Show answer
It adds conditional logic inside queries, for example bucketing ages or flagging values, returning different results per condition. - How would you design a sales dashboard for executives? Give a practical example from a hypothetical Intuit project involving financial software, tax preparation, and small-business tools, and explain which checks or trade-offs matter most.
Show answer
Start with KPIs (revenue, margin, growth), add trend and comparison to target, allow drill-down by region and product, keep it to one screen and test with the audience. Example application: In a hypothetical Intuit project involving financial software, tax preparation, and small-business tools, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports.
Practise: GitHub portfolio · 12 questionsMedium
- What is descriptive vs inferential statistics? Give a practical example from a hypothetical Cognizant project involving enterprise applications and healthcare or financial client systems, and explain which checks or trade-offs matter most.
Show answer
Descriptive statistics summarise the data you have; inferential statistics use a sample to draw conclusions about a larger population. Example application: In a hypothetical Cognizant project involving enterprise applications and healthcare or financial client systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - INNER JOIN vs LEFT JOIN — with an example. Give a practical example from a hypothetical Uber project involving ride-hailing, driver operations, and real-time dispatch, and explain which checks or trade-offs matter most.
Show answer
INNER JOIN returns only matching rows. LEFT JOIN returns every row from the left table and NULLs where the right table has no match — e.g. all customers, including those with no orders. Example application: In a hypothetical Uber project involving ride-hailing, driver operations, and real-time dispatch, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What does CASE WHEN do? Give a practical example from a hypothetical Accenture project involving multi-client consulting, cloud transformation, and process automation, and explain which checks or trade-offs matter most.
Show answer
It adds conditional logic inside queries, for example bucketing ages or flagging values, returning different results per condition. Example application: In a hypothetical Accenture project involving multi-client consulting, cloud transformation, and process automation, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How are NULLs handled in SQL? Give a practical example from a hypothetical Cognizant project involving enterprise applications and healthcare or financial client systems, and explain which checks or trade-offs matter most.
Show answer
NULL means unknown, so comparisons with = fail; use IS NULL, COALESCE for defaults and remember most aggregates ignore NULLs except COUNT(*). Example application: In a hypothetical Cognizant project involving enterprise applications and healthcare or financial client systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What are relationships and cardinality in Power BI? Give a practical example from a hypothetical Google project involving search, advertising, maps, and cloud products, and explain which checks or trade-offs matter most.
Show answer
Links between tables on key columns; cardinality can be one-to-many, many-to-one or many-to-many, and cross-filter direction controls how filters flow. Example application: In a hypothetical Google project involving search, advertising, maps, and cloud products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What does CASE WHEN do? Give a practical example from a hypothetical D. E. Shaw project involving quantitative research and financial technology, and explain which checks or trade-offs matter most.
Show answer
It adds conditional logic inside queries, for example bucketing ages or flagging values, returning different results per condition. Example application: In a hypothetical D. E. Shaw project involving quantitative research and financial technology, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is statistical significance vs practical significance? Give a practical example from a hypothetical CRED project involving member rewards, credit-card payments, and financial products, and explain which checks or trade-offs matter most.
Show answer
A result can be statistically significant yet too small to matter; always report effect size and business impact together with the p-value. Example application: In a hypothetical CRED project involving member rewards, credit-card payments, and financial products, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is cohort analysis? Give a practical example from a hypothetical Zomato project involving food ordering, restaurant discovery, and delivery, and explain which checks or trade-offs matter most.
Show answer
Grouping users by a shared start date or trait and tracking behaviour over time, for example monthly retention per signup month. Example application: In a hypothetical Zomato project involving food ordering, restaurant discovery, and delivery, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How do you improve Power BI report performance? Give a practical example from a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, and explain which checks or trade-offs matter most.
Show answer
Use a star schema, remove unused columns, prefer measures, reduce visuals per page, limit high-cardinality fields and use aggregations or incremental refresh. Example application: In a hypothetical Oracle project involving enterprise databases, cloud infrastructure, and business applications, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - How are NULLs handled in SQL? Give a practical example from a hypothetical Visa project involving card networks, authorization, and payment-risk systems, and explain which checks or trade-offs matter most.
Show answer
NULL means unknown, so comparisons with = fail; use IS NULL, COALESCE for defaults and remember most aggregates ignore NULLs except COUNT(*). Example application: In a hypothetical Visa project involving card networks, authorization, and payment-risk systems, confirm data grain and metric definitions, reconcile totals, segment by time or cohort, and state the decision the analysis supports. - What is cohort analysis?
Show answer
Grouping users by a shared start date or trait and tracking behaviour over time, for example monthly retention per signup month. - How do you improve Power BI report performance?
Show answer
Use a star schema, remove unused columns, prefer measures, reduce visuals per page, limit high-cardinality fields and use aggregations or incremental refresh.