Learn
Class 9 Maths: The World of Algorithms, 8 practice questions with answers
These are 8 practice questions on Chapter 11, The World of Algorithms, of the new NCERT Class 9 Maths textbook, Ganita Manjari, Part II (First Edition, August 2026). Each has a worked answer and the textbook page it comes from. They cover running the column-addition algorithm step by step, why it is faster than counting, the divisors algorithm, the first gcd algorithm and how to make it check fewer numbers, Euclid's subtraction algorithm, Āryabhaṭa's division algorithm, why gcd(m, n) = gcd(n, m − n), and how much faster division is than subtraction. Try each one on paper before you open the answer.
These questions are our own, drafted with AI help. Every number was re-computed by a test script and none of the larger numbers is taken from the chapter, but no practising teacher has reviewed them yet. If you find a mistake, please tell us.
What the chapter says you need
Facts from the NCERT textbook (Ganita Manjari, Grade 9, Part II, Chapter 11, printed pages 37 to 50):
- An algorithm is a step-by-step procedure to arrive at an answer. The addition algorithm adds the digits column by column from right to left, writing the units digit of each column sum and carrying 1 when the sum is 10 or more (pages 37 and 38).
- Adding digit by digit is much faster than counting dots: one more digit means ten times as many dots, but only one more column (page 38).
- To list the divisors of n, start with an empty list and check each number j from 1 to n, adding j to the list if it divides n (page 40). The first gcd algorithm lists the divisors of both numbers and reports the largest number common to both lists (pages 42 and 43).
- The scan can be improved: checking both numbers together needs max(m, n) checks instead of m + n, and checking common divisors only up to min(m, n) is enough (page 44).
- Euclid's subtraction algorithm uses gcd(m, n) = gcd(n, m − n) for m ≥ n, and stops at gcd(m, 0) = m (pages 46 and 47). Repeated subtraction can take a number of steps proportional to the value of the number (page 48).
- Āryabhaṭa's division algorithm reduces gcd(m, n) to gcd(n, m mod n), where m mod n is the remainder when m is divided by n (page 48); its number of steps grows with the number of digits (page 49).
Adding and counting
Question 1. Run the addition algorithm on 2969 + 3974. For each column, write the column sum, the digit written down and the carry.
Answer: 6943.
- Units: 9 + 4 = 13; write 3, carry 1.
- Tens: 6 + 7 + 1 = 14; write 4, carry 1.
- Hundreds: 9 + 9 + 1 = 19; write 9, carry 1.
- Thousands: 2 + 3 + 1 = 6; write 6, carry 0.
There are no more digits and the carry is 0, so nothing is written to the left. The answer is 6943. (Addition algorithm, pages 37 and 38.)
Question 2. Using the chapter's reasoning, how do counting dots and adding digit by digit compare if we move from adding two 3-digit numbers to adding two 7-digit numbers?
Answer: about 10,000 times as many dots to count, but only 4 more columns to add. Each extra digit makes the numbers about ten times larger, so four extra digits mean about 10 × 10 × 10 × 10 = 10,000 times as many dots. The digit-by-digit algorithm only needs one more column for each extra digit, so 4 more columns. (Speed of the addition algorithm, page 38.)
Divisors and the gcd
Question 3. Run the divisors algorithm for n = 3127, given that 3127 = 53 × 59 and that 53 and 59 are prime. What list do you get, and how many numbers does the algorithm check?
Answer: [1, 53, 59, 3127]; it checks all 3127 numbers from 1 to 3127. The list starts empty. 1 divides 3127, so the list becomes [1]. The next number that divides 3127 is 53, then 59, and finally 3127 itself; no other number divides it, because its only prime factors are 53 and 59. The list is in increasing order because the numbers were checked from 1 upwards. (Divisors algorithm, page 40.)
Question 4. 4189 = 59 × 71, where 59 and 71 are prime. Use the first gcd algorithm to find gcd(4189, 3127). How many numbers does it check in all? How many would the improved scans check?
Answer: gcd = 59; 7316 checks, or 4189 with a combined scan, or 3127 if we stop at the smaller number. divisors(4189) = [1, 59, 71, 4189] and divisors(3127) = [1, 53, 59, 3127]. The common divisors are [1, 59], and the rightmost element is the gcd: 59. Listing the divisors of each number separately checks 4189 + 3127 = 7316 numbers. Scanning both together needs max(4189, 3127) = 4189 checks, and since a common divisor cannot be larger than the smaller number, scanning up to min(4189, 3127) = 3127 is enough. (First gcd algorithm, pages 42 and 43; improving the algorithm, page 44.)
Euclid and Āryabhaṭa
Question 5. Use Euclid's subtraction algorithm to find gcd(671, 427). How many times does the problem get reduced?
Answer: gcd = 61, after 6 reductions.
- gcd(671, 427) → gcd(427, 671 − 427) = gcd(427, 244)
- → gcd(244, 427 − 244) = gcd(244, 183)
- → gcd(183, 244 − 183) = gcd(183, 61)
- → gcd(61, 183 − 61) = gcd(61, 122); since 61 < 122, reverse to gcd(122, 61)
- → gcd(61, 122 − 61) = gcd(61, 61)
- → gcd(61, 0), so the answer is 61.
(Euclid's subtraction algorithm, pages 46 and 47.)
Question 6. Use Āryabhaṭa's division algorithm to find gcd(4189, 3127). Compare the answer with Question 4.
Answer: 59, the same as in Question 4, after 4 reductions.
- 4189 mod 3127 = 4189 − 3127 = 1062, so gcd(4189, 3127) → gcd(3127, 1062).
- 3127 mod 1062 = 3127 − 2 × 1062 = 3127 − 2124 = 1003, so → gcd(1062, 1003).
- 1062 mod 1003 = 59, so → gcd(1003, 59).
- 1003 is an exact multiple of 59, so 1003 mod 59 = 0 and we reach gcd(59, 0). The answer is 59.
The first algorithm checked thousands of numbers; this one needed only 4 reductions. (Āryabhaṭa's division algorithm, pages 48 and 49.)
Question 7. In Question 6, the first step replaced 4189 and 3127 by 3127 and 1062. Using 4189 = 59 × 71 and 3127 = 59 × 53, show that 59 also divides 1062, as the chapter's argument for gcd(m, n) = gcd(n, m − n) says it must.
Answer: 1062 = 4189 − 3127 = 59 × 71 − 59 × 53 = 59 × (71 − 53), a whole number of 59s, so 59 divides 1062. In the chapter's terms, if blocks of size 59 tile both 4189 and 3127, they also tile the difference. (Why gcd(m, n) = gcd(n, m − n), page 46.)
Question 8. How many reductions does Euclid's subtraction algorithm need to find gcd(2003, 5), and how many does the division algorithm need?
Answer: subtraction needs 404 reductions; division needs 4. The gcd is 1. By subtraction, 5 is taken away from 2003 again and again, one reduction at a time, until 3 is left and the last few small steps finish the work: 404 reductions in all. By division: 2003 mod 5 = 3, so gcd(2003, 5) → gcd(5, 3) → gcd(3, 2) → gcd(2, 1) → gcd(1, 0), which is 4 reductions, and the answer is 1. The subtraction method's work grows with the size of the number, the division method's with its number of digits. (Subtraction can be slow, page 48; division algorithm, pages 48 and 49.)
Practise more, and check your marks
- Printable Class 9 worksheets with answer keys, in English, Hindi and Marathi: Class 9 worksheets.
- Primes, factors and the number system: Class 9 The World of Numbers.
- Step-by-step rules that generate number patterns: Class 9 Predicting What Comes Next: Sequences.
- The chapter before this one: Class 9 How Quantities Combine: Understanding Data.
- The chapter after this one: Class 9 Quadrilaterals.
- The first chapter of Part I: Class 9 Coordinates.
Where CMDLearn fits
CMDLearn is building an AI tutor for Classes 1 to 10 that explains a step and checks the child's working, but leaves the writing to the child. It is still in development, and no child uses it yet. If you would like to hear when there is something to try, you can join the waitlist.
Sources
All opened and read on 22 October 2026. Page numbers are the printed page numbers of the textbook; printed page = PDF page + 36.
- NCERT, Ganita Manjari: Textbook of Mathematics for Grade 9, Part II (First Edition, August 2026, Shravana 1948), Chapter 11 "The World of Algorithms", printed pages 37-50 (the addition algorithm, pages 37-38; its speed, page 38; the divisors algorithm, page 40; the first gcd algorithm, pages 42-43; improving the scan, page 44; Euclid's subtraction algorithm and its justification, pages 46-47; slow subtraction and m mod n, page 48; Āryabhaṭa's division algorithm, page 49; chapter summary, page 50): ncert.nic.in/textbook/pdf/iemh203.pdf
- NCERT, Ganita Manjari, Part II, front matter and contents (edition and chapter titles): ncert.nic.in/textbook/pdf/iemh2ps.pdf
The algorithms are from the textbook pages above. The questions, worked answers and checks are our own, and every number was re-computed by script. This guide is general information; follow your teacher and the textbook.