Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

CS611 Assignment 01 Spring 2021 Solution / Discussion Due Date: 20-05-2021

Question-I                                                                                                             Marks: 5+5+5+5=20

 

  • In your video lectures and handouts few examples of error, defect, fault and bug are discussed. You have to provide one more examples of error, defect, fault and bug other than discussed in the video lectures and handouts. Also provide proper justification that how these examples should be classified as error, defect, fault and bug. Each example and explanation of error, defect, fault and bug carry five marks.

Examples copied from the handouts and video lectures and assignment copied from other students will be awarded zero marks.

Views: 241

Replies to This Discussion

Stay touched with this discussion, Solution idea will be uploaded as soon as possible in replies here before the due date.

#cs611assignment1soluton2021 #cs611assignmentsolutio2021
CS611 Assignment 1 Solution Spring 2021 | CS611 Assignment 1 Solution 2021

CS611 Assignment 1 Spring 2021 Solution

Assignment No. 01
Semester: Spring 2021

CS611 –Software Quality Engineering

Assignment Objective:
• To know about importance of software requirements
To know about Cost vs Quality
Software requirements
Software completeness
Software defects

Uploading instructions:
• Your assignment must be in .doc or .docx format (Any other formats like scan images, PDF, bmp, etc will not be accepted).
• Save your assignment with your ID (e.g. bc020200786.doc).
• No assignment will be accepted through email.

Rules for Marking:

It should be clear that your assignment will not get any credit if:
• The assignment is submitted after due date.
• The submitted assignment does not open or file is corrupted.
• Your assignment is copied from internet, or from any other student
(Strict disciplinary action will be taken in this case).

Question-I

In your video lectures and handouts few examples of error, defect, fault and bug are discussed. You have to provide one more examples of error, defect, fault and bug other than discussed in the video lectures and handouts. Also provide proper justification that how these examples should be classified as error, defect, fault and bug. Each example and explanation of error, defect, fault and bug carry five marks.
Examples copied from the handouts and video lectures and assignment copied from other students will be awarded zero marks.

Answer:
Example of error, defect, fault and bug are follows:
Error:

Suppose we have program which is doing some doing some task which involved repetition as follows:

 <?php  $condition = true;  While($condition) {  //do something here  }

As you can see the loop above will never be terminated which causes an error in program the correct version of this as

 $condition = true;  While($condition) {  //do something here  If($someotherCondition == true) $condition = false;  }

Defect:
As we know that defect is deviation from customer requirements following is an example of how defect occur in a program.
Suppose we have an e-commerce application and have a requirement from client as follows.

Customer Expectations Defect
The Software will allow me to give discount on some products at certain time. The developer has implemented the system as such that it always gives discount on all products all time.

Bug:
Can either be known at the time of shipment of software to customer or unknown.
Suppose we have programed a calculator app which do basic arithmetic operation now some how the developer implemented the app such that it always gives result in integer value and ignore decimal points in the result even for floating point number causing bug in the app.
Fault:
Assume the following piece of code:

<?php $amt = 100; $discount = 20; wrong sign result in fault If($amt > 80) $amt =  $discount * $amt  / 100; due to fault in the formula invalid calculation of discount 

As you can see due to this wrong placement of variables the program won’t provide the desire output.

cs611 assignment 1 solution cs611 assignment 1 spring 2021 solution cs611 assignment solution cs611 assignment spring 2021 solution

RSS

Looking For Something? Search Below

VIP Member Badge & Others

How to Get This Badge at Your Profile DP

------------------------------------

Management: Admins ::: Moderators

Other Awards Badges List Moderators Group

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service