GeekInterview.com
Series: Subject: Topic:
Question: 86 of 306

What are the most important test case for the circle?

Asked by: sdkhadekar | Member Since Oct-2007 | Asked on: Nov 2nd, 2007

View all questions by sdkhadekar

Editorial / Best Answer

Answered by: kurtz182

View all questions by kurtz182   View all answers by kurtz182

Member Since Nov-2009 | Answered On : Dec 23rd, 2009

TESTING A CIRCLE

Using simple words that do not imply knowledge of mathematical jargon, I would write these three test cases:

Precondition:
There is a figure drawn on a piece of paper.

TC1) It is a closed figure.
TC2) It has a center point.
TC3) The distance from center point to closest point on figure is equal in all directions.

Showing Answers 1 - 9 of 9 Answers
Radhikapragada

Answered On : Nov 30th, 2007

View all answers by Radhikapragada

The start point should be the end point.(X1,Y1)=(X2,Y2).

  
Login to rate this answer.
gettoknow

Answered On : Nov 30th, 2007

View all answers by gettoknow

Verify if the shape is indeed a circleby checking the radius (shd be half of the diameter)by checking the diameter(diameter shd be twice that of the radius).

  
Login to rate this answer.
paulyog

Answered On : Dec 19th, 2007

View all answers by paulyog

Indeed 1) Starting point should be the end point, but2) Verifying at the regular intervals that radius is same. If suppose radius (r) = 5  at 0 deg of angle then r = 5 at 45, 90, 135,180, 270 and 360 deg of angle.

Yes  1 User has rated as useful.
  
Login to rate this answer.
jobs4mvr

Answered On : Jan 3rd, 2008

View all answers by jobs4mvr

(x1,y1)=(x2,y2)? Very simplistic and not conclusive. This could imply any closed figure, not necessarily a circle.

  
Login to rate this answer.
jobs4mvr

Answered On : Jan 3rd, 2008

View all answers by jobs4mvr

X1,y1)=(x2,y2)? Very simplistic and not conclusive. This could imply any closed figure, not necessarily a circle.

  
Login to rate this answer.
saravanan123

Answered On : Aug 13th, 2009

View all answers by saravanan123

1.Check it cannot be straight2.Check it can be curve only3.Check the starting point be the end point too4.Check whether it is measured from the centre to any part it can be equal

Yes  1 User has rated as useful.
  
Login to rate this answer.

TESTING A CIRCLEUsing simple words that do not imply knowledge of mathematical jargon, I would write these three test cases:Precondition:There is a figure drawn on a piece of paper.TC1) It is a closed figure.TC2) It has a center point.TC3) The distance from center point to closest point on figure is equal in all directions.

Yes  1 User has rated as useful.
  
Login to rate this answer.
ssaradha85

Answered On : Jan 24th, 2010

View all answers by ssaradha85

1 ) Check whether you have a compass or not. 2 ) Check whether the compass is tight or not.3 ) Check whether you have inserted a pencil to it. 4 ) Check whether the inserted pencil has a sharp tip5 ) Chk whether you can draw a recoginzed shape of the circle. 6 ) Check whether it as a midpoint. 7 ) Check whether you are able to measure the radius of the circle from the kid point. 8 ) Check whether you are able to get the diameter of the circle . where dia= twice the radius. 

Yes  1 User has rated as useful.
  
Login to rate this answer.
sujata_Vxt

Answered On : Jun 20th, 2011

View all answers by sujata_Vxt

1. It should pass through 3 distinct points lying in the same plane.2. All lines joining 2 opposite points on this object should pass through a single point and have same dimension(length).

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.