[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.

ThoughtWorks Aptitude Test Question with Answers

106K

Tot. Mock Test: 3


Total Qs: 33+

NA
SHSTTON
327
Solv. Corr.
921
Solv. In. Corr.
1248
Attempted
4 M:12 S
Avg. Time

21 / 33

The object of the following flow-chart is to rearrange the numbers in boxes 1, 2 and 3 in such a fashion that, at the end:

Box 3 will always contain the largest number,
Box 1 will always contain the smallest number,

However, this flow-chart is INCORRECT. As it stands, it will not accomplish the desired purpose.

Which one instruction must be changed to correct the flow-chart?


flowchart-questions-and-answers-Q4Interview-13

AInstruction 5 Box 2 Box 3

BInstruction 5 Box 3 Box 2

CInstruction 4 Box 2 Box 3

DNone of these

Answer: Option B

Explanation:

The two conditions in the flowchart are :
Instruction 1 : IS (1) < (2) ? YES --(1)
Instruction 5 : IS (3) < (2) ? NO --(2)
ANSWER
The error is in Instruction 5, because BOX 3 will always contain the largest number and so the output to Instruction 5 will always be NO and the loop will end only on a YES.

Submit Your Solution

NA
SHSTTON
166
Solv. Corr.
245
Solv. In. Corr.
411
Attempted
0 M:3 S
Avg. Time

22 / 33

Study the flow chart shown below to answer the following questions.

For an individual who works for a government organization and owns a house, it is given that he is 35 years old and earns Rs. 15,000 per month. What would be the approved_amt (in Rs.) for him?


capgemini-flow-chart-questions-answers-freshers-written-1

A1500000

B1875000

C1600000

D2050000

ENone of these

Answer: Option B

Explanation:

approved_amt = sal * 5 * (60 - age) = 15,000 * 5 * (60 - 35) = 18,75,000 Rs.

ShortCut By :: Nagaraj

150000

Submit Your Solution

Tags: ThoughtWorks

NA
SHSTTON
172
Solv. Corr.
226
Solv. In. Corr.
398
Attempted
1 M:51 S
Avg. Time

23 / 33

Study the flow chart shown below to answer the following questions.

A person wishes to apply for a loan worth Rs. 20, 00,000. Person does not own a house and also does not work for a government
organization. Will he get this loan approved if he draws a salary of Rs. 50,000 and his current age is 26 years?


capgemini-flow-chart-questions-answers-freshers-written-1

AYes, if his age is less than 40.

BNo, he would not get this amount.

CYes, he would get this amount.

DYes, if his age is less than 40.

Answer: Option B

Explanation:

approved_amt = sal * (60 - age)


= 50,000 * (60 - 26)

= 17,00,000 Rs.
So, the loan will not be approved for the person mentioned in the question.

ShortCut By :: Laboni

Correct answer: Option B

According to the given flow chart, highest approved amount of loan for the man is: 50000*(60-26)=1,700,000

Loan of rs. 2,000,000 can't be approved.

Submit Your Solution

Tags: ThoughtWorks

NA
SHSTTON
158
Solv. Corr.
315
Solv. In. Corr.
473
Attempted
0 M:20 S
Avg. Time

24 / 33

Study the flow chart shown below to answer the following questions.

A person wishes to avail a loan of Rs. 50, 00,000. He works for a government organization and does not own a house. Would he get the loan if he draws a salary of Rs. 60,000 and his age is 28 years. If he does get a loan, what amount would he be entitled? If not, by what amount he would be short of the required amount?


capgemini-flow-chart-questions-answers-freshers-written-1

AYes, he would get a loan equal to Rs. 57, 60,000.

BYes, he would get a loan exactly equal to Rs. 50, 00,000.

CNo, he would not get a loan. He would be short of Rs. 7, 00,000.

DNo, he would not get a loan. He would be short of Rs. 7, 60,000.

Answer: Option A

Explanation:

approved_amt = sal * 3 * (60 - age)
approved_amt = 60,000 * 3 * (60 - 28)

approved amt = 57,60,000 Rs. So, yes, he would get a loan equal to Rs. 57,60,000.

Submit Your Solution

Tags: ThoughtWorks

NA
SHSTTON
349
Solv. Corr.
680
Solv. In. Corr.
1029
Attempted
0 M:36 S
Avg. Time

25 / 33

Study the flow chart shown below to answer the following questions.

In which situation can this flowchart get stuck in an infinite loop?


capgemini-flow-chart-questions-answers-freshers-written-2

AWhen N >= 0

BWhen N <= 0

CWhen N > M or F

Dwill never enter in infinite loop

Answer: Option B

Explanation:

From the flowchart it is evident that M will always be a natural number equal to or greater than 1. For
values of N less than or equal to 0 the flowchart will get struck in an infinite loop.

Submit Your Solution

Tags: ThoughtWorks

NA
SHSTTON
337
Solv. Corr.
462
Solv. In. Corr.
799
Attempted
0 M:31 S
Avg. Time

26 / 33

Study the flow chart shown below to answer the following questions.

Which of the following correctly represents the bug present in this flowchart?


capgemini-flow-chart-questions-answers-freshers-written-2

ANot handled for N = M

BNot handled for N <= 0

CNot handled for N > M

DNot handled for natural numbers as N

Answer: Option B

Explanation:

The values of N equal to or less than 0 will make the flowchart to get struck in an infinite loop, so this is this bug
in the flowchart for values of N less than equal to 0.

Submit Your Solution

Tags: ThoughtWorks

NA
SHSTTON
196
Solv. Corr.
313
Solv. In. Corr.
509
Attempted
0 M:30 S
Avg. Time

27 / 33

Study the flow chart shown below to answer the following questions.

Which of the following value will be printed if the value of N = 0?


capgemini-flow-chart-questions-answers-freshers-written-2

A0

B720

C5040

DNone of these

Answer: Option D

Explanation:

For value of N equal to 0, the flowchart gets struck in an infinite loop. Hence answer to this question is option D (none of these)

Submit Your Solution

Tags: ThoughtWorks

NA
SHSTTON
61
Solv. Corr.
214
Solv. In. Corr.
275
Attempted
3 M:23 S
Avg. Time

28 / 33

Study the flow chart shown below to answer the following questions.

Which among the following operations is not performed as per the process of the flow chart?


capgemini-flow-chart-questions-answers-freshers-written-3

ATake exactly 5 values as input.

BSort the list in descending order.

CPrint all 5 values which were given as input.

DNever get into the "Is List > Val" loop

Answer: Option C

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: ThoughtWorks

NA
SHSTTON
88
Solv. Corr.
166
Solv. In. Corr.
254
Attempted
5 M:13 S
Avg. Time

29 / 33

Study the flow chart shown below to answer the following questions.

For which sets of values will the above flow chart get into an infinite loop?


capgemini-flow-chart-questions-answers-freshers-written-3

A1, 1, 1, 1, 1

B1, 2, 3, 4, 5

C5, 4, 3, 2, 1

DThis flowchart will never get into an infinite loop

Answer: Option D

Explanation:

Here is no explanation for this answer

Submit Your Solution

Tags: ThoughtWorks

NA
SHSTTON
278
Solv. Corr.
211
Solv. In. Corr.
489
Attempted
1 M:9 S
Avg. Time

30 / 33

Study the flow chart shown below to answer the following questions.

At the end of the flowchart execution, what would be the values of I and M?


capgemini-flow-chart-questions-answers-freshers-written-3

AI=1, M=1

BI=6, M=5

CI=5 M=5

DI=5, M=6

Answer: Option B

Explanation:

Here is no explanation for this answer

Submit Your Solution


Here is the list of questions asked in ThoughtWorks Aptitude Test Question with Answers ThoughtWorks Mock Test. Practice ThoughtWorks Written Test Papers with Solutions and take Q4Interview ThoughtWorks Online Test Questions to crack ThoughtWorks written round test. Overall the level of the ThoughtWorks Online Assessment Test is moderate. Only those candidates who clear the written exam will qualify for the next round, so practic all the questions here and take all the free tests before going for final selection process of ThoughtWorks