how to write test case for triangle and sqaure?

Answers were Sorted based on User's Feedback



how to write test case for triangle and sqaure?..

Answer / lakshmi

For Triangle:

1. Check if there are 3 sides
2. Check for the angles and their sum [should be
180 degrees]
3. Check if the triangle is equilateral or
isosceles or
Scalene
4. Check if the sides are coinciding or not
5. Check if the axioms SAS, SSS are followed.
6. Check if the user is able to draw the 3 circles
[Interior, exterior, circumcirlce]

For Square:

1. Check if there are 4 sides
2. Check if the four angles should be in 90 degrees.
3. Check if the four sides are in equal length or not.
4. Check if the sides are coinciding or not.

Is This Answer Correct ?    13 Yes 0 No

how to write test case for triangle and sqaure?..

Answer / lakshmi

For Triangle:

1. Check if there are 3 sides
2. Check for the angles and their sum [should be
180 degrees]
3. Check if the triangle is equilateral or
isosceles or
Scalene
4. Check if the sides are coinciding or not
5. Check if the axioms SAS, SSS are followed.
6. Check if the user is able to draw the 3 circles
[Interior, exterior, circumcirlce]

For Square:

1. Check if there are 4 sides
2. Check if the four angles should be in 90 degrees.
3. Check if the four sides are in equal length or not.
4. Check if the sides are coinciding or not.

Is This Answer Correct ?    6 Yes 0 No

how to write test case for triangle and sqaure?..

Answer / vinoth kumar.k.r

test case for triangle can be write in circle & sqaure as
triangle

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Manual Testing Interview Questions

How can we do security testing while testing a project

4 Answers   Oracle,


what is your test strategy?

2 Answers   Zensar,


qtp9.2 and qtp10.0 difference

0 Answers  


I attended ADOBE,bangalore interview in aug 2009.first round written test they ask questions 1)Give 5 reasons why a build can be released with bug 2)Write a bug report for a word processor program which crashes when the contents of 89th column is been sorted in assending order. 3)write test 10 cases for program which has a table with 2 fields of NAME od char type and CLASS of INT type.NAME fields is truncated after 26 charaters and CLASS takes value between 1 to 9 both included. There are 3 possible opearations program can perform a)When a new student joins the class the program adds a new field b)When student leaves the class the field get deleted c)when student gets promoted then program incremts the class by 1 Write 5 test cases for the scenario. 4)write 10 test cases for a program that takes date in dd/mm/yyyy format and prints it out with a increment of 1. for dates (dd) can be given in the range 1<=dd>=30 for months (mm) can be given in the range 1<=mm>=12 for years(yyyy) can be given in the range 1600<=yyyy>=9999 5)Give 5 bugs that could cause a program to crash when it printed the 999999 th pages 1000001th line. Some objective question were there but they were easy. 1st LEVEL WRITTEN TEST FOR QA: 1. 15 min Logical Ability test: Simple syllogism based questions, sequence related questions, etc 2. 30 min Quantitative Aptitude test: Simple Arithmetic, angles, geometry, profit/loss, number system There will be 15 questions for match the column Mark A if column A is GREATER than column B Mark B if column A is LESS than column B Mark C if column A is = column B Mark D if DATA IS INSUFFICIENT There are very simple typical baron based There would be 3 questions on triangles all three were from RS Aggarwal. 17. there was one set of questions on the DI question on 20 -25 were on this graph It was about the total mass of human body is 70,000 gms Muscles 30000 Bones 10000 Blood 5000 Liver There were two pie charts Which tell the percentage of water in the food. And the second one tells the which parts ,,something like that Question 1. what percentage of total mass does liver has Ans 2.4% What is the ratio of bones to total mass All the questions are simple .. 3. 45 min Testing concept test: 20 objective multiple choice qustions like binary form of numbers, virtual memory, lossy compression, while loop, if-then-else, error codes. 1. Winzip is a a. lossy compression b. lossless Compression c.text d image 2. output of 11000100 minus 2 3. Memory leakage is because of a.variable not decraled b. variable not free.. like this 4 options were given 4. Virtual memory concept is related to a. memory leagkage {mospagebreak} 5.Reggretion testing is defined as a. testing the whole application b.testing the different modules in the application 6. If the time is very limited for the testing then what would u test in the application. a. run all the tests b.look for the most used featues in the application c.go to the test plan and run the test based on the priority I would suggest to go thru all the definition like what is regretion testing .what is unit smoke.etc. 1 Test Case Writing questions: 10 test cases for entering 3 values representing sides of a triangle and the program giving output as scalene, isosceles or eqilauteral (10 Marks) 1 Output of a calculator and finding the error in the output, write the defect log for the bug (5 Marks) 1 Ques on weather Dev should do the testing or not. Give 3 reason on favour and 2 against it. (5 Marks) 1 Question diff between priority of a bug and severity of a bug. Give example of one case where priority is high but severity is low and one case where severity is high bur priority is low. 1 Question on a program that calculates P=R/I where R, I are integer inputs and P a floating point output. Write 10 test cases for this - 5 Marks. 2nd round: 1.write a testcase for login page,mobile phone. 2.write a program for fibonacci series. 3.puzzles (-%-+-+--=-%-+--) fill the dashes with nos from 1 to 9.left hand side only odd nos. right hand side only even nos. the nos should not repeat. 4.what is sanity testing,regression testing,explian about ur project etc.. 3re round: 1.explain about ur project.they will ask questions from projects like what is the web server used in ur project,what are all the clinents ur company will have?team size etc... 2. one puzzle. i attended upto this level only...still more rounds will be there....if u goto adobe interview be clear in testing concepts,basic programs and more puzzles.

0 Answers  


Genarally what we have to tell. If anybody asks in the interview. what are challenges u faced in the Project and what are the Risks u faced in the Project, Anybody can suggest it ......Thanks in Advance....

0 Answers   Fidelity, HCL,






What is application server and what is web server?

1 Answers   AZTEC,


What if an organization is growing so fast that fixed QA processes are impossible?

1 Answers   Crea,


hi frinds ,,what is the difference between QA & QC , i need only real time definations ,pls pls

7 Answers   Synergy,


diff b/w alpha & beta testing? who will do this with examples? can u pls help in this topics

3 Answers  


difference between QA and QC?

3 Answers  


What will be the testcase for a uniquely generated number in the application?? i mean to say is, how will i conform the application is generating a unique value.... please do answer...

0 Answers  


what is the use case and what is the test case?

6 Answers   CTS,


Categories