CS608 Assignment 2 Solution 2021

vu

CS608 Assignment 2 Solution 2021

CS608 Assignment 2 Solution 2021: After the due date, email assignments will not be accepted under any circumstances (whether in case of load shedding or internet issues etc.). So avoid uploading tasks in the last hour of the day. It is recommended that you upload the solution file before the completion date.

Please read the following instructions carefully before starting the assignment.
Marking principles
It should be noted that your assignment will not be counted if:
Work is submitted after due date.
The submitted work cannot be opened or the file is damaged.
Strict action will be taken if the submitted solution is copied from another student or from the Internet.
You should use the recommended books to help clarify your concepts as handouts are not enough.
You must submit your assignment in .doc or .docx format.
Other formats such as scan images, PDF, zip, rar, ppt and bmp are not accepted.
Topic covered:
* Black box test
* Decision table tests

CS608 Assignment 2 Solution:

The conditions for successful completion of the work are as follows.
A. PNG file format
B. File size is less than 40 KB.
C. Image resolution 300×300
D. File must be selected.
The profile picture is uploaded when all of the above conditions are met.
The following is the 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 300×300 300×300 Not 300×300 Not 300×300 300×300 300×300 Not 300×300 Not 300×300
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 300×300 300×300 Not 300×300 Not 300×300 300×300 300×300 Not 300×300 Not 300×300
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