CBSE · Class 9 · Mathematics
Class 9 The World of Algorithms Mock Test (CBSE)
6 practice questions from The World of Algorithms, in the style of your board paper, each with a worked answer and the marks for every step. Then take a full chapter test on paper, snap the pages and get every step marked.
Topics in The World of Algorithms
- What an algorithm is
- Adding numbers by counting
- Adding numbers digit by digit
- Computing the divisors of a number
- Greatest common divisor
- A first algorithm for gcd
- Data structures: lists
- Improving the gcd algorithm
- Analysing the efficiency of algorithms
- Euclid's algorithm for gcd
- Euclid's algorithm using remainders
The World of Algorithms practice questions with answers
- Q1Multiple choice1 markIn the first algorithm for finding the GCD of two numbers and by checking all numbers from up to the smaller number, the worst-case number of steps is proportional to:
- (a)
- (b)
- (c)
- (d)
Show answer and step marks
- Correct option: (b) +1
Answer: (b) - Q2Multiple choice1 markWhat is the greatest common divisor (GCD) of and ?
- (a)12
- (b)18
- (c)24
- (d)6
Show answer and step marks
- Correct option: (a) +1
Answer: (a) - Q3Multiple choice1 markIn applying Euclid's algorithm to find the GCD of two positive integers and where , if , the next step in the algorithm is applied to which pair of numbers?
- (a) and
- (b) and
- (c) and
- (d) and
Show answer and step marks
- Correct option: (b) and +1
Answer: (b) - Q4Assertion and reason1 markAssertion (A): When adding two large numbers digit by digit using an algorithm, a carry generated at any position must be added to the sum of the digits in the next position to the left. Reason (R): The digit-by-digit addition algorithm processes numbers starting from the most significant digit to the least significant digit.
- (a)Both Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation of Assertion (A).
- (b)Both Assertion (A) and Reason (R) are true but Reason (R) is not the correct explanation of Assertion (A).
- (c)Assertion (A) is true but Reason (R) is false.
- (d)Assertion (A) is false but Reason (R) is true.
Show answer and step marks
- Correct option: (c) Assertion (A) is true but Reason (R) is false.+1
Answer: (c) - Q5Short answer2 marksFind the greatest common divisor (GCD) of and using an efficient remainder-based approach. Briefly state why this method is more efficient than listing all divisors.
Show answer and step marks
- Apply the division steps: , then , and , giving GCD = .+1
- State the reason for efficiency: It replaces large search spaces of divisors with rapid reductions using quotients and remainders.+1
Answer: GCD (, , ). It is more efficient because each division replaces the numbers by smaller ones, so only a few steps are needed instead of testing every possible divisor. - Q6Short answer3 marksList all the divisors of and all the divisors of . Hence, find the greatest common divisor (GCD) of and using these lists.
Show answer and step marks
- List the divisors of : .+1
- List the divisors of : .+1
- Identify the common divisors () and state the greatest common divisor as .+1
Answer: Divisors of : . Divisors of : . Common divisors: , so GCD .
Take a full The World of Algorithms test
PrepitUp writes a fresh paper on this chapter at the length you pick. Write it on paper with a timer, photograph the pages, and see the marks for every step and what to practise next.
- 15 min10 marks
- 30 min20 marks
- 1.5 hr40 marks
- 3 hr80 marks
Get your The World of Algorithms answers marked
Sign in, pick this chapter and a length, write the test on paper and get every step marked.
Sign in to take this testMore Class 9 Maths mock tests
- Orienting Yourself: The Use of Coordinates
- Introduction to Linear Polynomials
- The World of Numbers
- Exploring Algebraic Identities
- I'm Up and Down, and Round and Round
- Measuring Space: Perimeter and Area
- The Mathematics of Maybe: Introduction to Probability
- Predicting What Comes Next: Exploring Sequences and Progressions
- Propositions and their Converses
- How Quantities Combine: Understanding Data
- Quadrilaterals
- Two Variables, One Line
- Math of Space: Surface Area and Volume