CS608 Assignment 2 Solution and Discussion
-
Software Verification and Validation (CS608)
Assignment # 02Total marks = 20
Due Date:
Nov 26, 2019
Please carefully read the following instructions before attempting assignment.
RULES FOR MARKING
It should be clear that your assignment would not get any credit if:
• The assignment is submitted after the due date.
• The submitted assignment does not open or file is corrupt.
• Strict action will be taken if submitted solution is copied from any other student or from the internet.
You should concern the recommended books to clarify your concepts as handouts are not sufficient.
You are supposed to submit your assignment in .doc or docx format.
Any other formats like scan images, PDF, zip, rar, ppt and bmp etc. will not be accepted.
Topic Covered:
• Black Box Testing
• Decision Table Testing
NOTE
No assignment will be accepted after the due date via email in any case (whether it is the case of load shedding or internet malfunctioning etc.). Hence refrain from uploading assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its closing date.
If you people find any mistake or confusion in assignment (Question statement), please consult with your instructor before the deadline. After the deadline no queries will be entertained in this regard.
For any query, feel free to email at [email protected]Q. 1. Suppose we have a dialog box for uploading profile picture on a job portal as shown below:
There are several conditions for a successful uploading of picture. Students are required to perform the following two tasks in the context of Decision Table Testing.- Enlist all the four conditions for successful task completion
- Develop the corresponding Decision Table
“The End”
-
Solution:
- Following are the conditions for successful task completion.
a. PNG file format
b. File size less than 40KB
c. Image resolution 300x300
d. File must be selected
Profile picture will be uploaded provided all of the mentioned conditions are satisfied. - Following is the Decision Table for the given scenario.
Conditions Case 1 Case 2 Case 3 Case 4 Case 5 Case 6 Case 7 Case 8 Format PNG PNG PNG PNG PNG PNG PNG PNG Size Less than 40KB Less than 40KB Less than 40KB Less than 40KB Greater or equal to 40KB Greater or equal to 40KB Greater or equal to 40KB Greater or equal to 40KB Resolution 300x300 300x300 Not 300x300 Not 300x300 300x300 300x300 Not 300x300 Not 300x300 File Selected Yes No Yes No Yes No Yes No Output Picture Uploaded Error Message Error Message Error Message Error Message Error Message Error Message Error Message Conditions Case 9 Case 10 Case 11 Case 12 Case 13 Case 14 Case 15 Case 16 - - - - - - - - - Format Not PNG Not PNG Not PNG Not PNG Not PNG Not PNG Not PNG Not PNG Size Less than 40KB Less than 40KB Less than 40KB Less than 40KB Greater or equal to 40KB Greater or equal to 40KB Greater or equal to 40KB Greater or equal to 40KB Resolution 300x300 300x300 Not 300x300 Not 300x300 300x300 300x300 Not 300x300 Not 300x300 File Selected Yes No Yes No Yes No Yes No Output Error Message Error Message Error Message Error Message Error Message Error Message Error Message Error Message - Following are the conditions for successful task completion.