[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Logical Reasoning :: Logical Problems - Discussion

Home > Logical Reasoning > Logical Problems > MCQs Questions Discussion

8 / 58

Below is a pseudo code Read x

While(x < 60)
write x
x = x*3

The last number in the sequence is 54, what has the user entered as the initial value of x





Answer: Option (Login/Signup)

Show Explanation

Given Last value int seq. = 54.

and in every Loop result multiplied By 3.

So By Backward Approach

54/3=18 => 18/3=6

=> 6/3=2.

So, The Starting Value Is 2

Asked In :: Mu-Sigma

Post Your Answer Here:     

Rate This: +0 -0

Report Error

Please Login First Click Here