Confirming your payment

Skip to content

Competency-Based Questions (CBQ) · Question 2 of 40

A robot sorter in a toy factory must find every way of packing 245 marbles into bags with the same number of marbles…

Question 21 markMCQMedium

A robot sorter in a toy factory must find every way of packing 245 marbles into bags with the same number of marbles in each bag. It runs the algorithm to find the divisors of 245: it starts with an empty list-of-divisors and checks each j=1,2,3,…,245j = 1, 2, 3, \ldots, 245, adding jj to the list whenever jj divides 245.

Count one update each time a number is added to list-of-divisors. How many updates does the robot make?

Select your answer
  • (A) 6

    Correct answer
  • (B) 245

  • (C) 4

  • (D) 8