This post provides solution to the first assignment of the online course Software Testing offered by MHRD. The answers to each questions are marked in red.
Assignment 1
- Before testing starts, a program is known to contain 1000 bugs. During testing of the program, four testing techniques are used in succession. Each testing technique is effective in detecting 60% of the bugs present at the time of starting that testing. Further, there is a 50% chance that a bug fix gives rise to a new bug. Approximately how many bugs would remain after application of the four bug detection techniques and correction of the detected bugs?
- 150
- 200
- 250
- 300
Explanation: Because of the first testing technique, number of bugs that remain is (1 - 0.6)*1000(bugs undetected) + 0.5*0.6*1000(bug triggered because of the bug fixing technique) i.e. 1000*(0.4 + 0.3) = 0.7 * 1000.
So, after four similar testing techniques, the number of bugs that remain is approximately (0.7*0.7*0.7*0.7)*1000 ~ 250 bugs.
- Which one of the following statements is true about program verification?
- Checks that we are building the right system
- Checks that we are building the system right
- Performed by an independent test team
- Ensures that the developed product is what the user really wants
- During which phase of the V model of software development are the integration test cases designed?
- Requirements specification
- High-level design
- Detailed design
- Coding
- Unit testing of a software module does NOT require testing which one of the following?
- Whether coding standards have been followed.
- Whether the functions of the module are working as per design.
- Whether all arithmetic statements of the module are working properly.
- Whether all control statements are working properly.
- Which one of the following techniques is not a software verification technique?
- Review
- Simulation
- Unit testing
- Beta testing
- Unit testing is carried out during which one of the following phases of the waterfall model?
- Implementation phase
- Testing phase
- Maintenance phase
- Design phase
- Which one of the following is NOT a black-box testing technique?
- Decision table testing
- Combinatorial testing
- Mutation testing
- All pair testing
- When in the waterfall model of software development, is code review carried out?
- After coding is complete and before the code is compiled.
- After coding is complete and after the code is compiled.
- After unit testing is over
- After system testing is over
- Which one of the following correctly characterizes the negative test cases?
- Invalid test cases
- Test cases not containing permissible input values
- Failed test cases
- Test cases that cannot cause any failures
- Which one of the following statements is not an objective of software verification?
- Ensuring that product development steps are carried out correctly.
- Ensuring that the correct product has been developed.
- Achieving phase containment of errors.
- Ensuring that the outputs produced at a stage conform to the outputs of the previous phase.
You can download the pdf version of the solution here.
Note: Please post any queries regarding the solution in the course forum only.
Answer 6: Unit testing takes place in testing phase. How come it can be done in implementation phase?
ReplyDeleteAnswer 9: Option a and b are ambiguous. Not permissible mean invalid cases.
Please post any queries regarding the solution in the course forum only.
DeletePlease explain answer for the first question.
ReplyDeletePlease post any queries regarding the solution in the course forum only.
DeleteIn question 6 how the answer is implementation phase its testing right?
ReplyDeletePlease post any queries regarding the solution in the course forum only.
DeleteThis comment has been removed by the author.
ReplyDeleteIn question 9,a) should be the correct answer as our program should be able to handle invalid test cases too.
ReplyDeletefor ex:if we input just 1 value instead of 2,the program should not crash.
And also i think that b) is subset of a).
please clarify why a) is not a correct option
Please post any queries regarding the solution in the course forum only.
DeleteReally nice topics you had discussed above. I am much impressed. Thank you for providing this nice information here.
ReplyDeleteSoftware Testing Company
QA Services
Game Testing Companies
Console Game Testing
The information which you have provided is very good. It is very useful who is looking for Game QA services
ReplyDeleteThe information which you have provided is very good. It is very useful who is looking for Game QA services
ReplyDeleteI am in fact enjoying by these.Regards Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing.
ReplyDeleteSoftware Testing Training in Chennai | Software Testing Training in Anna Nagar | Software Testing Training in OMR | Software Testing Training in Porur | Software Testing Training in Tambaram | Software Testing Training in Velachery
very good
ReplyDeleteSoftware Testing Training in Chennai | Certification | Online Courses
Software Testing Training in Chennai | Certification | Online Training Course | Software Testing Training in Bangalore | Certification | Online Training Course | Software Testing Training in Hyderabad | Certification | Online Training Course | Software Testing Training in Coimbatore | Certification | Online Training Course | Software Testing Training in Online | Certification | Online Training Course