Management & CommerceHardBusiness analyst · KPO · MBA placement pattern
Table monthly(m, mon, rev) holds Jan 200, Feb 240, Mar 210, Apr 260 (m = 1–4). A query computes ROUND(100.0 * (rev − LAG(rev) OVER (ORDER BY m)) / LAG(rev) OVER (ORDER BY m), 1). Which month shows the highest value, and what does January show?
- A. February (20.0); January shows 0
- B. April (23.8); January shows 0
- C. April (19.2); January shows NULL
- D. April (23.8); January shows NULL
Correct answer: D. April (23.8); January shows NULL
LAG has no earlier row for January, so it returns NULL and the whole expression is NULL. Growth: Feb 40/200 = 20.0, Mar −30/240 = −12.5, Apr 50/210 ≈ 23.8. Dividing by the current month (50/260) gives 19.2.
Practise more Operations, Supply Chain & Business Analytics questionsOperations, Supply Chain & Business Analytics: notes and key points
More Operations, Supply Chain & Business Analytics questions
- An e-commerce funnel for one month: 50,000 visits → 12,000 product views → 3,600 add-to-carts → 1,080 checkouts → 756 purchases. What is…
- Funnel: 50,000 visits → 12,000 product views (24%) → 3,600 add-to-carts (30%) → 1,080 checkouts (30%) → 756 purchases (70%). Three…
- Signup cohorts and active users — Jan: 1,000 signups; month 1: 600, month 2: 450, month 3: 400. Feb: 1,500 signups; month 1: 840, month 2…
- Signup cohorts and active users — Jan: 1,000 signups; month 1: 600, month 2: 450, month 3: 400. Feb: 1,500 signups; month 1: 840, month 2…
- A retail chain finds that stores running its new loyalty programme have 18% higher sales than stores without it. The programme was…
- Match each finding with the trap it most illustrates. 1. Firms with bigger ad budgets have higher sales, but budgets are set at 10% of…