Start Free

Important Questions — Class 9 Maths Chapter 11: The World of Algorithms

25 important questions with answers from The World of Algorithms, based on the New NCERT 2026-27 textbook NCERT Class 9 Maths and the CBSE exam pattern. Tap “Show answer” to check yourself, or make a printable worksheet with all 67.

Make a free worksheet for this chapter →

Important Questions with answers

Q1 · Question · 3 marks · Medium
Write the algorithm to add two numbers digit by digit (as in the textbook) and use it to add 473 + 695, showing the carry at each step.
Show answer
1. Write the numbers one below the other, aligned from the right. 2. Add rightmost digits; write the units digit, set carry 0 or 1. 3. Move left; add the two digits and carry; write units digit, update carry. 4. Repeat step 3 until no digits remain. 5. If carry is 1, write 1 on the left.
473 + 695: 3 + 5 = 8 (carry 0); 7 + 9 = 16 → 6 (carry 1); 4 + 6 + 1 = 11 → 1 (carry 1); final carry → 1168.
Q2 · Question · 2 marks · Medium
Exercise 11.1 Q2: Does the algorithm correctly add a 5-digit number and a 3-digit number?
Show answer
Only if we treat missing digits of the shorter number as 0 (or simply bring down the remaining digits with the carry). As written, Step 3 assumes 'two digits' in each column, so it should be made precise for unequal lengths.
Q3 · Question · 2 marks · Medium
How would you modify the addition algorithm to add two decimal fractions?
Show answer
Align the decimal points (pad with zeros so both have the same number of decimal places), add from the rightmost digit as before, and place the decimal point in the answer below the others.
Q4 · Question · 2 marks · Easy
Counting one dot per second, how long would it take to find 512 + 389 by counting dots? How long by the column method at 15 seconds per column?
Show answer
Dots = 901 → 15 min 1 s. Columns = 3 → 45 s.
Q5 · Question · 2 marks · Easy
Counting one dot per second, how long would it take to find 40000 + 25000 by counting dots? How long by the column method at 15 seconds per column?
Show answer
Dots = 65000 → 18 h 3 min 20 s. Columns = 5 → 75 s.
Q6 · Question · 2 marks · Medium
Execute the divisors algorithm for n = 28. Write the list after each new divisor is found and the final list.
Show answer
[1] → [1, 2] → [1, 2, 4] → [1, 2, 4, 7] → [1, 2, 4, 7, 14] → [1, 2, 4, 7, 14, 28]. Final: divisors(28) = [1, 2, 4, 7, 14, 28].
Q7 · Question · 3 marks · Medium
divisors(375) = [1, 3, 5, 15, 25, 75, 125, 375] and divisors(825) = [1, 3, 5, 11, 15, 25, 33, 55, 75, 165, 275, 825]. Using the first gcd algorithm, find the list of common divisors and gcd(375, 825).
Show answer
Check each divisor of 375 in the second list: 1, 3, 5, 15, 25, 75 are present; 125, 375 are not. Common divisors = [1, 3, 5, 15, 25, 75]; the rightmost element 75 = gcd.
Q8 · Question · 3 marks · Medium
Use the first gcd algorithm (lists of divisors) to find gcd(90, 150).
Show answer
divisors(90) = [1, 2, 3, 5, 6, 9, 10, 15, 18, 30, 45, 90]; divisors(150) = [1, 2, 3, 5, 6, 10, 15, 25, 30, 50, 75, 150]. Common = [1, 2, 3, 5, 6, 10, 15, 30]. Rightmost = gcd = 30.
Q9 · Question · 2 marks · Medium
Exercise 11.2 Q1: List 1 and List 2 are in increasing order. Write an algorithm to find the elements of List 1 not present in List 2.
Show answer
1. Start with an empty list only-in-1. 2. For each x in List 1: if x does not appear in List 2, add x to only-in-1. 3. Report only-in-1. (Swap the lists for elements of List 2 not in List 1.)
Q10 · Question · 2 marks · Easy
List 1 = [5, 10, 15, 20, 25], List 2 = [10, 20, 30]. Using the algorithm, find the elements of List 1 not in List 2, and of List 2 not in List 1.
Show answer
Only in List 1: [5, 15, 25]; only in List 2: [30].
Q11 · Question · 2 marks · Medium
Exercise 11.2 Q2: Describe an algorithm to compute lcm(m, n).
Show answer
One way: for each k = 1, 2, 3, …, check whether k × max(m, n) is divisible by min(m, n); the first such multiple is the lcm. (Or: lcm(m, n) = m × n ÷ gcd(m, n).)
Q12 · Question · 2 marks · Easy
Use the lcm algorithm (multiples of the larger number, tested for divisibility by the smaller) to find lcm(15, 20).
Show answer
Multiples of 20: 20, 40, 60 — first divisible by 15 is 60. lcm = 60 (check: 15 × 20 ÷ gcd = 300 ÷ 5 = 60).
Q13 · Question · 2 marks · Easy
To find all divisors of 36 using divisor pairs, up to which number must we check? List the pairs.
Show answer
Up to √36 ≈ 6 → check 1 to 6. Pairs: (1, 36), (2, 18), (3, 12), (4, 9), (6, 6).
Q14 · Question · 2 marks · Easy
To find all divisors of 84 using divisor pairs, up to which number must we check? List the pairs.
Show answer
Up to √84 ≈ 9.17 → check 1 to 9. Pairs: (1, 84), (2, 42), (3, 28), (4, 21), (6, 14), (7, 12).
Q15 · Question · 2 marks · Medium
Execute the 'most-recent-common-divisor' algorithm for m = 8, n = 12. At which values of k is the value updated?
Show answer
Scan k = 2 to 8. Updates at k = 2, 4. Final value = gcd(8, 12) = 4.
Q16 · Question · 2 marks · Medium
Execute the 'most-recent-common-divisor' algorithm for m = 12, n = 18. At which values of k is the value updated?
Show answer
Scan k = 2 to 12. Updates at k = 2, 3, 6. Final value = gcd(12, 18) = 6.
Q17 · Question · 2 marks · Medium
Exercise 11.3 Q1: How would the original algorithm change if divisors were listed in reverse order (from n down to 1)?
Show answer
The lists would be in decreasing order, so the gcd would be the leftmost (first) element of the list of common divisors instead of the rightmost.
Q18 · Question · 3 marks · Medium
Use Euclid's subtraction algorithm to find gcd(65, 26). Show each step.
Show answer
gcd(65, 26) → gcd(26, 39) → swap → gcd(39, 26) → gcd(26, 13) → gcd(13, 13) → gcd(13, 0). Answer: 13.
Q19 · Question · 2 marks · Medium
Why is Euclid's subtraction algorithm slow for gcd(99, 2)? How many reductions are roughly needed for gcd(2k + 1, 2)?
Show answer
It subtracts 2 repeatedly: gcd(97, 2), gcd(95, 2), …, gcd(1, 0) — about 49 subtractions. For gcd(2k + 1, 2) it needs about k reductions, so the work grows with the value, not the number of digits.
Q20 · Question · 3 marks · Medium
Use Āryabhaṭa's division algorithm to find gcd(825, 375). Show each reduction.
Show answer
gcd(825, 375) → gcd(375, 75) → gcd(75, 0). gcd = 75 (2 reductions).
Q21 · Question · 3 marks · Medium
Use Āryabhaṭa's division algorithm to find gcd(391, 299). Show each reduction.
Show answer
gcd(391, 299) → gcd(299, 92) → gcd(92, 23) → gcd(23, 0). gcd = 23 (3 reductions).
Q22 · Question · 2 marks · Medium
Find gcd(10010, 1430) using the division algorithm.
Show answer
gcd(1430, 0). gcd = 1430.
Q23 · Question · 2 marks · Medium
Find gcd(2024, 1771) using the division algorithm.
Show answer
gcd(1771, 253) → gcd(253, 0). gcd = 253.
Q24 · Question · 3 marks · Medium
End-of-Chapter Q4: Write an algorithm primedivisors(n). Apply it to n = 60.
Show answer
1. Compute divisors(n). 2. Start with an empty list. 3. For each d in divisors(n), if prime(d), add d. 4. Report the list. For 60: divisors = [1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60] → primedivisors = [2, 3, 5].
Q25 · Question · 2 marks · Medium
Represent 72 and 120 as lists of (prime, power) pairs, and use them to find gcd(72, 120).
Show answer
72: [(2, 3), (3, 2)]; 120: [(2, 3), (3, 1), (5, 1)]. gcd = 24 (common primes with smaller powers).
Practise all 67 important questions →

← Back to Chapter 11: The World of Algorithms · All Class 9 Maths chapters