Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Being a Software Engineer ( Testing ) requires you to be a software detective. You have to use your intuition, judgement, and clues to figure
Being a Software Engineer Testing requires you to be a software detective. You have to use your intuition, judgement, and clues to figure out where the bugs might be hiding. The problem below requires you to be such a detective.
Note: there are very similar questions in this test. The question looks the same, but each time, it has a different bug.
Consider this minionline program. If you enter a list of commaseparated integers, and click Process, it should print the same list in sorted order under Output. It is a little limited in the input formats it can understand, so it will give you an "Invalid Input" message if it is not able to parse the input you entered.
Input a list of comma separated numbers:
Process
Output:
However, there is a bug in this miniprogram. There are certain inputs for which, it gives a wrong answer ie the numbers are not really sorted properly. Can you find an input string for which this miniprogram gives an incorrect answer? Once you've found such an input string, please enter it in the Answer box below, and click submit. Note: do not submit an input that results in Invalid Input. You must submit something that results in a wrong answer.
Answer
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started