___Probability, Statistics & Data Analytics

Introduction — How to use this page

This file is a complete revision vault for quantitative aptitude and analytics interviews. It's arranged to move you from fundamentals to advanced analytics problems. Each section has quick formulas, real-world context, and practice problems with revealable answers. Use the Formula-Tweak section to unlock solving many problems by small substitutions.

Workflow I recommend: timed drills → concept check → formula-tweak practice → mock DI caselets → interview Q&A recap.

I. Number Systems & Fundamentals

Key Concepts

  • Number classification: natural, whole, integer, rational (p/q), irrational (π, √2), prime numbers (no divisors ≠ 1,n).
  • Primality checks: trial division up to √n; deterministic Miller-Rabin bases for 32/64-bit integers if needed.
  • Divisibility shortcuts: last digit (2,5), last two (4), digit sum (3,9), alternating sum (11).
  • Modular arithmetic: use congruences; for large exponents reduce via Euler φ(n) or Carmichael λ(n) when coprime.
  • LCM/HCF: gcd by Euclid; lcm(a,b) = a*b / gcd(a,b). Extend to multiple numbers iteratively.

Real-world uses

Remainder tricks help in hashing and sharding logic; gcd/lcm appear in scheduling and cyclic pattern detection.

Quick Example

Find remainder when 3^100 is divided by 5.
3 ≡ 3 (mod 5). Powers cycle: 3,4,2,1 (period 4). 100 mod 4 = 0 -> remainder 1.
        

II. Core Arithmetic

Percentages

Factor form: new = old × (1 ± p/100). Multiply successive factors for multi-step changes. Use multiplicative inverse 1/(1+p) to reverse a percentage increase.

Profit & Loss

Profit% = (SP - CP)/CP × 100. When discount applied on MP: SP = MP × (1 - discount%). Markup vs margin distinction is crucial in business problems.

Ratio & Proportion

If A:B = x:y and total T, A = T × x/(x+y). Ratios used heavily in allocation and revenue-share problems.

Averages

Weighted average: (Σ w_i x_i)/Σ w_i. Replacement problems: new_avg = (old_sum - removed + added)/n — memorize and apply fast.

Interest

Simple interest: SI = P × R × T / 100. Compound: A = P×(1 + r/n)^(n×t). Continuous: A = P×e^(r t). Financial approximations often use continuous compounding for limits.

III. Time, Motion & Work

Time & Work

Work = rate × time. If A takes a days, rate_A = 1/a. Combine rates by sum. For partial work or leaving mid-job apply time-weighted contributions.

Speed & Distance

Distance = speed × time. Average speed:

  • Equal distances: Harmonic mean = n / Σ(1/v_i).
  • Equal times: Arithmetic mean.

Trains & Boats

Relative speed (opposite) = v1 + v2. Crossing time = (L_train + L_object) / relative_speed. For boats: downstream = u + v, upstream = u - v (where u = boat speed in still water, v = current).

IV. Modern Mathematics

Permutations & Combinations

nPr = n!/(n-r)!, nCr = n!/(r!(n-r)!). Use stars-and-bars: combinations with repetition C(n + r - 1, r). Permutation with repeated items: n! / (k1! k2! ...).

Probability

Basic rules:

  • P(A ∪ B) = P(A) + P(B) - P(A ∩ B).
  • Conditional: P(A|B) = P(A ∩ B) / P(B).
  • Independence: P(A ∩ B) = P(A) P(B).
  • Complement: P(at least one) = 1 - P(none).

Set Theory & Venn

Inclusion-exclusion for n sets; visualize with Venn diagrams for interviews.

Real-world note

Probability underpins A/B testing, conversion rate estimation, and risk calculations — you'll see these in analytics interviews and product/data roles.

V. Geometry, Algebra & Mensuration

Key formulas

  • Area triangle = ½ × base × height.
  • Circle area = π r², circumference = 2π r.
  • Rect/Parallelogram area rules; volume cylinder = π r² h, sphere = 4/3 π r³.
  • Coordinate geometry: distance formula, slope, line eqn y = mx + c.

Algebra & Logs

Solve linear & quadratic equations. Log properties: log_b(x y) = log_b x + log_b y; log_b(x^k) = k log_b x. These appear in growth and doubling-time problems.

VI. Data Interpretation & Analytics Skills

Quick DI strategy

  1. Read the question first — know which numbers you need.
  2. Extract base values and transform to percentages for comparison.
  3. Use ratios and differences; prefer approximate arithmetic to narrow answer quickly.
  4. Double-check edge cases (zeros, missing data) and whether questions ask relative or absolute changes.

Charts & Common traps

Watch axes (absolute vs indexed), stacked charts (composition vs absolute), and moving averages that hide volatility. In caselets ask for contribution to change — compute absolute delta and divide by global delta.

Mini-caselet (practice)

Company X: Region A revenue grew from 200 → 260, Region B from 500 → 550. Which contributed more to company revenue increase?

Compute absolute deltas: A = +60, B = +50 → A contributed more despite B being larger base. For percent growth, A = 30%, B = 10%.

Formula-Tweak Patterns — One core formula, many problems

Memorize base formulas; then learn 2–3 small tweaks for families of problems. Below are canonical patterns with examples and 'tweak' variants you will use in interviews.

A — Work / Rate

Base: Work = Rate × Time. If task = 1 unit, time = 1 / (sum rates).

Tweak 1: Worker leaves at time t: work_done = t × (sum rates) + remaining by others.

Tweak 2: Different jobs/time-shared — convert to 'per unit' rates and aggregate.

Example: A=12 days (rate 1/12), B=20 days (1/20). If A works x days with B, then leaves; B finishes in 6 days:
1 - x*(1/12+1/20) = 6*(1/20) -> solve for x
        

B — Percentage Compound

Base: Net factor = Π(1 + p_i). For repeated increases/decreases, multiply properly. To reverse a p% increase use divide by (1+p/100).

C — Probability via Complement

Base: P(at least one) = 1 - Π (1 - p_i) for independent small events. For dependent events, use inclusion-exclusion.

D — Mean/Replacement

Base: new_avg = (old_sum - removed + added) / n. Tweak for sequence of replacements — apply iteratively or form direct algebraic expression.

E — Permutations with constraints

Use complementary counting (total - bad) or place constrained items first and arrange rest. For repeated letters use factorial division.

Placement-Style Problems — Beginner → Advanced (50+ included)

Attempt without looking. Problems labeled B / M / A. Use reveal buttons to check answers.

Total Questions: 200

1. (B) Number Theory — remainder powers

Find remainder when 7^222 is divided by 8.

2. (B) Percentage — successive change

Price increases by 10% then decreases by 10%. Net change?

3. (M) Ratio & Partnership

A:B invest 3:2. A adds an amount equal to his investment after 6 months. Profit = 5000 after 12 months. Find A's share.

4. (M) Work/Rate — leaving early

A finishes in 12 days, B in 20. They work together x days, A leaves, B finishes 6 days later. Find x.

5. (A) Permutation with repeated letters

Number of arrangements of \"ANALYTICS\" where A's are not together?

6. (A) Conditional Probability (Bayes basics)

Two boxes: B1 {2R,3B}, B2 {1R,4B}. Pick box randomly, draw ball. P(red)? P(box1 | red)?

7. (B) DI quick — quarter growth

Sales Q1..Q4: 100,120,150,130. Which quarter had highest % growth?

8. (B) Mean/Median/Mode

Dataset [2,3,3,5,7,9,11]. Find mean, median, mode.

9. (M) Inclusion-exclusion

Class of 100: tea 70, coffee 60, juice 50; tea&coffee 40, tea&juice 30, coffee&juice 20; all three 10. How many at least one?

10. (B) Replacement average

Average of 50 numbers = 60. Replace 70 with 40. New average?

11. (M) Bayes in practice

Disease prevalence 0.5%; sensitivity 99%; specificity 98%. P(disease|positive)?

12. (A) WMA — Analytics

3-day WMA with weights 0.5,0.3,0.2 for values [100,110,120] (most recent 120).

13. (M) DI Caselet — Contribution to growth

Given regional numbers (old & new), how to find region with highest % growth and top contributor to revenue increase? Outline steps.

14. (M) Geometric-series quick

Sum S = a(1 - r^n)/(1 - r) for r ≠ 1. If a=3, r=2, n=4, what's S?

15. (A) Probability — coupon collector (approx)

Expected draws to collect n coupons ≈ n * H_n (Harmonic number). For n=5, expected ≈ 5*(1+1/2+...+1/5)=5*2.2833=11.4165.

16. (A) Chi-squared quick concept

Explain when to use chi-squared test vs t-test in analytics interviews.

17. (M) Sampling — Central Limit Theorem

State CLT and explain relevance in product analytics for sample means.

18. (A) Hypothesis testing quick

Define p-value and Type I/II errors concisely.

19. (A) Correlation vs Causation

Short explanation and how to investigate causation in product data.

20. (M) Expected value — multi-stage

Roll two dice. What is expected value of maximum face?

21. (M) Logarithm solving

Solve log_2(x) + log_2(x-2) = 3.

22. (A) Linear equation practical

If mean of n numbers is m. Adding a new number x increases mean to m+δ. Find x in terms of m,n,δ.

23. (M) Confidence interval quick

Given sample mean 50, σ=10, n=100. 95% CI for mean?

24. (A) Regression basics

Explain R² and overfitting in simple terms for interviews.

25. (M) Transformations — log rules in modeling

When to log-transform a target variable in regression?

26. (A) Sampling bias check

List three types of sampling bias and quick fixes.

27. (M) A/B test power

What is statistical power and how do you increase it?

28. (A) Correlation — Spearman vs Pearson

When to use Spearman rank instead of Pearson?

29. (A) Poisson process quick

If average 5 events/hour, probability of 2 events in half hour?

30. (M) Chi-square example

Given contingency table, outline chi-square test steps (no numeric calc needed).

31. (A) Bootstrapping quick

Explain bootstrap resampling and when you'd use it.

32. (M) Time series — stationarity

What is stationarity and why important for ARIMA?

33. (A) ROC / AUC intuition

What does ROC curve show and why AUC matters?

34. (A) Outliers handling quick

List 4 ways to handle outliers in analytics.

35. (M) PCA intuition

Explain principal component analysis in two sentences.

36. (M) Rolling averages application

Why use rolling averages in dashboards? One downside?

37. (A) LTV / CAC quick definition

Quick formula for customer lifetime value (simple) and acquisition cost.

38. (A) Transform check — heteroscedasticity

What is heteroscedasticity and quick fix?

39. (M) Bootstrap CI example

Outline steps to create bootstrap CI for median from sample of 50.

40. (A) Business metric sanity check

You see daily active users jump 3× overnight — list immediate diagnostic steps.

41. (M) A/B test sample size calc

High-level formula ingredients for sample size to detect δ difference with power 80% and α=5%.

42. (A) Entropy quick

Define Shannon entropy and give one analytics use-case.

43. (M) Imputation strategies

List 4 imputation strategies and when to use each.

44. (A) Log-odds interpretation

In logistic regression, interpret coefficient β of a predictor.

45. (M) Funnel conversion check

If funnel conversion drops at step 3, list experimental checks and quick analyses.

46. (A) Weighted average vs median

When is median preferred to mean?

47. (A) Quick combinatorics

Number of ways to choose 3 people from 10 when order doesn't matter?

48. (M) Jensen's inequality intuition

Explain Jensen's inequality and give a small analytic example.

49. (A) Percentile quick

Definition: 90th percentile in a sorted list.

50. (A) Final mock: end-to-end case

You have weekly active users drop 15% after a release. Outline investigative steps and metrics you'd present to PM in 30 minutes.

50. (A) Final mock: end-to-end case

You have weekly active users drop 15% after a release. Outline investigative steps and metrics you'd present to PM in 30 minutes.

Number Systems & Fundamentals

51. (B) HCF Application [TCS, Infosys]

Find the largest number that divides 615 and 963 leaving remainders 6 and 7 respectively.

52. (M) Prime Factorization [Wipro, Accenture]

How many prime factors does 2520 have? What is the sum of distinct prime factors?

53. (B) Divisibility Rule [Cognizant, Capgemini]

Find the smallest 4-digit number divisible by 88.

54. (M) LCM-HCF Relationship [Amazon, Microsoft]

Two numbers have HCF 16 and LCM 160. If one number is 32, find the other.

55. (A) Modular Exponentiation [Google, Adobe]

Find the last two digits of 17^256.

56. (B) Unit Digit Pattern [TCS Digital, Infosys]

What is the unit digit of 3^47 × 7^58 × 13^72?

57. (M) Remainder Theorem [Wipro, Tech Mahindra]

Find remainder when (7^100 + 13^100) is divided by 10.

58. (A) Euler's Totient [Adobe, Oracle]

Calculate φ(72) where φ is Euler's totient function.

59. (B) Co-prime Numbers [Cognizant, Capgemini]

How many numbers between 1 and 50 are co-prime to 50?

60. (M) Perfect Numbers [TCS Ninja, Infosys]

Is 28 a perfect number? Verify by showing sum of its proper divisors.

61. (A) Chinese Remainder Theorem [Amazon, Microsoft]

Find the smallest positive integer x such that x ≡ 2 (mod 3), x ≡ 3 (mod 5), x ≡ 2 (mod 7).

62. (B) Sum of Digits [Wipro, Accenture]

Find the sum of digits of 10^20 - 1.

63. (M) Base Conversion [Google, Adobe]

Convert (ABC)₁₆ to decimal.

64. (A) Factorial Trailing Zeros [Amazon, Microsoft]

How many trailing zeros does 100! have?

65. (B) Arithmetic Progression [TCS, Cognizant]

Find the 50th term of AP: 3, 7, 11, 15, ...

66. (M) Geometric Progression [Infosys, Wipro]

Sum of infinite GP: 4 + 2 + 1 + 0.5 + ...

67. (A) Diophantine Equation [Adobe, Oracle]

Find positive integer solutions for 7x + 12y = 100.

68. (B) Digital Root [Capgemini, Tech Mahindra]

Find the digital root of 9875.

69. (M) Catalan Numbers [Google, Amazon]

Calculate the 4th Catalan number (C₃).

70. (A) Wilson's Theorem [Microsoft, Adobe]

Verify Wilson's theorem for p=7 and use it to find 6! mod 7.

Percentages & Core Arithmetic

71. (B) Basic Percentage [TCS, Infosys]

If 25% of a number is 60, find 40% of that number.

72. (M) Successive Percentage Change [Wipro, Cognizant]

Population increases by 20% in year 1 and decreases by 20% in year 2. Net change?

73. (A) Reverse Percentage [Amazon, Google]

After increasing price by 25%, the new price is ₹500. What was the original price?

74. (B) Profit & Loss Basic [Accenture, Capgemini]

CP = ₹800, SP = ₹1000. Find profit percentage.

75. (M) Discount Problem [TCS Digital, Infosys]

MP = ₹2000. After 20% discount and 10% tax, find final price.

76. (A) Markup vs Margin [Microsoft, Adobe]

If profit margin is 25% on SP, what is the markup on CP?

77. (B) False Weight [Wipro, Tech Mahindra]

Shopkeeper uses 800g weight instead of 1kg. Find profit%.

78. (M) Two Successive Discounts [Cognizant, Capgemini]

Find single equivalent discount for 20% and 30% successive discounts.

79. (A) Break-even Analysis [Amazon, Oracle]

Fixed cost ₹50,000. Variable cost per unit ₹20. SP ₹50. Find break-even quantity.

80. (B) Partnership Profit [TCS, Infosys]

A invests ₹3000 for 12 months, B invests ₹4000 for 8 months. Profit ₹5600. Find A's share.

81. (M) Ratio Change [Wipro, Accenture]

Ratio of milk to water is 5:3. If 8L water is added, ratio becomes 5:5. Find initial milk quantity.

82. (A) Weighted Average Revenue [Google, Microsoft]

Product A: 1000 units at ₹50, Product B: 500 units at ₹80. Find weighted avg price.

83. (B) Simple Interest [TCS, Cognizant]

Principal ₹5000, Rate 8% p.a., Time 3 years. Find SI.

84. (M) Compound Interest [Infosys, Wipro]

₹10,000 at 10% CI compounded annually for 2 years. Find amount.

85. (A) CI vs SI Difference [Amazon, Adobe]

For 2 years at 10% p.a., difference between CI and SI is ₹100. Find principal.

86. (B) Mixture & Alligation [Capgemini, Tech Mahindra]

Mix milk at ₹50/L with water. To get ₹40/L mixture (water free), what ratio?

87. (M) Salary Increment [TCS Digital, Infosys]

Salary increased by 15% to ₹69,000. What was original salary?

88. (A) Tax Calculation [Oracle, Microsoft]

Income ₹10L. Tax: 0% up to ₹2.5L, 5% on next ₹2.5L, 10% above. Find total tax.

89. (B) Average Replacement [Wipro, Cognizant]

Average of 10 numbers is 15. Replace one number 20 with 35. New average?

90. (M) Ratio Adjustment — Practical

A mixture contains milk and water in ratio 7:5. How much water must be added to 60 L mixture to make ratio 7:8?

91. (B) Simple Algebra — Reverse Operation

If 4x + 12 = 36, find x.

92. (M) Boats & Streams

A boat takes 3 hours upstream and 2 hours downstream to travel the same distance. Speed of stream is 2 km/h. Find ratio of boat speed to stream speed.

93. (A) Probability — Defective Items

A batch has 5 defective and 45 good items. Two items picked without replacement. Probability both are defective?

94. (M) Mixture Increase Problem

A 40 L solution has 25% acid. How much pure acid must be added to make it 40% acid?

95. (B) Speed-Time

A man walks at 6 km/h. How much time to cover 3 km?

96. (A) Conditional Expectation — Interview Level

A fair die is rolled. Find E[X | X is even].

97. (M) Averages — Weighted Increase

Class A avg = 60 (40 students), Class B avg = 70 (20 students). Combined avg?

98. (A) Prime Gaps — Analytical

Find the number of primes between 100 and 150.

99. (M) Pipes & Cisterns

Pipe A fills tank in 12 h, Pipe B in 18 h. Both work for 4 h, then A is closed. Time to finish?

100. (A) Statistics — Variance Scaling

If random variable X has variance 9, what is Var(3X + 4)?

101. (M) Percentage Error

A value is measured as 198 instead of 200. Find % error.

102. (A) Probability — Drawing Cards

From a deck of 52, find probability that two cards drawn are both Kings.

103. (M) Simple Interest Relationship

SI on ₹2000 for 2 years at r% is ₹400. Find r.

104. (A) Expected Value — Non-uniform Die

A biased die shows 6 with probability 0.4; remaining faces equally share remaining probability. Find expected value.

105. (B) Linear Equation Simple

Solve 3x - 9 = 0.

106. (A) Standard Deviation — Scaling

If SD of X is 5, find SD of 4X + 3.

107. (M) Time & Work — Sharing Work

A does a job in 10 days, B in 15 days. They work 3 days together, then A leaves. Days for B to finish?

108. (A) Combinatorics — Team Forming

Choose a team of 4 from 8 men and 5 women if at least 1 woman must be included.

109. (M) Ratio Scaling

The ratio of boys:girls is 3:4. If 20 more boys join, ratio becomes 4:5. Find initial girls.

110. (A) Probability — Coin + Die Hybrid

A coin is tossed, then a die rolled. Find probability of (Head AND even number).

111. (M) Alligation — Two Milk Solutions

Mix 30% milk solution with 70% solution to get 50% solution. Ratio?

112. (A) Expected Value — Random Tip Model

A restaurant tip is 5% with prob 0.6, 10% with prob 0.3, 20% with prob 0.1. Expected tip%?

113. (B) Simple Geometry

Perimeter of a square is 40 cm. Find area.

114. (A) Probability — Bayes Simple

Machine A produces 30% of items, defect rate 2%. Machine B produces 70%, defect rate 1%. If item is defective, probability it came from A?

115. (M) Train Crossing

A 200 m train crosses a pole in 10 sec. Find speed km/h.

116. (A) Regression — Interpretation

If regression slope is 0.7, interpret it in simple terms.

117. (M) Time Zones — Analytics

User logs from Region A (UTC+2) and Region B (UTC−3). If events are recorded at 15:00 local in both regions, what is the UTC difference in timestamps?

118. (A) Entropy — Binary Variable

Compute entropy for p=0.8, q=0.2.

119. (M) Quadratic Equation Roots

Find roots of x² - 7x + 12 = 0.

120. (A) Decision Trees — Gini

For a node with class split (40 positive, 60 negative), compute Gini impurity.

121. (B) Series — Identify Pattern

Series: 3, 6, 12, 24, 48, ?. Find next.

122. (A) Optimization — Cost Function

If cost C = x² + 10x, find x that minimizes C.

123. (M) Profit & Loss Advanced

An item sold at 20% loss. If sold for ₹240 more, it becomes 10% profit. Find CP.

124. (A) Normal Distribution

Z ~ N(0,1). Find P(Z > 1.64).

125. (M) Pipes & Cisterns 2

A fills in 8 h, B in 10 h, and C empties in 20 h. All operate together. Time to fill?

126. (A) Correlation Significance

If correlation r = 0.9, what does it imply?

127. (M) Inequalities

Solve 5x - 3 < 12.

128. (A) Sample Size for Proportion

Estimate sample size for margin ±5% with 95% confidence, p≈0.5.

129. (M) Distance-Speed

A car travels 60 km at 40 km/h and returns 60 km at 60 km/h. Average speed?

130. (A) Probability — Continuous

X uniform on [0,10]. Find P(3 < X < 7).

131. (M) Logarithm Simplification

Simplify log(a²b³) - log(ab).

132. (A) Gradient Descent Intuition

What happens if learning rate is too high?

133. (B) Simple Triangles

Find area of triangle with base 10, height 6.

134. (A) Confidence Intervals — Interpretation

What does a 95% confidence interval for mean imply?

135. (M) Percentage Change

Value rises from 400 to 500. % increase?

136. (A) PCA — Variance Capture

If first 2 PCs explain 85% of variance, what does this mean?

137. (M) Venn Diagram Basic

If |A|=40, |B|=30, |A∩B|=10, find |A∪B|.

138. (A) Random Variables — Transformation

If X~N(10,4), find distribution of Y = 3X + 2.

139. (M) Work Efficiency

A completes work in 6 days, B in 9. How many days if B works twice as efficiently as before?

140. (A) Optimization — L1 vs L2

Why does L1 create sparsity while L2 doesn’t?

141. (B) Simple Interest

Find SI on ₹3000 at 4% for 5 years.

142. (A) Linear Algebra — Rank

What does rank of a matrix represent?

143. (M) Compound Interest

₹4000 at 5% compounded annually for 3 years. Find amount.

144. (A) Gradient Meaning

What does gradient represent in optimization?

145. (M) Functional Equation

Solve f(x)=2x+3 for f(7).

146. (A) Logistic Regression Limit

Why logistic regression cannot model non-linear boundaries?

147. (M) Trains — Relative Speed

Two trains 120m and 180m long pass each other in 12 sec at speeds 40 and 50 km/h. Check correctness.

148. (A) Bias-Variance

What happens when model complexity increases?

149. (B) Mensuration

Area of circle radius 7.

150. (A) t-test Use

When is a t-test preferable to z-test?

151. (M) Discount & Marked Price

After 10% discount, selling price is 900. Find MP.

152. (A) KL Divergence Meaning

What does KL divergence measure?

153. (M) Ratio Difference

Divide 600 in ratio 5:7.

154. (A) Confidence Level

Higher confidence → CI becomes wider or narrower?

155. (M) Clocks Problem

At what time between 3 and 4 do hour and minute hands coincide?

156. (A) Lasso vs Ridge

Which technique is used for feature selection?

157. (M) Profit Split

A:B invest in ratio 2:3. Profit 5000. Find A’s share.

158. (A) ROC Curve Meaning

What is a ROC curve used for?

159. (M) Linear Equation Pair

Solve: x + y = 10, x - y = 4.

160. (A) Type I Error

What is Type I error?

161. (M) Boats & Streams

Boat speed 12, stream 3. Find upstream speed.

162. (A) Correlation Interpretation

If r = −0.5, what does it imply?

163. (M) Percentage Mixture

A solution is 20% salt. If 10 L water added to 40 L solution, final %?

164. (A) Entropy Property

Entropy is maximum when?

165. (M) Discount Successive

Two discounts of 10% and 20%. Equivalent?

166. (A) p-value Interpretation

What does small p-value imply?

167. (M) Ratio Increase

Ratio becomes 4:5 after adding 5 to both numbers. Original ratio was 3:4. Find numbers.

168. (A) Overfitting Sign

Large train accuracy, low test accuracy means?

169. (M) Clock Angle

Angle between hands at 2:20?

170. (A) Decision Trees — Overfitting

How to reduce overfitting in trees?

171. (M) Age Problem

Sum of ages of A and B is 60. A is twice B. Find ages.

172. (A) Feature Scaling

Why is scaling important for gradient descent?

173. (M) Area — Composite Shapes

Find area of rectangle 10×6 plus semicircle radius 3.

174. (A) Bias Meaning

What is bias in ML?

175. (M) Simplify Expression

Simplify (x² − 9)/(x − 3).

176. (A) Variance of Bernoulli

Find Var(X) for Bernoulli(p).

177. (M) Average Speed

Bike travels 50 km at 25 km/h and 50 km at 50 km/h. Average?

178. (A) Regression Residual

What is a residual?

179. (M) Pipes — Percentage Work

A completes 40% in 4 days. How long for full work?

180. (A) Logistic Curve

Why logistic curve is S-shaped?

181. (M) Partnership Time

A invests 3000 for whole year; B invests 4000 for 6 months. Profit 3600. Find B’s share.

182. (A) Central Limit Theorem Importance

Why does CLT matter in A/B tests?

183. (M) Quadratic Maxima

Find max of f(x)=−x²+6x.

184. (A) Overfitting Fix

Name 3 ways to reduce overfitting.

185. (M) Ratio Internal Division

Divide 70 into two parts in ratio 2:5.

186. (A) Significance Level Meaning

What does α=0.05 mean?

187. (M) Equation Roots

Solve x² = 49.

188. (A) Sampling Bias

Name one cause of sampling bias.

189. (M) Speed Conversion

Convert 54 km/h to m/s.

190. (A) Variance Interpretation

High variance in model means?

191. (M) Linear Expression

Find x if 7x+14=49.

192. (A) t-statistic Meaning

What does a larger t-statistic indicate?

193. (M) Profit % Increase

CP=500, SP=650. Profit%?

194. (A) Z-score Meaning

Z-score of +2 means?

195. (M) Time & Distance Reverse

If trip takes 2 hours at 60 km/h, find distance.

196. (A) A/B Test Lift

If control CTR=4% and variant CTR=5%, lift?

197. (M) Reverse Average

Average of 20 numbers is 15. Sum?

198. (A) Regularization Purpose

Why use regularization?

199. (M) Mixture Ratio

Mix 2 solutions: 30% and 50%, equal amounts. Final %?

200. (A) Hypothesis Testing

Why do we never “accept” H0?

201. (B) Simple Ratio

Divide 90 in ratio 2:3.

202. (M) Compound Percentage

Value increases 10% one year, 20% next. Net change?

203. (A) Time–Work Efficiency

A is 50% more efficient than B. Together finish in 12 days. Find A alone.

204. (M) Mixture Adjustment

A 40 L mixture is 30% alcohol. How much pure alcohol to add to make it 40%?

205. (B) Simple Interest

Find SI on ₹4000 for 2 years at 5%.

206. (A) Permutation Count

How many permutations of 8 letters if 3 are identical?

207. (M) Profit–Loss Marked Price

MP=1200, SP after discount=960. Find discount%.

208. (A) Quadratic Problem

Find roots of x² − 5x + 6.

209. (M) Speed Difference

Car travels 120 km at 60 km/h. Then at what speed must it return to average 80 km/h overall?

210. (B) Number System

Find unit digit of 7⁸.

211. (A) Logarithmic Equation

Solve log₂(x) + log₂(4) = 5.

212. (M) Pipes & Cisterns

A fills in 12 h, B empties in 24 h. Both together, time?

213. (A) AP Sum

AP: a=5, d=3, n=20. Find Sₙ.

214. (B) Geometry

Area of right triangle legs 6 & 8.

215. (M) Percentage Decrease

Value drops from 500 to 350. % decrease?

216. (A) Divisibility

Largest 5-digit number divisible by 72?

217. (M) Profit Ratio

A & B invest 6000 and 8000. Profit=7000. A’s share?

218. (A) Time Zones

Call logged at 16:00 UTC; IST offset +5:30. Local time?

219. (M) Divisor Count

How many divisors does 360 have?

220. (B) Temperature Conversion

Convert 0°C to Fahrenheit.

221. (A) Combinatorics

Number of subsets of a set of size 7?

222. (M) Train Speed

Train 150m passes pole in 6 sec. Speed?

223. (A) GP Sum

GP: a=3, r=2, n=6. Find sum.

224. (M) Pipes

Two pipes fill in 10 & 15 h. Time together?

225. (B) Basic Algebra

Solve x/5=7.

226. (A) Coordinate Geometry

Distance between (3,4) and (7,1)?

227. (M) Profit %

CP=400, SP=480. Profit%?

228. (A) Number Theory

Find remainder 5¹⁰⁰ mod 7.

229. (M) Time–Distance

Travel 150 km at 50. Time?

230. (A) AP General

Find 25th term of AP: a=4, d=6.

231. (B) Simple Percentage

Find 15% of 360.

232. (A) Modulo Operation

Find 123456 mod 9.

233. (M) DI — Average

Values: 20, 30, 50, 100. Find average.

234. (A) Boats & Streams

Downstream=15, upstream=5. Stream speed?

235. (M) Ratio Adjustment

Ratio 4:9 becomes 1:2 when adding x to both. Find x.

236. (A) Divisor Sum

Find σ(n) for n=28.

237. (M) Mixture

2 solutions: 20% and 60%. Make 40%. Ratio?

238. (A) Time

Convert 2.75 hours into minutes.

239. (M) Cylinder Volume

Cylinder r=4, h=10. Volume?

240. (A) Inequality

Solve 3x − 7 ≥ 2.

241. (M) Reverse Profit

Profit=20%, SP=720. Find CP.

242. (A) Factorial Mod

Find 10! mod 9.

243. (M) Simple Age

Father 3× son's age. Sum=60. Find ages.

244. (A) Roots

Solve 2x − 3 = 17.

245. (M) Work Completion

A does 30% in 3 days. Full job time?

246. (A) Simple Logic

If all A are B, and all B are C, then all A are?

247. (M) Time–Distance

Speed 72 km/h. Time to travel 50 km?

248. (A) Coordinate Midpoint

Midpoint of (2,5) and (6,9)?

249. (M) Square Root Estimate

Approximate √50.

250. (A) Triangle

Sides 5,12,13. Type?

251. (A) Standardization

Formula for z-score?

252. (M) Probability Conditional

P(A)=0.3, P(B)=0.5, P(A∩B)=0.2. Find P(A|B).

253. (A) Central Limit

CLT applies to what?

254. (B) Mean–Median–Mode

For symmetric distribution, relation?

255. (A) Type II Error

Define β error.

256. (M) A/B Test

If difference is statistically significant, what does it imply?

257. (A) Variance Formula

Population variance formula?

258. (M) Expected Value

Flip a coin: win ₹5 on Head, lose ₹2 on Tail. EV?

259. (A) Confidence Interval Width

What decreases CI width?

260. (M) Covariance Meaning

If cov(X,Y) > 0 → ?

261. (A) Logistic Function

Range of logistic output?

262. (M) Correlation

r=0 means?

263. (A) Regression Coefficient

Interpret β in linear regression.

264. (M) Poisson

λ=3. Find P(X=0).

265. (A) Overfitting Sign

Train high accuracy, test low accuracy?

266. (M) Sampling

Simple random sampling ensures?

267. (A) Hypothesis Terms

Null hypothesis symbolizes?

268. (M) Entropy Zero

When is entropy zero?

269. (A) KL Divergence

KL(P‖Q) equals zero when?

270. (M) Mean of Means

Two groups: mean 50 (n=10), mean 70 (n=20). Combined?

271. (A) L1 vs L2

Which creates sparsity?

272. (M) Probability Deck

Probability of drawing Ace?

273. (A) z-value

Find P(Z<0).< /p>

274. (M) Variance Scaling

Var(5X)=?

275. (A) Business Metrics

DAU/MAU ratio measures?

276. (M) Histogram

Histogram represents?

277. (A) Multicollinearity

High multicollinearity effect?

278. (M) Permutation Prob

Probability first card is red?

279. (A) Logistic Regression

Output represents?

280. (M) Dataset Scaling

Min–max scaling formula?

281. (A) Random Variable

Define continuous RV.

282. (M) Expected Value

EV of uniform [0,1]?

283. (A) Overfitting Example

Using too many trees in decision tree leads to?

284. (M) Confidence

For 95% CI, z-score?

285. (A) SVM Kernel

Why use kernel?

286. (M) Variance

If variance=0, what is true?

287. (A) Bernoulli EV

EV of Bernoulli(p)?

288. (M) p-value Meaning

Small p-value (<0.05) suggests?

289. (A) Chi-square Usage

Used for?

290. (M) Probability Dice

P(sum=7) on two dice?

291. (A) ML Evaluation

F1-score useful when?

292. (M) Random Sampling

Sampling with equal probability is?

293. (A) Standard Error Meaning

SE measures?

294. (M) Normal Distribution

Mean=50, SD=10. Z for X=60?

295. (A) PCA Goal

PCA reduces?

296. (M) Independence

If A & B independent: P(A∩B)=?

297. (A) Regression Residual Sum

OLS ensures mean residual?

298. (M) Random Variable

Uniform RV variance on [0,1]?

299. (A) Gradient Descent

Too small learning rate causes?

300. (A) Lift in A/B Test

CTR jumps from 5% → 6%. What is lift?

Cheat Sheet & Quick Tricks

# GCD (Euclid)
def gcd(a,b): while b: a,b = b, a%b; return a

# LCM = a*b/gcd(a,b)

# Compound interest: A = P(1 + r/n)^(n*t)
# Continuous: A = P * exp(r*t)

# Bayes: P(A|B) = P(B|A)P(A)/P(B)

# Work/Rate: T = 1 / (Σ rates)
# Harmonic mean for avg speed (equal distances): HM = n / Σ(1/v_i)

# AMAT (cache-like mentality): AMAT = HitTime + MissRate * MissPenalty

# CLT: sample mean ~ Normal(μ, σ/√n)

# Quick z-scores: z = (x - μ) / σ
# CI for mean (known σ): μ ± z * σ/√n
        

Study Plan & Resources

30-day study plan:

  1. Week 1: Number systems, LCM/GCD, divisibility, modular arithmetic.
  2. Week 2: Percent, ratio, averages, work-rate, trains, DI practice.
  3. Week 3: Probability, P&C, Bayes, sampling, hypothesis tests.
  4. Week 4: Statistics, A/B testing, time-series basics, mocks + DI cases.

Suggested reading: Khan Academy (basics), MIT OCW probability/statistics, Hands-on: Kaggle micro-projects and LeetCode/Learn for math puzzles.