Microsoft Interview Question
Software Engineer in Tests1. Give -ve or real values for c and see if error message is generated or what happens
2. Give value for which x and y will not draw on screen
3. Gives values for x and y and check if it lies as expected on screen
4. Give color c value and see if it is what we expect
5. Run twice with color change and see if color changes.
Boundary Conditions: Check for boundary Values of x and y
- Nachiketha October 08, 2008Exceptional Cases: If any of x, y, c are invalid
Portability: Can this be used to draw Sqaure / Rectangle or other geometry figures
Load Testing: Repeatedly call the function drawpoint and see how it responds
Performance Testing: Whats the speed of drawpoint for various values of x, y and c
Security and Reliability - If this code is included in the other programs, how does it respond ..