Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT "DEGREE LEVEL : SOFTWARE TESTING (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
Solution
Which of the following approaches to integration testing does not require scaffolding?
Solution
Consider an organization whose purpose of testing is to show the correctness of the software. Identify the process maturity based on the test goal of the organization.
Solution
Match the following based on different levels of testing.

Solution
Consider the control flow graph (CFG) below.

From the following code segments identify the one that is best presented by the given CFG.
From the following code segments identify the one that is best presented by the given CFG.
Solution
Consider the code below.

Identify the appropriate condition such that the execution will reach the error statement in LINE-1.
Identify the appropriate condition such that the execution will reach the error statement in LINE-1.
Solution
Consider the prime path [1, 2, 4] and a path P = [1, 2, 3, 2, 4, 2, 3, 4]. From among the given options, identify the path with a detour but not a sidetrip.
Solution
Consider the following classes for the code base to be tested and the test class.


Identify the test case method that will fail for the given code base.
Identify the test case method that will fail for the given code base.
Solution
Consider the finite state machine (FSM) as given below.

Identify the statement that correctly describes the given FSM.
Identify the statement that correctly describes the given FSM.
Solution
Which of the following is/are represented by the nodes in graph models for integration testing?
Solution
Consider the CFG given below.

From the following options, identify all the valid test paths.
From the following options, identify all the valid test paths.
Solution
Which of the following conditions is/are required to be satisfied such that a path can be considered as a chain (to define DD-path) in a CFG?
Solution
Which of the following statements is/are true?
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
What are the minimum number of test cases to be prepared for node coverage and edge coverage?
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
What is the cyclomatic complexity of the given CFG?
Solution
Comprehension Passage
Consider the CFG given below.

Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
Find the number of test requirements for prime path coverage.
Solution
Comprehension Passage
Consider the CFG given below.

Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
Identify the correct set of test paths for prime path coverage.
Solution
Comprehension Passage
Consider the annotated control flow graph (CFG) given below.

Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
How many du-pairs are there for the variable b?
Solution
Comprehension Passage
Consider the annotated control flow graph (CFG) given below.

Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
How many unique du-paths are there for the variable b?
Solution
Shape
Thickness [ / ]
3
All colors