This set of MCQ(multiple choice questions) focuses on the Software Testing Practice Test 2.
If you have covered the basics of Software Testing, then you are good to attempt this Software Testing Practice Test 2. This set basically focuses on a particular topic of Software testing. There are two types of questions – single correct options and multi-correct options questions.
The following Software Testing practice tests are designed to test your ability to meet Software Testing requirements.
1. Software Testing – Practice Test 1
2. Software Testing – Practice Test 2
3. Software Testing – Practice Test 3
4. Software Testing – Practice Test 4
This free online Software Testing quiz will help you with self-assessment and prepare for other certification exams as well as Software Testing interview.
NOTE:Â You can check your answer immediately by clicking show answer button. This “Software Testing Practice Test 2″ set contains 08 questions.
Now, start attempting the quiz.
Software Testing Practice Test 2
Q1. Cause-effect test cases are, in effect, are designed using which one of the following types of testing techniques?
a) Decision-table based testing
b) Coverage-based testing
c) Fault-based testing
d) Path-based testing
e) Equivalence testing
Answer: a) Decision-table based testing
Q2. Consider the function find-intersection (m1, c1, m2, c2) that computes the point of intersection of two straight lines of the form y=mx+c. For equivalence class testing of the given fucntion, at the first level of the equivalence class hierarchy the valid and invalid equivalence classes can be formed. The valid set of input values can be further divided into how many equivalence classes?
a) 1
b) 2
c) 3
d) 4
e) 5
Answer: c) 3
Q3. During black box testing of the function compute-grade, altogether at least how many equivalence test cases are needed to be designed, assuming that robust testing is targeted?
a) 6
b) 7
c) 8
d) 9
e) 10
Answer: d) 9
Q4. Which one of the following types of bugs may not get detected in black-box testing, but are very likely to be get detected by white-box testing?
a) Incorrect functionality
b) Missing functionality
c) Trojans
d) Incorrect algorithm
e) Performance errors
Answer: c) Trojans
Q5. Which one of the following captures the basic idea based on which design of the equivalence classes of a function based on its specification is carried out?
a) A set of input values constitute an equivalence class if the tester believes these are processed identicaly
b) A set of test cases constitute an equivalence class, if the tester believes that these are processed differently
c) A set of input values that are partially ordered constitute an equivalence class
d) A set of dissimilar input values constitute an equivalence class
e) Equivalence classes define the behaviorally similar components of a program
Answer: a) A set of input values constitute an equivalence class if the tester believes these are processed identicaly
Q6. Assume that a function try takes four parameters w, x, y, and z as arguments. Each of these four parameters can assume values in the range 0 to 100. How many boundary value test cases should be designed for robust testing of the function try?
a) 9
b) 13
c) 17
d) 25
e) 30
Answer: d) 25
Q7. Code coverage analysis is used to measure which one of the following?
a) Extent of unreachable code
b) Sufficiency of test cases
c) Quality of code
d) Distribution of bugs
e) Percentage of bugs exposed
Answer: b) Sufficiency of test cases
Multi-correct questions
Q8. Which of the following is/are false regarding white-box testing?
a) White-box test cases designed based on the code structure of a program
b) White-box testing is also called structural testing
c) White-box test cases designed based on the design of a program
d) White-box test cases designed based on the requirements specification of a program
e) White-box testing is also called behavioral testing
Answer: c), d), e)
Don’t forget to tell us your score in comments by giving no. of correct questions.
Write a Testimonial for our website on email.
For discussion about any question, join the below comment section. And get the solution of your query. Also, try to share your thoughts about the topics covered in this particular quiz.