SWT301 EXAM QUESTIONS AND
ANSWERS
Expected results are:
A. only important in system testing
B. only used in component testing
C. most useful when specified in advance
D. derived from the code - Correct Answers -C. most useful when specified in advance
Consider a program that computes the factorial of a number (n). From the specifications
you know that:
- If n < 0, a message "Value out of range" must be issued.
- If 0 =< n < 20, the program returns the exact factorial number
- If 20 =< n =< 200 the factorial number must be approximated and visualized in floating
point notation
- If n > 200 a message "Value out of range" must be issued
Which of the following equivalence partitioning is correct?
A. (n < 0), (0 =< n < 20), (n >= 20)
B. (n< 0), (0 =< n < 200), (n > 200)
C. (n < 0), (0 =< n < 20), (20 =< n =< 200), (n > 200)
D. (n =< 0), (n < 20), (n >= 20), (n > 200) - Correct Answers -C. (n < 0), (0 =< n < 20),
(20 =< n =< 200), (n > 200)
A test manager wants to use the resources available for the automated testing of a web
application. The best choice is
A. Test automater, web specialist, DBA, test lead
B. Tester, test automater, web specialist, DBA
C. Tester, test lead, test automater, DBA
D. Tester, web specialist, test lead, test automater - Correct Answers -B. Tester, test
automater, web specialist, DBA
You are testing a scale system that determines shipping rates for a regional web-based
auto parts distributor. You want to group your test conditions to minimize the
testing.Identify how many equivalence classes are necessary for the following range.
Weights are rounded to the nearest pound.
Weight (in lbs.) 1 to 10 | 11 to 25 | 26 to 50 | 51+
Shipping Cost $5.00 | $7.50 | $12.00 | $17.00
A. 4
B. 5
C. 6
D. 8 - Correct Answers -5
,You have been given the following requirement:
A user must log in to the system with a valid username and password. If they fail to
enter the correct combination three times, they will receive an error and will have to wait
10 minutes before trying again. The test terminates when the user successfully logs in.
How many test cases are needed to provide 100% state transition coverage?
A. 1
B. 2
C. 4
D. 5 - Correct Answers -2
You have received the following description section in a defect report:
The report executed per the attached steps, but the data was incorrect. For example,
the information in column 1 was wrong. See the attached screenshot. This report is
critical to the users and they will be unable to do their jobs without this information.
What is the biggest problem with this defect report?
A. The developer won't know how important the problem is
B. The developer won't know how to repeat the test
C. The developer won't be able to see what the tester is saying is wrong
D. The developer won't know what the tester expected to see - Correct Answers -D. The
developer won't know what the tester expected to see
You are a tester for testing a large system. The system data model is very large with
many attributes and there are a lot of inter dependencies with in the fields. What steps
would you use to test the system and also what are the efforts of the test you have
taken on the test plan
A. Improve super vision, more reviews of artifacts or program means stage containment
of the defects
B. Extend the test plan so that you can test all the inter dependencies
C. Divide the large system in to small modules and test the functionality
D. Test the interdependencies first, after that check the system as a whole - Correct
Answers -A. Improve super vision, more reviews of artifacts or program means stage
containment of the defects
Test managers should not:
A. report on deviations from the project plan
B. sign the system off for release
C. re-allocate resource to meet original plans
D. raise incidents on faults that they have found - Correct Answers -C. re-allocate
resource to meet original plans
You are tasked with testing the Order Wizard of an online shopping website. The flow
that customer's takes as they select cloths, provide shipment information and pay can
be described by a state transition diagram.
Which of the following describes transitions that may take place during execution of a
valid state-transition test?
,A. Select Item -> Move to Shopping Cart -> Move to shipping -> Move to payment ->
Move to select ltems
B. Select ltem -> Move to Shopping Cart -> Move to shipping -> Move to select Item
C. Select Item -> Move to Shopping Cart -> Move to shipping -> Move to payment ->
Move to Shipping
D. Move to Shopping Cart -> Move to shipping -> Move to Shopping Cart - Correct
Answers -A. Select Item -> Move to Shopping Cart -> Move to shipping -> Move to
payment -> Move to select ltems
You have been testing software that will be used to track credit card purchases. You
have found a defect that causes the system to crash, but only if a person has made and
voided 10 purchases in a row. What is the proper priority and severity rating for this
defect?
A. Priority high, severity high
B. Priority high, severity low
C. Priority low, severity low
D. Priority low, severity high - Correct Answers -D. Priority low, severity high
You are participating in a role-based review session. Your assigned role is that of a
senior citizen. The product is an online banking application that is targeted for use on
smart phones. You are currently reviewing the user interface of the product with a
prototype that works on iPhones. Which of the following is an area that you should
review?
A. The speed of response from the banking backend
B. The attractiveness of the application
C. The size and clarity of the instruction text
D. The reliability of the application when the connection is dropped - Correct Answers -
C. The size and clarity of the instruction text
You are preparing for a review of a mobile application that will allow users to transfer
money between bank accounts from different banks. Security is a concern with this
application and the previous version of this application had numerous security
vulnerabilities (some of which were found by hackers). It is very important that this
doesn't happen again.
Given this information, what type of review technique would be most appropriate?
A. Ad hoc
B. Role-based
C. Checklist-based
D. Scenario - Correct Answers -C. Checklist-based
What is the test basis?
A. The point during software development when testing should start
B. The body of knowledge used for test analysis and design
C. The source to determine the actual results from a set of tests
D. The method used to systematically devise test conditions - Correct Answers -B. The
body of knowledge used for test analysis and design
, When the tester verifies the test basis while designing tests early in the life cycle, which
common test objective is being achieved?
A. Gaining confidence
B. Finding defects
C. Preventing defects
D. Providing information for decision making - Correct Answers -C. Preventing defects
When following the fundamental test process, when should the test control activity take
place?
A. During the planning activities
B. During the implementation and execution activities
C. During the monitoring activities
D. During all the activities - Correct Answers -D. During all the activities
Which of the following is a correct statement?
A. A developer makes a mistake which causes a defect that may be seen as a failure
during dynamic testing
B. A developer makes an error which results in a failure that may be seen as a fault
when the software is executed
C. A developer has introduced a failure which results in a defect that may be seen as a
mistake during dynamic testing
D. A developer makes a mistake which causes a bug that may be seen as a defect
when the software is executed - Correct Answers -A. A developer makes a mistake
which causes a defect that may be seen as a failure during dynamic testing
Which of the following is an example of debugging?
A. A tester finds a defect and reports it
B. A tester detests a fix from the developer and finds a regression
C. A developer finds and fixes a defect
D. A developer performs unit testing - Correct Answers -C. A developer finds and fixes a
defect
Which of the following is a true statement about exhaustive testing?
A. It is a form of stress testing
B. It is not feasible except in the case of trivial software
C. It is commonly done with test automation
D. It is normally the responsibility of the developer during unit testing - Correct Answers
-B. It is not feasible except in the case of trivial software
A new retail product was released to production by your company. Shortly after the
release it was apparent that there were numerous problems with the point of sale
application. This resulted in a number of customer complaints and negative postings on
social media encouraging people to take their business to your competitor. You have
investigated the problems and have discovered that the production point of sale
equipment is a later model than the model used in testing. The software functions
ANSWERS
Expected results are:
A. only important in system testing
B. only used in component testing
C. most useful when specified in advance
D. derived from the code - Correct Answers -C. most useful when specified in advance
Consider a program that computes the factorial of a number (n). From the specifications
you know that:
- If n < 0, a message "Value out of range" must be issued.
- If 0 =< n < 20, the program returns the exact factorial number
- If 20 =< n =< 200 the factorial number must be approximated and visualized in floating
point notation
- If n > 200 a message "Value out of range" must be issued
Which of the following equivalence partitioning is correct?
A. (n < 0), (0 =< n < 20), (n >= 20)
B. (n< 0), (0 =< n < 200), (n > 200)
C. (n < 0), (0 =< n < 20), (20 =< n =< 200), (n > 200)
D. (n =< 0), (n < 20), (n >= 20), (n > 200) - Correct Answers -C. (n < 0), (0 =< n < 20),
(20 =< n =< 200), (n > 200)
A test manager wants to use the resources available for the automated testing of a web
application. The best choice is
A. Test automater, web specialist, DBA, test lead
B. Tester, test automater, web specialist, DBA
C. Tester, test lead, test automater, DBA
D. Tester, web specialist, test lead, test automater - Correct Answers -B. Tester, test
automater, web specialist, DBA
You are testing a scale system that determines shipping rates for a regional web-based
auto parts distributor. You want to group your test conditions to minimize the
testing.Identify how many equivalence classes are necessary for the following range.
Weights are rounded to the nearest pound.
Weight (in lbs.) 1 to 10 | 11 to 25 | 26 to 50 | 51+
Shipping Cost $5.00 | $7.50 | $12.00 | $17.00
A. 4
B. 5
C. 6
D. 8 - Correct Answers -5
,You have been given the following requirement:
A user must log in to the system with a valid username and password. If they fail to
enter the correct combination three times, they will receive an error and will have to wait
10 minutes before trying again. The test terminates when the user successfully logs in.
How many test cases are needed to provide 100% state transition coverage?
A. 1
B. 2
C. 4
D. 5 - Correct Answers -2
You have received the following description section in a defect report:
The report executed per the attached steps, but the data was incorrect. For example,
the information in column 1 was wrong. See the attached screenshot. This report is
critical to the users and they will be unable to do their jobs without this information.
What is the biggest problem with this defect report?
A. The developer won't know how important the problem is
B. The developer won't know how to repeat the test
C. The developer won't be able to see what the tester is saying is wrong
D. The developer won't know what the tester expected to see - Correct Answers -D. The
developer won't know what the tester expected to see
You are a tester for testing a large system. The system data model is very large with
many attributes and there are a lot of inter dependencies with in the fields. What steps
would you use to test the system and also what are the efforts of the test you have
taken on the test plan
A. Improve super vision, more reviews of artifacts or program means stage containment
of the defects
B. Extend the test plan so that you can test all the inter dependencies
C. Divide the large system in to small modules and test the functionality
D. Test the interdependencies first, after that check the system as a whole - Correct
Answers -A. Improve super vision, more reviews of artifacts or program means stage
containment of the defects
Test managers should not:
A. report on deviations from the project plan
B. sign the system off for release
C. re-allocate resource to meet original plans
D. raise incidents on faults that they have found - Correct Answers -C. re-allocate
resource to meet original plans
You are tasked with testing the Order Wizard of an online shopping website. The flow
that customer's takes as they select cloths, provide shipment information and pay can
be described by a state transition diagram.
Which of the following describes transitions that may take place during execution of a
valid state-transition test?
,A. Select Item -> Move to Shopping Cart -> Move to shipping -> Move to payment ->
Move to select ltems
B. Select ltem -> Move to Shopping Cart -> Move to shipping -> Move to select Item
C. Select Item -> Move to Shopping Cart -> Move to shipping -> Move to payment ->
Move to Shipping
D. Move to Shopping Cart -> Move to shipping -> Move to Shopping Cart - Correct
Answers -A. Select Item -> Move to Shopping Cart -> Move to shipping -> Move to
payment -> Move to select ltems
You have been testing software that will be used to track credit card purchases. You
have found a defect that causes the system to crash, but only if a person has made and
voided 10 purchases in a row. What is the proper priority and severity rating for this
defect?
A. Priority high, severity high
B. Priority high, severity low
C. Priority low, severity low
D. Priority low, severity high - Correct Answers -D. Priority low, severity high
You are participating in a role-based review session. Your assigned role is that of a
senior citizen. The product is an online banking application that is targeted for use on
smart phones. You are currently reviewing the user interface of the product with a
prototype that works on iPhones. Which of the following is an area that you should
review?
A. The speed of response from the banking backend
B. The attractiveness of the application
C. The size and clarity of the instruction text
D. The reliability of the application when the connection is dropped - Correct Answers -
C. The size and clarity of the instruction text
You are preparing for a review of a mobile application that will allow users to transfer
money between bank accounts from different banks. Security is a concern with this
application and the previous version of this application had numerous security
vulnerabilities (some of which were found by hackers). It is very important that this
doesn't happen again.
Given this information, what type of review technique would be most appropriate?
A. Ad hoc
B. Role-based
C. Checklist-based
D. Scenario - Correct Answers -C. Checklist-based
What is the test basis?
A. The point during software development when testing should start
B. The body of knowledge used for test analysis and design
C. The source to determine the actual results from a set of tests
D. The method used to systematically devise test conditions - Correct Answers -B. The
body of knowledge used for test analysis and design
, When the tester verifies the test basis while designing tests early in the life cycle, which
common test objective is being achieved?
A. Gaining confidence
B. Finding defects
C. Preventing defects
D. Providing information for decision making - Correct Answers -C. Preventing defects
When following the fundamental test process, when should the test control activity take
place?
A. During the planning activities
B. During the implementation and execution activities
C. During the monitoring activities
D. During all the activities - Correct Answers -D. During all the activities
Which of the following is a correct statement?
A. A developer makes a mistake which causes a defect that may be seen as a failure
during dynamic testing
B. A developer makes an error which results in a failure that may be seen as a fault
when the software is executed
C. A developer has introduced a failure which results in a defect that may be seen as a
mistake during dynamic testing
D. A developer makes a mistake which causes a bug that may be seen as a defect
when the software is executed - Correct Answers -A. A developer makes a mistake
which causes a defect that may be seen as a failure during dynamic testing
Which of the following is an example of debugging?
A. A tester finds a defect and reports it
B. A tester detests a fix from the developer and finds a regression
C. A developer finds and fixes a defect
D. A developer performs unit testing - Correct Answers -C. A developer finds and fixes a
defect
Which of the following is a true statement about exhaustive testing?
A. It is a form of stress testing
B. It is not feasible except in the case of trivial software
C. It is commonly done with test automation
D. It is normally the responsibility of the developer during unit testing - Correct Answers
-B. It is not feasible except in the case of trivial software
A new retail product was released to production by your company. Shortly after the
release it was apparent that there were numerous problems with the point of sale
application. This resulted in a number of customer complaints and negative postings on
social media encouraging people to take their business to your competitor. You have
investigated the problems and have discovered that the production point of sale
equipment is a later model than the model used in testing. The software functions