pliz anyone give suggest me the test cases for shorting
numbers in asc/desc order.

Answer Posted / sudha sarali

Pre-requisite:
1. you should have some random numbers say n

Testcase
1. search for a number which is smaller (from n numbers)
2. Move the selected number to first position(say i)
3. search for a number which is smaller in n-1 numbers
4. Place it in (i+1)th position
5. Repeat step 3 and 4 till all the numbers are done

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Please guide me for Add new user test cases

1112


plz.. tell me hw to write the Use Case for Online Purchase... just tod. itself i need...

1914


Explain the state testing?

641


What are the test cases for mouse?

862


Explain the branch coverage testing?

710






What is transaction testing?

741


Explain the static testing?

708


how many test cases do u need to ship a product?

1188


Roads concatenation Problem Consider we have some GIS (Geo Information System) operating over some road network. Each road represented as array of two-dimensional geographical points. Road network is a set of roads. System has function called Concatenate(). This function takes raw road network and should return optimized road network. Optimization lies in concatenating roads with matching start or end points, i.e. if road AB end point matches road BC start point, then optimized network should contain concatenated road AC. Optimized network shouldn’t contain two roads which can be concatenated. Your task is to suggest set of test cases for Concatenate() function in order to make sure it works correctly. public interface IPoint { double Lat { get; } double Lon { get; } } public Road : List { } public RoadNetwork : List { } public RoadNetwork Concatenate(RoadNetwork roads);

1944


If userA send a string through whatsapp but userB is not getting properly the string, Then what may be problem? Can someone write testcase of this. Both whtsapp application is same version and OS is also same android version.

1576


What is explain security testing?

722


Explain the smoke testing?

656


how to prepare a test case for online restaurant table reservation system. plz give an answer ASAP, email at suja_rvndrn@yahoo.co.in

5178


Explain the format of a requirement traceability

639


How to write test case for this scenario. The Contact Information screen shall be displayed to the user during Case Update

1543