73 MCQs from Class 9 Maths Part 2 Chapter 11. Try each question, then check the answer and explanation.
What is an algorithm?
A step-by-step procedure to arrive at an answer
A mathematical formula
A type of number
A computer program
Answer: A — A step-by-step procedure to arrive at an answer
An algorithm is defined as a step-by-step procedure to arrive at an answer, as stated in the text.
In the addition algorithm described, what is the value of carry if the sum of two digits is less than 10?
0
1
10
-1
Answer: A — 0
The algorithm states: if the sum is less than 10, write the sum directly and set the value of carry to 0.
Why is it important to align columns from right to left in addition?
To ensure digits of the same place value are added together
To make numbers look neat
To avoid carrying
To speed up addition
Answer: A — To ensure digits of the same place value are added together
Aligning from right to left ensures that units are added to units, tens to tens, etc., which is essential for correct place-value addition.
What basic step is assumed in the addition algorithm?
Knowing how to add single digit numbers
Knowing multiplication tables
Knowing how to count dots
Knowing how to subtract
Answer: A — Knowing how to add single digit numbers
The text states that an important assumption is that we know how to add single digit numbers without counting them out.
How many more columns need to be added when moving from 3-digit to 4-digit numbers using the digit-by-digit addition algorithm?
1
10
100
0
Answer: A — 1
The text says: 'if we add the digits right to left, as in the algorithm above, we only have to add 1 more column.'
What is the list of divisors of 18?
[1, 2, 3, 6, 9, 18]
[1, 2, 3, 4, 6, 9, 18]
[1, 2, 3, 6, 9]
[1, 2, 3, 4, 6, 9, 18]
Answer: A — [1, 2, 3, 6, 9, 18]
From the text, the divisors of 18 are computed as [1, 2, 3, 6, 9, 18].
In the algorithm to find divisors of n, what is the initial state of list-of-divisors?
Empty list [ ]
List [1]
List [n]
List of all numbers from 1 to n
Answer: A — Empty list [ ]
The algorithm starts with an empty list-of-divisors.
To find gcd from lists of divisors, what do we do?
Find the largest number common to both lists
Find the smallest number common to both lists
Multiply the lists
Add the lists
Answer: A — Find the largest number common to both lists
The gcd is the largest number that appears in both lists of divisors.
What is a data structure?
A way to organize information to help make an algorithm more efficient
A type of algorithm
A mathematical operation
A number system
Answer: A — A way to organize information to help make an algorithm more efficient
The text defines a data structure as something that allows us to organise information in a manner that helps make an algorithm more efficient.
In improving the gcd algorithm, why can we check common divisors only up to min(m, n)?
Because a common divisor cannot be larger than the smaller number
Because the larger number is irrelevant
Because it saves time
Because gcd is always less than min(m, n)
Answer: A — Because a common divisor cannot be larger than the smaller number
The text states: 'a common divisor cannot be larger than the smaller of the two numbers, so we can check for common divisors up to the minimum of m and n.'
According to Euclid's subtraction algorithm, gcd(m, n) is the same as:
gcd(n, m - n) when m ≥ n
gcd(m, m - n)
gcd(n, n - m)
gcd(m + n, n)
Answer: A — gcd(n, m - n) when m ≥ n
Euclid's algorithm uses the observation that gcd(m, n) = gcd(n, m - n) when m ≥ n.
What is the stopping condition in Euclid's algorithm for gcd(m, n)?
When n = 0, answer is m
When m = n, answer is m
When m = 0, answer is n
When n = 1, answer is 1
Answer: A — When n = 0, answer is m
The algorithm states: 'If n = 0, report the answer as m.'
How does Aryabhata's division algorithm modify Euclid's subtraction algorithm?
It replaces repeated subtraction with division by remainder (m mod n)
It uses addition instead of subtraction
It uses multiplication
It uses prime factorization
Answer: A — It replaces repeated subtraction with division by remainder (m mod n)
The text says: 'instead of reducing gcd(m, n) to gcd(n, m - n), we reduce it to gcd(n, m mod n).'
Why is Aryabhata's division algorithm more efficient than Euclid's subtraction algorithm for numbers like 99 and 2?
It uses division to reduce the problem in fewer steps
It uses smaller numbers
It avoids remainders
It uses a different number system
Answer: A — It uses division to reduce the problem in fewer steps
For gcd(99,2), Euclid's subtraction takes about 49 reductions, while Aryabhata's division takes only 2 reductions. This is because division reduces the problem much faster.
The word 'algorithm' is derived from the name of which mathematician?
Al-Khwarizmi
Aryabhata
Euclid
Pythagoras
Answer: A — Al-Khwarizmi
The text states that the word algorithm comes from Algoritmi, the Latin form of Al-Khwarizmi's name.
What is the value of carry when the sum of two digits is exactly 10?
1
0
10
9
Answer: A — 1
If the sum is 10, the units digit is 0 and carry is 1. The algorithm says: if sum is more than 10, write units digit and set carry to 1. For exactly 10, same applies because it is 'equal to or more than 10'.
In the addition algorithm, what happens if the sum of two digits is 12?
Write 2 and carry 1
Write 12 and carry 0
Write 1 and carry 2
Write 2 and carry 0
Answer: A — Write 2 and carry 1
When sum is more than 10, write the units digit (2) and set carry to 1.
Why is the final step of writing carry 1 necessary?
To account for the last carry that may be generated
To make the answer look longer
To follow tradition
To avoid errors
Answer: A — To account for the last carry that may be generated
If after processing all columns the carry is 1, it represents a higher place value that must be written to the left of the bottom row.
In Euclid's algorithm, if we start with gcd(48, 18), what is the first reduction?
gcd(18, 30)
gcd(18, 48)
gcd(30, 18)
gcd(48, 30)
Answer: A — gcd(18, 30)
Since 48 ≥ 18, we reduce to gcd(18, 48 - 18) = gcd(18, 30).
What is the result of gcd(48, 18) using Euclid's subtraction algorithm?
6
18
12
3
Answer: A — 6
gcd(48,18) → gcd(18,30) → gcd(18,12) → gcd(12,6) → gcd(6,6) → gcd(6,0) = 6.
Why does Euclid's algorithm work?
Because any common divisor of m and n also divides m - n, and vice versa
Because m - n is always smaller
Because it uses subtraction
Because it is ancient
Answer: A — Because any common divisor of m and n also divides m - n, and vice versa
The text proves that any common divisor of m and n is also a common divisor of n and m - n, and the converse is also true, so the set of common divisors remains the same.
For gcd(99, 2), what is the first reduction using Aryabhata's algorithm?
gcd(2, 1)
gcd(2, 97)
gcd(2, 99)
gcd(1, 2)
Answer: A — gcd(2, 1)
Since 99 ≥ 2, we reduce to gcd(2, 99 mod 2) = gcd(2, 1).
How many reduction steps are needed for gcd(99, 2) using Aryabhata's algorithm?
2
49
1
98
Answer: A — 2
gcd(99,2) → gcd(2,1) → gcd(1,0). So two reduction steps.
What is the main advantage of Aryabhata's division algorithm over Euclid's subtraction?
Number of steps proportional to number of digits
Number of steps proportional to the value
It uses multiplication
It works only for small numbers
Answer: A — Number of steps proportional to number of digits
The text states: 'it can be shown that the number of reductions needed in Āryabhaṭa’s division algorithm is now proportional to the number of digits in m and n.'
In the gcd algorithm using lists, what is the list of common divisors of 375 and 825?
[1, 3, 5, 15, 25, 75]
[1, 3, 5, 15, 25, 75, 125, 375]
[1, 3, 5, 11, 15, 25, 33, 55, 75, 165, 275, 825]
[1, 2, 3, 5, 15, 25, 75]
Answer: A — [1, 3, 5, 15, 25, 75]
From the text, the common divisors of 375 and 825 are [1, 3, 5, 15, 25, 75].
What is the gcd of 54000 and 81000 according to the text?
27000
54000
81000
13500
Answer: A — 27000
The text states that the gcd of 54000 and 81000 is 27000.
Which of the following is a data structure used in the gcd algorithm described in the text?
List
Tree
Graph
Stack
Answer: A — List
The text uses lists to maintain divisors and common divisors.
What does the term 'executing an algorithm' mean?
Running through an algorithm step by step
Writing an algorithm
Debugging an algorithm
Compiling an algorithm
Answer: A — Running through an algorithm step by step
The text says: 'Running through an algorithm step by step is also called executing the algorithm.'
In the addition algorithm, why cannot the carry value be more than 1?
Because the sum of two digits plus carry is at most 19
Because we only add two digits
Because carry is always 0 or 1
Because of place value
Answer: A — Because the sum of two digits plus carry is at most 19
The maximum sum of two digits is 9+9=18, and adding a carry of 1 gives 19, so the carry cannot exceed 1.
What is the main advantage of the addition algorithm over counting dots?
It is much faster for large numbers
It is more accurate
It uses fewer numbers
It is easier to understand
Answer: A — It is much faster for large numbers
The text explains that counting dots for large numbers takes much longer, while the digit-by-digit addition algorithm adds only one more column per extra digit, making it far faster.
What is an algorithm, as defined in the chapter?
A step-by-step procedure to arrive at an answer
A method of counting dots to add numbers
A type of data structure used in mathematics
A Greek method for finding prime numbers
Answer: A — A step-by-step procedure to arrive at an answer
The chapter defines an algorithm as 'a step-by-step procedure to arrive at an answer'. The other options are either examples or unrelated.
In the addition algorithm described, why do we align digits from right to left?
To make the numbers look neat
Because the Indian place-value system groups digits by powers of ten
To ensure that the carry is always 1
To avoid adding numbers with different lengths
Answer: B — Because the Indian place-value system groups digits by powers of ten
Aligning from right to left is essential because the place value (units, tens, hundreds, etc.) increases from right to left, so like places must be added together.
In the addition algorithm, after adding two digits and the carry, if the sum is 10 or more, what do we do?
Write the whole sum and set carry to 1
Write the units digit and set carry to 1
Write the tens digit and set carry to 0
Ignore the carry and write the sum directly
Answer: B — Write the units digit and set carry to 1
According to the algorithm, if the sum is more than 10, we write the units digit below and set the carry to 1 (or if exactly 10, similarly).
Why is it important to include Step 5 ('If the value of carry is 1, write 1 to the left of the bottom row') in the addition algorithm?
Because otherwise the answer will always be wrong
Because it handles the case when there is a final carry after the leftmost column
Because it makes the algorithm faster
Because the carry must always be written
Answer: B — Because it handles the case when there is a final carry after the leftmost column
Without Step 5, if there is a carry after adding the leftmost digits, that carry would be lost, leading to an incorrect sum in cases where the sum has more digits than the operands.
What basic assumption does the addition algorithm make?
That we can add any two single-digit numbers without counting
That we have a calculator
That the numbers are always 3-digit
That the carry is always 0
Answer: A — That we can add any two single-digit numbers without counting
The chapter states: 'There is also an important assumption in this algorithm, namely, that we know how to add single digit numbers without counting them out.'
According to the chapter, what is the main advantage of the addition algorithm over counting dots?
It is easier to understand
It requires less memory
It takes time proportional to the number of digits, not the value of the numbers
It works only for small numbers
Answer: C — It takes time proportional to the number of digits, not the value of the numbers
The chapter explains that adding digit by digit takes time proportional to the number of digits, whereas counting dots grows proportionally with the value of the numbers.
What does the chapter suggest we need to do to modify the addition algorithm for decimal fractions?
Align the decimal points and add columns from left to right
Ignore the decimal point and add as whole numbers
Align the decimal points and add columns from right to left, including decimal places
Convert decimals to fractions first
Answer: C — Align the decimal points and add columns from right to left, including decimal places
The 'Think and Reflect' section asks how to modify the algorithm for decimal fractions. The natural extension is to align decimal points and add each column from right to left, including decimal places.
In the algorithm to find divisors of n, what is the initial value of the list-of-divisors?
[1]
[]
[n]
[1, n]
Answer: B — []
The algorithm says: 'Start with an empty list-of-divisors.' So initially it is [].
For n = 18, what is the final list of divisors according to the algorithm?
[1, 2, 3, 6, 9, 18]
[1, 2, 3, 6, 9]
[1, 2, 3, 4, 6, 9, 18]
[1, 18]
Answer: A — [1, 2, 3, 6, 9, 18]
The chapter executes the algorithm for 18 and obtains [1, 2, 3, 6, 9, 18].
What is the greatest common divisor of 375 and 825, as computed in the chapter?
25
75
125
375
Answer: B — 75
The chapter computes gcd(375, 825) by listing divisors and finds the common divisors are [1, 3, 5, 15, 25, 75], so the gcd is 75.
In the first algorithm for gcd, what is the final step?
Report the rightmost element of the list common-divisors as gcd(m,n)
Report the leftmost element of the list common-divisors
Report the product of all common divisors
Report the sum of all common divisors
Answer: A — Report the rightmost element of the list common-divisors as gcd(m,n)
The algorithm states: 'Report the rightmost element of the list common-divisors as gcd(m,n).' Since the list is in increasing order, the rightmost is the largest.
What is a data structure, as described in the chapter?
A way to organise information to help make an algorithm more efficient
A type of number system
A step in an algorithm
A mathematical proof
Answer: A — A way to organise information to help make an algorithm more efficient
The chapter states: 'A list is an example of a data structure. Data structures allow us to organise information in a manner that helps make an algorithm more efficient.'
How does combining the scans for divisors of m and n improve the gcd algorithm?
It reduces the number of possible divisors to be checked from m + n to max(m, n)
It eliminates the need for lists entirely
It makes the algorithm slower but more accurate
It only works when m = n
Answer: A — It reduces the number of possible divisors to be checked from m + n to max(m, n)
The chapter says: 'This reduces the number of possible divisors to be checked from m + n to max(m, n).'
In the improved gcd algorithm that does away with lists, what variable is used to keep track of the gcd?
most-recent-common-divisor
gcd
list-of-divisors
common-divisors
Answer: A — most-recent-common-divisor
The algorithm uses 'most-recent-common-divisor', initially set to 1, and updates it whenever a larger common divisor is found.
What is the key observation behind Euclid's subtraction algorithm?
gcd(m, n) = gcd(n, m - n)
gcd(m, n) = gcd(m + n, n)
gcd(m, n) = gcd(m, n mod m)
gcd(m, n) = gcd(m - n, m + n)
Answer: A — gcd(m, n) = gcd(n, m - n)
The chapter states: 'Then, gcd(m,n) is the same as gcd(n, m - n).' This is the basis of Euclid's subtraction algorithm.
Why does Euclid's subtraction algorithm eventually stop?
Because the numbers become equal and then one becomes zero
Because the numbers become prime
Because the algorithm reaches a carry
Because the numbers become negative
Answer: A — Because the numbers become equal and then one becomes zero
The algorithm reduces the numbers until one is zero. When gcd(m,0) is reached, the answer is m. This happens because repeated subtraction eventually makes the smaller number zero.
What is a drawback of Euclid's subtraction algorithm compared to Aryabhata's division algorithm?
It requires many subtractions when one number is much larger than the other
It cannot handle even numbers
It only works for numbers less than 100
It requires prime factorization
Answer: A — It requires many subtractions when one number is much larger than the other
The chapter notes that for gcd(99,2), Euclid's subtraction algorithm requires about 49 reductions, whereas the division algorithm takes only 2 steps.
In Aryabhata's division algorithm, what is the reduction step?
Reduce gcd(m,n) to gcd(n, m mod n)
Reduce gcd(m,n) to gcd(n, m - n)
Reduce gcd(m,n) to gcd(m, n mod m)
Reduce gcd(m,n) to gcd(m - n, n)
Answer: A — Reduce gcd(m,n) to gcd(n, m mod n)
The chapter says: 'Instead of reducing gcd(m,n) to gcd(n, m - n) we reduce it to gcd(n, m mod n), where m mod n stands for the remainder when m is divided by n.'
What does the chapter say about the efficiency of Aryabhata's division algorithm?
The number of reductions is proportional to the number of digits in m and n
The number of reductions is proportional to the value of m and n
It is always slower than Euclid's subtraction algorithm
It only works for small numbers
Answer: A — The number of reductions is proportional to the number of digits in m and n
The chapter states: 'In fact, it can be shown that the number of reductions needed in Aryabhata's division algorithm is now proportional to the number of digits in m and n.'
What is the origin of the word 'algorithm' according to the chapter?
From the Latin form of Al-Khwarizmi's name
From the Greek word for number
From the Indian word for mathematics
From the Arabic word for addition
Answer: A — From the Latin form of Al-Khwarizmi's name
The chapter explains that 'algorismus' came from Algoritmi, the Latin form of Al-Khwarizmi's name, which later contracted to 'algorithm'.
Which ancient Indian text is mentioned as containing the 'long division' method for finding GCD?
Aryabhatiya
Brahmasphutasiddhanta
Lilavati
Sulbasutras
Answer: A — Aryabhatiya
The chapter says: 'In Indian treatises like Aryabhata's Aryabhatiya (499 CE), we see the "long division" method for finding GCD using Indian place value numerals.'
What is the value of 17 mod 5, as given in the chapter?
2
3
5
12
Answer: A — 2
The chapter states: '17 mod 5 is 2 and 33 mod 7 is 5.'
In the algorithm to find the divisors of n, what does the loop 'For each j in 1,2,3,...,n' do?
Checks if j divides n and if so, adds j to the list
Adds all numbers from 1 to n to the list
Multiplies all numbers from 1 to n
Finds the greatest common divisor of n and j
Answer: A — Checks if j divides n and if so, adds j to the list
The algorithm says: 'For each number j in the sequence 1,2,3,...,n if j divides n, add j to the list-of-divisors.'
What is the gcd of 54000 and 81000, as computed in the chapter?
27000
5400
13500
9000
Answer: A — 27000
The chapter computes the common divisors and finds the largest is 27000.
What is the least common multiple (lcm) algorithm likely to use, based on the chapter's approach?
Lists of multiples or prime factorization
Repeated addition
Subtraction of remainders
Counting dots
Answer: A — Lists of multiples or prime factorization
The exercise asks to describe an algorithm to compute lcm. Common approaches use lists of multiples or prime factorization, similar to the divisor list method for gcd.
In the chapter, what does the term 'executing an algorithm' mean?
Running through the algorithm step by step
Writing down the algorithm
Proving the algorithm is correct
Optimizing the algorithm
Answer: A — Running through the algorithm step by step
The chapter says: 'Running through an algorithm step by step is also called executing the algorithm.'
What is the main advantage of using the 'most-recent-common-divisor' variable in the improved gcd algorithm?
It avoids storing all common divisors in a list
It makes the algorithm run faster by checking numbers in reverse
It allows the algorithm to work for negative numbers
It ensures the gcd is always prime
Answer: A — It avoids storing all common divisors in a list
The chapter says: 'Do we need to maintain the list of all common divisors? Each time we find a larger common divisor, the ones that we have found earlier are useless!' So it avoids storing the full list.
Which of the following is NOT a basic step assumed in the gcd algorithm that uses divisor lists?
Knowing how to check if a number divides another
Knowing how to compare two numbers
Knowing how to add numbers
Knowing how to create an empty list
Answer: C — Knowing how to add numbers
The algorithm for divisors assumes we can check divisibility, but addition is not a basic step there. The addition algorithm assumes single-digit addition.
What does the chapter say about the number of steps in an algorithm?
We can analyse how many steps it takes in terms of the size of its input
The number of steps is always fixed
The number of steps is irrelevant
Algorithms must have exactly 5 steps
Answer: A — We can analyse how many steps it takes in terms of the size of its input
The chapter summary states: 'We can also analyse how many steps an algorithm takes, in terms of the size of its input, and decide how efficient it is.'
In the context of the chapter, what is a 'carry'?
A value of 1 that is added to the next left column when a sum is 10 or more
The result of adding two digits
The number of digits in a number
A type of data structure
Answer: A — A value of 1 that is added to the next left column when a sum is 10 or more
The addition algorithm sets the carry to 1 when the sum of a column is 10 or more, and this carry is added to the next column to the left.
Why does the addition algorithm work? The chapter justifies it by grouping numbers into units, tens, hundreds, etc. What is the key idea?
We add each group separately and carry over formed tens to the next group
We always add from left to right
We ignore carries to simplify
We convert numbers to dots and count
Answer: A — We add each group separately and carry over formed tens to the next group
The chapter says: 'The key idea is that we are grouping each number into units, tens, hundreds, ... and adding each group separately. Whenever a smaller group, say units, generates a large group of ten, we carry over the newly formed ten to the tens group.'
What happens if we do not include the fifth step in the addition algorithm (the final carry step)?
The algorithm fails to work correctly when there is a final carry
The algorithm works correctly for all cases
The algorithm becomes faster
The algorithm produces the wrong answer for all cases
Answer: A — The algorithm fails to work correctly when there is a final carry
The chapter's exercise asks this. Without the final carry step, if the leftmost column sum produces a carry, that carry is lost, so the result is incorrect for those cases.
Which of the following is an example of a data structure mentioned in the chapter?
A list
A number
A carry
A digit
Answer: A — A list
The chapter explicitly says: 'A list is an example of a data structure.'
What does the chapter say about the efficiency of the first gcd algorithm that scans from 1 to min(m,n)?
The work grows by a factor of 10 when the smaller number gains a digit
The work grows linearly with the number of digits
The work is independent of the size of the numbers
The work decreases as numbers get larger
Answer: A — The work grows by a factor of 10 when the smaller number gains a digit
The chapter says: 'If the smaller number goes from 3 digits to 4 digits, we have to scan 10 times as many values to find the common divisors.'
In the chapter, what is the name of the Persian mathematician who helped spread Indian arithmetic and whose name is the origin of the word 'algorithm'?
Al-Khwarizmi
Aryabhata
Euclid
Brahmagupta
Answer: A — Al-Khwarizmi
The chapter's 'A Pinch of History' section discusses Al-Khwarizmi and the origin of the word 'algorithm'.
What is the gcd of 375 and 825 using Aryabhata's division algorithm, as shown in the chapter?
75
25
150
375
Answer: A — 75
The chapter illustrates Aryabhata's method for gcd(825, 375) and obtains 75 as the gcd.
In Euclid's algorithm, what is the first step if m < n?
Reverse the numbers and compute gcd(n, m)
Subtract m from n
Add m and n
Report m as the gcd
Answer: A — Reverse the numbers and compute gcd(n, m)
The algorithm states: 'If m < n, reverse the numbers and compute gcd(n,m).'
What is the stopping condition in Euclid's algorithm for gcd?
When n = 0, report m as the answer
When m = n, report m
When m > n, swap them
When both numbers are prime
Answer: A — When n = 0, report m as the answer
Step 2 of Euclid's algorithm: 'If n = 0, report the answer as m.'
What is the value of 33 mod 7, as given in the chapter?
5
2
4
6
Answer: A — 5
The chapter says: '33 mod 7 is 5.'
Why does the chapter say that adding individual digits from right to left results in the sum of the two numbers?
Because we are grouping numbers into units, tens, hundreds and adding each group separately, carrying over tens
Because addition is commutative
Because the Indian number system uses base 10
Because the carry is always 1
Answer: A — Because we are grouping numbers into units, tens, hundreds and adding each group separately, carrying over tens
The chapter justifies the addition algorithm by explaining that we group numbers into place values and add each group, carrying over formed tens to the next group.
What does the chapter suggest about the number of reductions in Euclid's subtraction algorithm for gcd(99,2)?
It requires about 49 reductions
It requires 2 reductions
It requires 1 reduction
It requires 10 reductions
Answer: A — It requires about 49 reductions
The chapter states: 'Consider gcd(99, 2). This will reduce successively to ... giving us the answer 1. In general, if we start with an odd number 2k+1, gcd(2k+1, 2) will require about k reductions.' For 99, k=49, so about 49 reductions.
In the chapter, what is the algorithm prime(n) intended to do?
Check if n is a prime number
Find the nth prime number
List all prime numbers up to n
Find the prime factorization of n
Answer: A — Check if n is a prime number
The exercise asks: 'Write an algorithm prime(n) to check if n is prime.'
What is the prime factorization of 180, as given in the chapter?
2^2 × 3^2 × 5^1
2^3 × 3^2 × 5^0
2^1 × 3^3 × 5^1
2^2 × 3^1 × 5^2
Answer: A — 2^2 × 3^2 × 5^1
The chapter states: 'The prime factorisation of 180 is 2^2 × 3^2 × 5^1.'