Question: TUTORIAL 3 Black-Box Testing - Decision Table 1. For each of the following question, you need to: i. Construct a decision table. ii. Identify how

 TUTORIAL 3 Black-Box Testing - Decision Table 1. For each of

the following question, you need to: i. Construct a decision table. ii.

TUTORIAL 3 Black-Box Testing - Decision Table 1. For each of the following question, you need to: i. Construct a decision table. ii. Identify how many test cases for 100% test coverage. ii. Write all possible test cases. Question 1 Suppose we have a system that checks if a candidate for a driving license fulfills all requirements to receive the license. The requirement specification describes the above mentioned business rules as follows: The operator enters the following information to the system: The result of the theory exam (an integer value in the range 0-100 points). The result of the practice exam (an integer value greater or equal to zero, representing the number of errors done by the candidate during the practice exam). A candidate receives the driving license, if she gained at least 85 marks (out of 100) from the theory exam and if she made at most 2 errors during the practice exam. In case of failing on one of these criteria, the candidate is eligible to retake the exam. In case of failing in both parts, the candidate is required to retake the driving lessons. Question 2 You are required to design the testing for specification of purchasing assorted chips in Sekudap online store using ShopLala shopping platform. Purchasing function will calculates the total price of the order that user add in his/her shopping cart. The function should take the weight of the chips pack (available in 500gm and 1kg) and the required quantity of pack as input, and output is the total price of the order. The basic cost for every pack of 500g is RM15 and a pack of 1kg is RM25. The maximum order for one parcel of delivery is 50kg. Purchasing over than that must be made in separate order. Discounts are available for bulk orders. If the user order between 10kg and 29kg, they usually qualify for a 10% discount, while if they order 30kg or more, they are qualify for a 20% discount. Additional 1% discount will be given if the user using a valid coupon code. If the user using e-wallet to make a payment, the user can get free shipping fee. Otherwise, the shipping fee will be issued for RM5 for the total weight below 5kg and RM20 for more than that. Discount amounts are added to the total price, if applicable. A test input is a pair (weight, quantity of pack). If a given input's value for weight is invalid, the system will gives a warning message "weight is invalid. If the total weight for quantity of packs is more than 50kg, the system will gives a warning message "Total purchase is more than 50kg

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!