Answered step by step
Verified Expert Solution
Link Copied!

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 3 very similar questions in this test. The question looks the same, but each time, it has a different bug.)
Consider this mini-online program. If you enter a list of comma-separated 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 mini-program. There are certain inputs for which, it gives a wrong answer (i.e. 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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle9i Database Administrator Implementation And Administration

Authors: Carol McCullough-Dieter

1st Edition

0619159006, 978-0619159009

More Books

Students also viewed these Databases questions