A calculator has a key for squaring and another key for inverting. So if x is…

TCS · 2024

A calculator has a key for squaring and another key for inverting. So if x is the displayed number, then pressing the square key will replace x by x2 and pressing the invert key will replace x by 1/x. If initially the number displayed is 6 and one alternatively presses the invert and square key 16 times each, then the final number displayed (assuming no roundoff or overflow errors) will be?

  1. A.

    711223

  2. B.

    665563

  3. C.

    711322

  4. D.

    665536

Attempted by 33 students.

Sign up free to check your answer

Sign up free

Explore the full course: Tcs Ignite Smart Hiring

Loading lesson…