← Software Developer
Day 1 · Quantitative Aptitude
Software Developer · Crash Course
Day 1

Quantitative Aptitude

⏱ About 90 minutes · 41 pages
By the end of today you will be able to
  • ✔ Solve number system, HCF/LCM, percentage and profit questions in under a minute each
  • ✔ Use one clear method for interest, ratio, averages, mixtures, work and speed questions
  • ✔ Handle counting, probability and data interpretation questions without panic
  • ✔ Plan the 10-question Quant section so you finish on time and skip wisely
  1. How the Quant section works
  2. Number system basics
  3. Divisibility rules and unit digits

How the Quant section works

Quant is usually the first section of the screening test, so a calm start here sets the tone for the whole hour.

The Software Developer screening test has 10 Quant questions inside a 60-minute paper that also has reasoning, CS fundamentals, DSA, code output, one coding problem and a work-attitude section. That means you cannot spend 5 minutes on one percentage question. You need to recognise the type of question in a few seconds and apply a ready method.

Almost every Quant question in a fresher test belongs to one of these families:

Family What it really tests
Numbers, HCF/LCM, algebra Factors, remainders, divisibility, identities
Percent, profit, interest Multiplying factors correctly
Ratio, average, mixture Keeping totals balanced
Work, pipes, speed Rate × time = amount
Counting, probability Careful listing of cases
Ages, mensuration Simple equations and formulas
Data interpretation, data sufficiency Reading a table or chart fast; judging if facts are enough

Notice that the middle three rows are the same idea in different clothes: a rate multiplied by time gives an amount. Once you see that, time and work, pipes and cisterns, and trains all become one chapter.

flowchart LR
  A[Read question once] --> B{Which family?}
  B -->|Known type| C[Write formula on rough sheet]
  B -->|Unclear| D[Mark and move on]
  C --> E[Solve in small steps]
  E --> F[Check against options]
  D --> G[Return if time is left]

Each page of this chapter covers one family. Read the concept, follow the solved examples step by step, then try the question at the end of the page before looking at the answer.

Software Developer · Day 12 / 5

Number system basics

Number questions look easy, but one wrong word like "whole" or "natural" changes the answer.

The family of numbers

  • Natural numbers: 1, 2, 3, … (counting numbers; 0 is not included)
  • Whole numbers: 0, 1, 2, 3, … (natural numbers plus 0)
  • Integers: … −2, −1, 0, 1, 2, …
  • Prime numbers: have exactly two factors, 1 and itself (2, 3, 5, 7, 11, …)
  • Composite numbers: more than two factors (4, 6, 8, 9, …)
  • 1 is neither prime nor composite. 2 is the only even prime.
−2 −1 0 1 2 3 Natural: 1, 2, 3 … Whole: 0, 1, 2 … Integers: both sides

Sum formulas worth memorising

Sum of Formula
First n natural numbers n(n + 1)/2
First n odd numbers n²
First n even numbers n(n + 1)
Squares 1² + … + n² n(n + 1)(2n + 1)/6
✍️ Example 1 — Sum of first 20 natural numbers
  1. Use n(n + 1)/2 with n = 20.

  2. 20 × 21 / 2 = 420 / 2.

  3. Answer: 210.

✍️ Example 2 — Sum of the first 15 odd numbers
  1. The sum of the first n odd numbers is n².

  2. n = 15, so 15² = 225.

  3. Answer: 225.

🙋 Try it now

How many prime numbers are there between 1 and 30?

Software Developer · Day 13 / 5

Divisibility rules and unit digits

Divisibility rules let you reject wrong options in seconds without long division.

Divisor Rule
2 Last digit even
3 Sum of digits divisible by 3
4 Last two digits divisible by 4
5 Last digit 0 or 5
6 Divisible by both 2 and 3
8 Last three digits divisible by 8
9 Sum of digits divisible by 9
11 (Sum of odd-place digits) − (sum of even-place digits) is 0 or a multiple of 11
✍️ Example 3 — Is 7,48,236 divisible by 4 and by 8?
  1. Last two digits are 36, and 36 ÷ 4 = 9, so it is divisible by 4.

  2. Last three digits are 236, and 236 ÷ 8 = 29.5, so it is not divisible by 8.

  3. Answer: divisible by 4 only.

✍️ Example 4 — Find x so that 5x2 is divisible by 9
  1. Digit sum = 5 + x + 2 = 7 + x.

  2. It must be a multiple of 9, so 7 + x = 9, giving x = 2.

  3. Answer: x = 2 (the number is 522).

✍️ Example 5 — Is 9,152 divisible by 11?
  1. Digits from the right: 2 (odd place), 5 (even), 1 (odd), 9 (even).

  2. Odd places: 2 + 1 = 3. Even places: 5 + 9 = 14.

  3. Difference = 14 − 3 = 11, a multiple of 11.

  4. Answer: yes, 9,152 = 11 × 832.

Unit digit of a power

The last digit of powers repeats in a cycle of at most 4.

Base ends in Cycle of last digits
2 2, 4, 8, 6
3 3, 9, 7, 1
7 7, 9, 3, 1
8 8, 4, 2, 6
4 4, 6 (odd power 4, even power 6)
9 9, 1 (odd power 9, even power 1)
0, 1, 5, 6 Always the same digit
✍️ Example 6 — Unit digit of 7⁴⁵
  1. The cycle for 7 is 7, 9, 3, 1 (length 4).

  2. 45 ÷ 4 leaves remainder 1.

  3. Remainder 1 means the first value in the cycle.

  4. Answer: 7.

✍️ Example 6a — Unit digit of a product
  1. Find the unit digit of 7²² × 3¹⁵.

  2. 7²²: 22 ÷ 4 leaves 2, so it ends in 9. 3¹⁵: 15 ÷ 4 leaves 3, so it ends in 7.

  3. Multiply the unit digits: 9 × 7 = 63.

  4. Answer: 3.

🙋 Try it now

What is the unit digit of 3⁶²?

Software Developer · Day 14 / 5
Free preview ends here

Keep going with the full course

Day 1 has 41 pages. You have read the first 3.

See what's inside →