
-
Re: CS608 GDB 1 Solution and Discussion
Total Marks 5
Starting Date Monday, February 15, 2021
Closing Date Tuesday, February 16, 2021
Status Open
Question Title Graded Discussion (GDB)
Question Description
Regression Testing is done to ensure that a code change in the software does not impact the existing functionality of the product. However the size of the test-suite grows when new test cases are added to the test suite which increases the cost of regression testing. Regression testing requires running a large program on a large number of test cases which means it can be expensive in both human and machine time.Suggest in your own words how can we deal with this situation. Your answer should be based on valid reasoning (maximum 5 to 6 lines).
Irrelevant and lengthy answers will result in negative marking. Copy paste answers from the Internet or other students will get zero marks.
-
Suppose there is a popular software company ABC that has prepared a project of billing system. To maintain its standard, testing needs to be applied on the project by the company. There are different types of testing such as white box testing, black box testing, grey box testing, functional testing, and unit testing. Different testing techniques are applied according to different suitability. If only white box testing is applied on the system, do you think it is enough for the billing system? Justify your answer with valid points considering the parameters (time, cost, quality, accuracy).
Note: Answer should be between 4-8 lines.
-
Re: CS608 Assignment 1 Solution and Discussion
Solution:
Software Verification and Validation (CS608)
Assignment # 01
Total marks = 20Due Date:
Jun 01, 2020
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.Topics Covered:
• Quality
• Testing phases
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]Question No. 1. (Marks 16.5)
Sr. No. Test scenario Testing technique 1 Testing performed on every module of the software Unit testing 2 To test the interfaces between components considering particular APIs used in that interface Integration testing 3 To test the system completely against specified requirements System testing 4 Stubs used as lower modules in testing with the modules already developed Top-down integration testing 5 Test the system for acceptability Acceptance testing 6 Product tested by the users Beta testing 7 To test the lower modules and testing lower modules with upper modules that rely upon them To test the lower modules and group of lower and upper modules that rely upon each other Bottom-up integration testing 8 To ensure that each class of the software is working properly Unit testing 9 Test all the modules of the system completely System testing 10 Check all bugs before the release of the product for everyday users Alpha testing 11 Test the business requirements in accordance with the system Acceptance testing
In the following table, scenarios are given for different testing techniques. Fill the table with the names of relevant testing technique.Question No. 2. (Marks 3.5)
Write a short note on the quality of the software and the possible ways for the improvement of software quality.
This question will be rewarded on the basis of quality of research and the writing (contents, grammar, spelling, formatting).
Software quality
Software quality is defined as the attributes of software fulfilled while designing the software that is maintaining its cost, user requirements/expectations, proper working and functionality of software, time to build a product, to make a bug free software.
Attributes of software quality
The quality of software depends on various attributes:
Design
Functionality
Performance
Consistency
Maintainability
Cost
Improvement of software quality
To improve software quality, various processes needs to be maintained:
• There should be proper planning for the project development to achieve good quality.
• Inspections and reviews must be conducted while the product is being developed.
• Defects in the product must be identified and removed before software deployment.
• Fixing the defects will lead to low budget.“The End”
-
Re: CS608 Assignment 2 Solution and Discussion
Software Verification and Validation (CS608)
Assignment # 02
Total marks = 20
Due Date: Jun 12, 2020
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.
Topics Covered:
· Control flow graph
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]
Question No. 1. (Marks 15)
Draw the control flow graph for the following code.
int main(){ int n=0; switch(n){ case 0: printf("Value is 0"); break, case 1: printf("Value is 1"); break; case 2: printf("Value is 2"); break; default: printf("Invalid value"); break; } int a,b,number; while(number==0){ number=number++; } return number; if(number>0){ if(a>70){ number=a/b; } else{ number=a*b; } } else{ if(a>70 && b<0){ number=a-b; } else{ number=b-a; } } }Question No. 2. (Marks 5)
Write complete path for the graph developed in question 1.
-
Software Verification and Validation (CS608)
Assignment # 03Total marks = 20
Due Date:
Jan 15, 2020
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:
• Use Case 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 biometric machine for Attendance Management System as shown below,
Enroll employee in the system Scan fingerprint Mark attendance
b4142e53-7c5d-4791-b72a-8085ba9f71c5-image.png
There are a few conditions for enrollment and marking of attendance. Students are required to perform Use Case Testing for the following tasks.“The End”
-
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:
Enlist all the four conditions for successful task completion Develop the corresponding Decision Table
d3e987e6-a3ec-4d91-8e13-cccada9600ff-image.png
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.“The End”
-
Software Verification and Validation (CS608)
Assignment # 01Total marks = 20
Due Date:
Nov 14, 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:
• Software Quality assurance
• Software Quality control
• Software verification and validation
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, 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. The government of Pakistan has taken an initiative to launch “Online IMMIGRATION and PASSPORT Services” throughout the country. There are a bunch of activities performed during development of the project. Students are required to identify the following activities to be either Static Verification or Dynamic Validation. (15)
S.No. Activities Performed Static V. OR Dynamic V. 1 Business requirements analysis (Candidates CNIC No, family tree) 2 Analyzing design requirements (For example, number of times a person visits abroad) 3 System analysis and integration requirements with NADRA’s record 4 Examining any legacy system in the given domain 5 Different modules Implementation 6 Code debugging 7 Integration testing 8 Peer reviewsQ. 2. Write the names of any 10 factors that determine the quality of software? (5)
“The End”
SOLVED CS608 Assignment 3 Solution and Discussion
-
Software Verification and Validation (CS608)
Assignment # 03Total marks = 20
Due Date:
Jan 15, 2020
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:
• Use Case 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 biometric machine for Attendance Management System as shown below,
There are a few conditions for enrollment and marking of attendance. Students are required to perform Use Case Testing for the following tasks.- Enroll employee in the system
- Scan fingerprint
- Mark attendance
“The End”
-
@zareen said in CS608 Assignment 3 Solution and Discussion:
There are a few conditions for enrollment and marking of attendance. Students are required to perform Use Case Testing for the following tasks.
Solution:
Scenario Steps Description A: Actor Enrollment S: System 1 S: Enroll employee 2 S: Scan fingerprint 3 S: ID allocated Attendance 4 A: Scan fingerprint 5 S: Validate fingerprint 6 S: Attendance marked 7 A: Password entered 8 S: Attendance marked Extensions 4a Fingerprint not marked S: Display message and ask for re-try fingerprint 4b Fingerprint not marked for specific reason A: ID and password entered S: Attendance marked 7a Invalid Password - 3 times Close application ______________________End Solution
Ideas Solution:
Process Area: Software Verification Software Verification process area is more concerned with the engineering/programming aspects of the project with the purpose to ensure that the final product is error free and selected work products/components meet their specified requirements. Verification does not
Page | 31 evaluate usefulness of the system instead verification is concerned with whether the system is well-engineered, error-free, and so on. So verification is more concerned with building the product right way. Software verification includes testing, design analysis, inspections and code reviews. The major goals for these process areas are as under:
● Prepare for Verification: Preparation for verification is conducted.
● Verify Selected Work Products: Selected work products are verified against their specified requirements. P.Example of Software Verification Continuing with the same example, QA team will verify that all requirements are being fulfilled and each part of the software is working properly. For example, in this case Sample Requirements
● Admin (Employee) should be able to login
● Employee should be able to register another employee ¡n the organization
● Employee should be able to mark the attendance on daily basis
Figure 1: Continuous Audit Implementation Steps U.Audit Types There are three (3) types of audits and these, along with brief explanation, are as follows:
● First Party Audits: These are often described as internal audits. Someone from the organization itself audits a process to measure compliance and/or effectiveness.
● Second Party Audits: This is an external audit where the audit is being performed on supplier by a customer or by a contracted organization on behalf of a customer with the intention to ensure that the supplier is meeting contract specification.
● Third Party Audit: this is also an external audit and it’s performed by an audit organization independent of supplier-customer relationship. V.Audit Roles and Responsibilities Audit team includes a certified lead auditor who leads the audit activities and a team of 2 to 3 members supporting the lead in performing audit. Each member is equipped with right attitude and skills to measure the process results and performing the process audit to ensure compliance. Further in tough scenarios, domain experts become a part of this team to deal with the technicalities of such scenarios. W.CMMI Appraisals Appraisal is defined as a process to collect, review and analyzes data to measure performance or compliance level. The collected data is then compared with the desired or standard data to identify the gap between the actual and desired, if any with the main purpose of measuring the effectiveness of the framework or process. CMMI appraisals provide ratings that accurately reflect the capability level or maturity level of the processes in use. X.Process Reviews Process reviews are frequently carried out in the organizations to measure the effectiveness of the process and to ensure that it is being completely followed. The frequency of process audit depends upon many factors but usually it’s biannual or quarterly or on need basis. The process reviews also helps in identifying the required actions to improve the process results. Those required action may vary based on the results and it can be related to change/update in process objectives or design, training of stakeholders, technological advancement and many others. Y.Review Policy Every organization has its own review policy but the literature is full of best practices to be followed while conducting review. The fact remains same, the process is useless without review as no environment is static and no requirements are static. The current condition is best described with the word dynamic or constantly changing and so must be the process to get desired results. Through review policy, organizations define what to review and when to review. Z. Bench marking for Process Review There are many common issues the modern era organizations face today but the prospects of those issues or the circumstances might vary based on multiple factors. Bench marking is the referencing to those common problems. For any issue, organization adopts the model of another organization that went through, more or less, same condition and developed a successful solution to it. Adopting the already developed solution after some amendments saves an organization a lot of time and efforts. Besides this, organization can use the best practices, with some modification, available in literature or research journals. -
@zareen said in CS608 Assignment 3 Solution and Discussion:
There are a few conditions for enrollment and marking of attendance. Students are required to perform Use Case Testing for the following tasks.
Solution:
Scenario Steps Description A: Actor Enrollment S: System 1 S: Enroll employee 2 S: Scan fingerprint 3 S: ID allocated Attendance 4 A: Scan fingerprint 5 S: Validate fingerprint 6 S: Attendance marked 7 A: Password entered 8 S: Attendance marked Extensions 4a Fingerprint not marked S: Display message and ask for re-try fingerprint 4b Fingerprint not marked for specific reason A: ID and password entered S: Attendance marked 7a Invalid Password - 3 times Close application ______________________End Solution
Ideas Solution:
Process Area: Software Verification Software Verification process area is more concerned with the engineering/programming aspects of the project with the purpose to ensure that the final product is error free and selected work products/components meet their specified requirements. Verification does not
Page | 31 evaluate usefulness of the system instead verification is concerned with whether the system is well-engineered, error-free, and so on. So verification is more concerned with building the product right way. Software verification includes testing, design analysis, inspections and code reviews. The major goals for these process areas are as under:
● Prepare for Verification: Preparation for verification is conducted.
● Verify Selected Work Products: Selected work products are verified against their specified requirements. P.Example of Software Verification Continuing with the same example, QA team will verify that all requirements are being fulfilled and each part of the software is working properly. For example, in this case Sample Requirements
● Admin (Employee) should be able to login
● Employee should be able to register another employee ¡n the organization
● Employee should be able to mark the attendance on daily basis
Figure 1: Continuous Audit Implementation Steps U.Audit Types There are three (3) types of audits and these, along with brief explanation, are as follows:
● First Party Audits: These are often described as internal audits. Someone from the organization itself audits a process to measure compliance and/or effectiveness.
● Second Party Audits: This is an external audit where the audit is being performed on supplier by a customer or by a contracted organization on behalf of a customer with the intention to ensure that the supplier is meeting contract specification.
● Third Party Audit: this is also an external audit and it’s performed by an audit organization independent of supplier-customer relationship. V.Audit Roles and Responsibilities Audit team includes a certified lead auditor who leads the audit activities and a team of 2 to 3 members supporting the lead in performing audit. Each member is equipped with right attitude and skills to measure the process results and performing the process audit to ensure compliance. Further in tough scenarios, domain experts become a part of this team to deal with the technicalities of such scenarios. W.CMMI Appraisals Appraisal is defined as a process to collect, review and analyzes data to measure performance or compliance level. The collected data is then compared with the desired or standard data to identify the gap between the actual and desired, if any with the main purpose of measuring the effectiveness of the framework or process. CMMI appraisals provide ratings that accurately reflect the capability level or maturity level of the processes in use. X.Process Reviews Process reviews are frequently carried out in the organizations to measure the effectiveness of the process and to ensure that it is being completely followed. The frequency of process audit depends upon many factors but usually it’s biannual or quarterly or on need basis. The process reviews also helps in identifying the required actions to improve the process results. Those required action may vary based on the results and it can be related to change/update in process objectives or design, training of stakeholders, technological advancement and many others. Y.Review Policy Every organization has its own review policy but the literature is full of best practices to be followed while conducting review. The fact remains same, the process is useless without review as no environment is static and no requirements are static. The current condition is best described with the word dynamic or constantly changing and so must be the process to get desired results. Through review policy, organizations define what to review and when to review. Z. Bench marking for Process Review There are many common issues the modern era organizations face today but the prospects of those issues or the circumstances might vary based on multiple factors. Bench marking is the referencing to those common problems. For any issue, organization adopts the model of another organization that went through, more or less, same condition and developed a successful solution to it. Adopting the already developed solution after some amendments saves an organization a lot of time and efforts. Besides this, organization can use the best practices, with some modification, available in literature or research journals.
50% Off on Your FEE Join US!


