Note 1

Take Note:

Take a note while surfing.





Note With Ink

Give your Note a Colorful Tag.




Easy to Access

Stay on same information and in Sync wherever you are.

Note 2

Take Note:

Organize your information,It may take Shape.





Think With Ink

Differ your Content by Color.




Easy to Access

Easy to pull up your content from anywhere anytime.

Note 3

Take Note:

Don't Let information to miss,Because it take shape





Note With Ink

Simple an Easy Way to take a note.




Easy to Access

Get the same in next visit.

Logical Reasoning :: Flow Chart

Home > Logical Reasoning > Flow Chart > General Questions

21. In the following problems, you are told something about the result, and you must determine what the contents of the boxes must have been, in order to obtain that result.

In these problems, the expression (number in box X) is abbreviated as (X).

For example: "Is (4) greater than (7)?"
means "Is (number in box 4) greater than (number in box 7)?"

In each of the following problems, no two boxes contain the same number.

Which of the boxes 1, 2, 3 CANNOT POSSIBLY contain the largest number, the smallest number?flowchart-questions-and-answers-Q4Interview-11

View Answer | Discuss in Forum | Workspace | Asked In |

Answer: Option A

Explanation:

Given Box 4 = EITHER C or F
Also, (1) means number in Box 1.
For C,
IS (3) > (1) ? NO --(1)
IS (2) > (1) ? YES --(2)
For F,
IS (3) > (1) ? YES --(3)
IS (2) > (1) ? YES --(4)
IS (3) > (2) ? YES --(5)
ANSWER
Number in BOX 1 cannot be largest(refer (1), (2), (3) and (4)),
And, Number in BOX 3 cannot be smallest(refer (1), (3) and (5)).

Workspace

Tags:

ThoughtWorks 

22. In the following problems, you are told something about the result, and you must determine what the contents of the boxes must have been, in order to obtain that result.

In these problems, the expression (number in box X) is abbreviated as (X).

For example: "Is (4) greater than (7)?"
means "Is (number in box 4) greater than (number in box 7)?"

In each of the following problems, no two boxes contain the same number.

Which of the boxes 1, 2, 3 CANNOT POSSIBLY contain the largest number, the smallest number?flowchart-questions-and-answers-Q4Interview-12

View Answer | Discuss in Forum | Workspace | Asked In |

Answer: Option D

Explanation:

Here is no explanation for this answer

Workspace

Tags:

ThoughtWorks 

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

View Answer | Discuss in Forum | Workspace | Asked In |

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.

Workspace

Tags:

ThoughtWorks 

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

View Answer | Discuss in Forum | Workspace | Asked In |

Answer: Option B

Explanation:

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

Workspace

Tags:

ThoughtWorks 

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

View Answer | Discuss in Forum | Workspace | Asked In |

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.

Workspace

Tags:

ThoughtWorks 

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

View Answer | Discuss in Forum | Workspace | Asked In |

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.

Workspace

Tags:

ThoughtWorks 

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

View Answer | Discuss in Forum | Workspace | Asked In |

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.

Workspace

Tags:

ThoughtWorks 

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

View Answer | Discuss in Forum | Workspace | Asked In |

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.

Workspace

Tags:

ThoughtWorks 

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

View Answer | Discuss in Forum | Workspace | Asked In |

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)

Workspace

Tags:

ThoughtWorks 

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

View Answer | Discuss in Forum | Workspace | Asked In |

Answer: Option C

Explanation:

Here is no explanation for this answer

Workspace

Tags:

ThoughtWorks