Professional Documents
Culture Documents
Black Techniques+ +exercise Students
Black Techniques+ +exercise Students
TABLE OF CONTENTS
1 Boundary Analysis Technique........................................................................................................................2 1.1 Exercise 1:................................................................................................................................................2 1.2 Exercise 1:................................................................................................................................................2 2 Equivalent Class Partitioning Technique........................................................................................................3 2.1 Exercise 1: ...............................................................................................................................................3 2.2 Exercise 2: ...............................................................................................................................................3 3 Pair-wise Technique........................................................................................................................................3 3.1 Exercise 1: ...............................................................................................................................................3 4 State Transitioning Technique........................................................................................................................4 4.1 Exercise 1: ...............................................................................................................................................4 5 Decision Table Technique..............................................................................................................................5 5.1 Exerise1: ..................................................................................................................................................5 5.2 Exerise2....................................................................................................................................................6
Date: 25-Aug-2010
Answer: a. 99, 100, 450, 999, 1000 b.100, 101, 450, 998, 999 c.99, 100, 101, 450, 998, 999, 1000
1.2 Exercise 1:
Apply Boundary Analysis technique to develop test cases for the following fields: ZIP Code - five numeric digits Last Name - one through fifteen characters (including alphabetic characters, periods, hyphens, apostrophes, spaces, and numbers) User ID - eight characters at least two of which are not alphabetic (numeric, special, nonprinting) Course IDthree alpha characters representing the department followed by a six-digit integer which is the unique course identification number. The possible departments are: o o o o o o o o PHY - Physics o EGR - Engineering o ENG - English o LAN - Foreign languages o CHM - Chemistry o MAT - Mathematics o PED - Physical education o SOC - Sociology
Date: 25-Aug-2010
2.2 Exercise 2:
Apply Equivalent Class Partitioning technique to develop test cases for the following fields: State - the standard Post Office two-character abbreviation for the states, districts, territories, etc. of the United States Last Name - one through fifteen characters (including alphabetic characters, periods, hyphens, apostrophes, spaces, and numbers) User ID - eight characters at least two of which are not alphabetic (numeric, special) Student ID - eight characters. The first two represent the student's home campus while the last six are a unique six-digit number. Valid home campus abbreviations are: AN, Annandale; LC, Las Cruces; RW, Riverside West; SM, San Mateo; TA, Talbot; WE, Weber; and WN, Wenatchee
Pair-wise Technique
3.1 Exercise 1:
A bank has created a new data processing system that is ready for testing. This bank has different kinds of customersconsumers, businesses, and non-profits; different kinds of accountschecking, savings; they operate in different states, each with different regulationsCalifornia, Nevada and Utah.
Date: 25-Aug-2010
1 2
3.1
Date: 25-Aug-2010
A B
Date: 25-Aug-2010
Answer: a. Test1, Test4, Test5, Test6. b. Test 1, Test3, Test4, Test6 c. Test 2, Test3, Test4, Test6
5.2 Exerise2
Attending Stateless University is an expensive proposition. After all, they receive no state funding. Like many other students, those planning on attending apply for student aid using FAFSA, the Free Application for Federal Student Aid. The following instructions were taken from that form. Examine them and create a decision table that represents the FAFSA rules. Step Four: Who is considered a parent in this step? Read these notes to determine who is considered a parent for purposes of this form. Answer all questions in Step Four about them, even if you do not live with them. Are you an orphan, or are you or were you (until age 18) a ward/dependent of the court? If Yes, skip Step Four. If your parents are both living and married to each other, answer the questions about them. If your parent is widowed or single, answer the questions about that parent. If your widowed parent is remarried as of today, answer the questions about that parent and the person whom your parent married (your stepparent). If your parents are divorced or separated, answer the questions about the parent you lived with more during the past 12 months. (If you did not live with one parent more than the other, give answers about the parent who provided more financial support during the last 12 months or during the most recent year that you actually received support from a parent.) If this parent is remarried as of today, answer the questions on the rest of this form about that parent and the person whom your parent married (your stepparent).
Date: 25-Aug-2010