Home / Study library / Software Testing / Quiz 1 · May 2023 Software Testing · Quiz 1 · May 2023
Software Testing · Quiz 1 · May 2023
← Course papers · Start practice / exam
Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.
0 / 17 published solutions
Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18
Question 2 MCQ · 4.0 marks Consider the control flow graph (CFG) below.
What are the minimum numbers of test paths are required for node and edge coverage?
6406531932711. Minimum 1 test path for both node and edge coverage.
6406531932712. Minimum 2 test paths for both node and edge coverage.
6406531932713. Minimum 1 test path for node coverage and 2 test paths for edge coverage.
6406531932714. Minimum 2 test path for node coverage and 3 test paths for edge coverage.
A published solution is not available for this question yet.
Report a correction for Q2
Question 3 MCQ · 4.0 marks Match the following.
6406531932727. 1-D, 2-A, 3-C, 4-B
6406531932728. 1-D, 2-C, 3-A, 4-B
6406531932729. 1-B, 2-C, 3-A, 4-D
6406531932730. 1-B, 2-A, 3-C, 4-D
A published solution is not available for this question yet.
Report a correction for Q3
Question 4 MCQ · 4.0 marks Consider the CFG given below and answer the subquestions.
Find the number of test requirements for edge pair coverage.
A published solution is not available for this question yet.
Report a correction for Q4
Question 5 MCQ · 6.0 marks Consider the CFG given below and answer the subquestions.
Find the number of simple paths.
A published solution is not available for this question yet.
Report a correction for Q5
Question 6 MCQ · 8.0 marks Consider the CFG given below and answer the subquestions.
Find the number of prime paths.
A published solution is not available for this question yet.
Report a correction for Q6
Question 7 MCQ · 8.0 marks 6406531932731. 1-B, 2-A, 3-C
6406531932732. 1-B, 2-C, 3-A
6406531932733. 1-C, 2-B, 3-A
6406531932734. 1-C, 2-A, 3-B
A published solution is not available for this question yet.
Report a correction for Q7
Question 8 MCQ · 8.0 marks Consider the following control flow graph (CFG).
From the following code segments identify the one that is best presented by the given CFG.
6406531932748. 6406531932749. 6406531932750. 6406531932751. A published solution is not available for this question yet.
Report a correction for Q8
Question 9 MSQ · 8.0 marks 6406531932735. 6406531932736. 6406531932737. 6406531932738. 6406531932739. A published solution is not available for this question yet.
Report a correction for Q9
Question 10 MCQ · 6.0 marks Consider the finite state machine (FSM) as given below.
Identify the statement that correctly describes the given FSM.
6406531932740. It accepts all strings that have odd number of 0s and odd number of 1s.
6406531932741. It accepts all strings that have even number of 0s and even number of 1s.
6406531932742. It accepts all strings that have odd number of 0s and even number of 1s.
6406531932743. It accepts all strings that have even number of 0s and odd number of 1s.
A published solution is not available for this question yet.
Report a correction for Q10
Question 11 MCQ · 6.0 marks 6406531932752. testcase1()
6406531932753. testcase2()
6406531932754. testcase3()
6406531932755. testcase4()
A published solution is not available for this question yet.
Report a correction for Q11
Question 12 MCQ · 6.0 marks Consider the CFG given below.
Identify the number of linearly independent paths.
A published solution is not available for this question yet.
Report a correction for Q12
Question 13 MCQ · 6.0 marks 6406531932776. 6406531932777. 6406531932778. 6406531932779. A published solution is not available for this question yet.
Report a correction for Q13
Question 14 MSQ · 6.0 marks Identify the statement(s) that are true about graph coverage criteria.
6406531932756. Node coverage subsumes both edge coverage and edge pair coverage.
6406531932757. Prime path coverage subsumes both edge Coverage and all duPaths Coverage.
6406531932758. All duPaths Coverage subsumes both all uses coverage and all defs coverage.
6406531932759. Edge pair coverage subsumes both all uses coverage and all defs coverage.
A published solution is not available for this question yet.
Report a correction for Q14
Question 15 MCQ · 6.0 marks Consider the annotated CFG given below and answer the subquestions.
How many du-pairs are there for the variable z?
A published solution is not available for this question yet.
Report a correction for Q15
Question 16 MCQ · 6.0 marks Consider the annotated CFG given below and answer the subquestions.
How many unique du-paths are there for the variable z?
A published solution is not available for this question yet.
Report a correction for Q16
Question 17 MSQ · 4.0 marks Which of the following integration testing techniques may use scaffolding?
A published solution is not available for this question yet.
Report a correction for Q17
Question 18 MSQ · 4.0 marks Consider the annotated CFG given below.
Identify the test case input(s) that test the path [s, v, x, y, z].
6406531932768. {a = 10, b = 20, c = 15}
6406531932769. {a = 10, b = 20, c = 30}
6406531932770. {a = 30, b = 20, c = 30}
6406531932771. {a = 30, b = 30, c = 30}
**AI**
**Section Id :** 64065339126
**Section Number :** 2
**Section type :** Online
**Mandatory or Optional :** Mandatory
**Number of Questions :** 5
**Number of Questions to be attempted :** 5
**Section Marks :** 25
**Display Number Panel :** Yes
**Group All Questions :** No
A published solution is not available for this question yet.
Report a correction for Q18