Structure-based testing techniques MCQs

Prof. Fazal Rehman Shamil
Last modified on April 21st, 2021

Structure-based testing techniques MCQs

_____ is a Structural Testing Technique
a. Statement Coverage
b. Decision Coverage
c. Condition Coverage
d. Path Coverage
e. All of these
e. None of these
Multiple Choice Question Answer: e
____ inputs we are required for 100% Statement Coverage
Read customer_name
Read record
If age < 18 then
Print Reject customer
Else
Print accept customer
Endif
a. 1
b. 2
c. 3
d. 4
e. None of these
Multiple Choice Question Answer: a
If all the statements of code execute it means that each decision is executed at least once.
a. True
b. False
e. None of these
Multiple Choice Question Answer: b
Read A,B
If A>=2
Print A+B
else
Print A-B
EndIf
If B<1
Print B-A
End
The Cyclomatic Complexity is ______
a. Black box testing
b. White box testing
c. Grey box testing
d. Combination of all
e. None of these
Multiple Choice Question Answer: b
For the above algorithm, the minimum number of test cases required to achieve 100% Statement Coverage and Decision Coverage is ___
a. SC=2,DC=2
b. SC=1,DC=3
c. SC=2,DC=3
d. SC=3,DC=3
e. None of these
Multiple Choice Question Answer: a

Software Testing MCQs

  1. Software Acceptance testing MCQs
  2. Agile testing MCQs
  3. Boundary value analysis MCQs
  4. Capability Maturity Model Integration MCQs 
  5. Configuration Management MCQs
  6. Incident Management MCQs
  7. Independent testing team MCQs
  8. LoadRunner MCQs
  9. Black Box Testing MCQs
  10. Software quality Assurance MCQ’s
  11. Alpha and Beta Testing MCQs
  12. Manual testing MCQs
  13. Software Testing processes MCQs
  14. Software Testing Techniques
  15. Structure-based testing techniques MCQs
  16. Software Project Planning MCQs
  17. Software Design Concept Testing MCQs
  18. Software Configuration Management MCQs
  19. Smoke and Sanity testing MCQs 
  20. Selenium Software Testing MCQs
  21. SQA Analyst MCQs
  22. QA Specialist MCQs
  23. Test Manager MCQs
  24. Software Quality Assurance Engineer MCQs
  25. Software Test Automation Engineer and Static Analysis MCQs
  26. QA Engineer MCQs
  27. Director of Software Quality Assurance MCQs
  28. Software Testing Tutorials

Computer Science Repeated MCQs Book Download

Prof.Fazal Rehman Shamil (Available for Professional Discussions)
1. Message on Facebook page for discussions,
2. Video lectures on Youtube
3. Email is only for Advertisement/business enquiries.