Thank you for using the timer - this advanced tool can estimate your performance and suggest more practice questions. We have subscribed you to Daily Prep Questions via email.
Customized for You
we will pick new questions that match your level based on your Timer History
Track Your Progress
every week, we’ll send you an estimated GMAT score based on your performance
Practice Pays
we will pick new questions that match your level based on your Timer History
Not interested in getting valuable practice questions and articles delivered to your email? No problem, unsubscribe here.
Thank you for using the timer!
We noticed you are actually not timing your practice. Click the START button first next time you use the timer.
There are many benefits to timing your practice, including:
We’ve worked incredibly hard to build TTP into the best test prep experience possible, and it would mean a lot to us to win Newsweek’s 2026 Readers’ Choice Award for Best Test Prep. If TTP has helped you, we’d be incredibly grateful for your vote.
Top scores are possible when you enroll in a powerful EA course, taught live online + 6 months access to TTP OnDemand video courses included! Perfect class schedule and easy course access for working professionals. Class starts Sept. 6, 9:30am-12:30pm EST
Meet AdComs and explore top Master’s programs - MiM, MiF, MSc, MSBA and more. - Application Fee Waivers - Free 1-Week of GMAT Club Tests: - Master's Application Toolkit - Grand Prize Giveaway
Originally posted by Bunuel on 20 Aug 2026, 08:54.
Last edited by Bunuel on 21 Aug 2026, 12:16, edited 2 times in total.
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
Show timer
00:00
Start Timer
Pause Timer
Resume Timer
Show Answer
Hide Answer
Correct Answer
Hide
Show
History
Dropdown 1: 24
Dropdown 2: 5
Be sure to select an answer first to save it in the Error Log before revealing the correct answer (OA)!
Select the dropdowns below and click "Submit" to add this question to your Error log.
Difficulty:
95%
(hard)
Question Stats:
50%
(03:03)
correct 50%
(04:08)
wrong
based on 52
sessions
History
Date
Time
Result
Not Attempted Yet
The flowchart represents a mathematical algorithm that takes two positive integers as the input and returns a positive integer as the output. Processes are indicated in the rectangular symbols in the flowchart. Each process is symbolized by an equation, such as S = S + x. In this particular process, the current values of the variables S and x are added together and the sum then becomes the value of S. For example, if the value of S is 4 and the value of x is 9 before the process S = S + x is completed, then the value of S is 13 and the value of x is 9 after the process is completed.
Use the drop-down menus to fill in the blanks in the following statements based on the algorithm represented by the flowchart.
If 12 and 20 are entered as the values for x and y, respectively, then immediately after the process x = 3x is completed for the second time, the value of S is .
If 15 and 17 are entered as the values for x and y, respectively, then the process S = S + x is completed times before the algorithm stops.
Originally posted by Bunuel on 28 Aug 2026, 03:00.
Last edited by Bunuel on 28 Aug 2026, 03:37, edited 1 time in total.
Kudos
Add Kudos
Bookmarks
Bookmark this Post
The flowchart represents a mathematical algorithm that takes two positive integers as the input and returns a positive integer as the output. Processes are indicated in the rectangular symbols in the flowchart. Each process is symbolized by an equation, such as S = S + x. In this particular process, the current values of the variables S and x are added together and the sum then becomes the value of S. For example, if the value of S is 4 and the value of x is 9 before the process S = S + x is completed, then the value of S is 13 and the value of x is 9 after the process is completed.
Use the drop-down menus to fill in the blanks in the following statements based on the algorithm represented by the flowchart.
If 12 and 20 are entered as the values for x and y, respectively, then immediately after the process x = 3x is completed for the second time, the value of S is .
If 15 and 17 are entered as the values for x and y, respectively, then the process S = S + x is completed times before the algorithm stops.
Official Solution: Drop-down 1:
Start with:
S = 0, x = 12, y = 20
Since 20 is not divisible by 3:
S = 0 + 12 = 12 y = 20 - 1 = 19
Since 19 is not divisible by 3:
S = 12 + 12 = 24 y = 19 - 1 = 18
Since 18 is divisible by 3:
x = 3 * 12 = 36 y = 18/3 = 6
This is the first time the process x = 3x is completed.
Since 6 is also divisible by 3:
x = 3 * 36 = 108
This is the second time the process x = 3x is completed. The value of S has not changed since it became 24.
Therefore, the value of S is 24. Drop-down 2:
Start with x = 15 and y = 17. We only need to count how many times the process S = S + x is completed.
17 is not divisible by 3, so S = S + x is completed for the first time, and y becomes 16. 16 is not divisible by 3, so S = S + x is completed for the second time, and y becomes 15. 15 is divisible by 3, so x becomes 45 and y becomes 5. 5 is not divisible by 3, so S = S + x is completed for the third time, and y becomes 4. 4 is not divisible by 3, so S = S + x is completed for the fourth time, and y becomes 3. 3 is divisible by 3, so x becomes 135 and y becomes 1. 1 is not divisible by 3, so S = S + x is completed for the fifth time, and y becomes 0.
The algorithm then stops.
Therefore, the process S = S + x is completed 5 times. Correct answer: Drop-down 1: "24" Drop-down 2: "5"