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
In an organization, software testers always look for failures in the software product due to which they have an adversarial relationship with the software developers. Considering this scenario, identify the maximum process maturity level of this organization.
Solution
Consider the following statements and choose the correct option.
i) Prime path coverage subsumes node and edge coverage.
ii) Prime path coverage does not subsume edge-pair coverage.
i) Prime path coverage subsumes node and edge coverage.
ii) Prime path coverage does not subsume edge-pair coverage.
Solution
Which of the following are required to create a test case?
Solution
Consider the following statements and choose the correct option.
i) In JUnit, each test is embedded into one test method.
ii) JUnit can be used for unit, integration as well as system testing.
i) In JUnit, each test is embedded into one test method.
ii) JUnit can be used for unit, integration as well as system testing.
Solution
A ____________ is a skeletal implementation of a software module, used to develop or test a component that calls the stub or depends on it.
Fill in the blank with correct option.
Fill in the blank with correct option.
Solution
Solution
Consider the following statements regarding structural graph coverage criteria, and choose the correct option.
i) A test path always begins with the initial vertex and ends in the final vertex.
ii) A prime path may contain cycles within it as a subpath.
iii) Complete path coverage may be feasible for some CFGs.
i) A test path always begins with the initial vertex and ends in the final vertex.
ii) A prime path may contain cycles within it as a subpath.
iii) Complete path coverage may be feasible for some CFGs.
Solution
The ________ approach to integration testing does not require the use of test stubs or test drivers.
Fill in the blank with the correct option.
Fill in the blank with the correct option.
Solution
Consider the following statement and fill in the blank(s) with the appropriate option. In a maximal chain, the interior vertices have an indegree of i)___ and outdegree of ii)___.
Solution
Solution
Solution
Which of the following graph coverage criteria is equivalent to state coverage on a finite state machine (FSM)?
Solution
Which of the following types of testing methods are white box, i.e. require knowledge about the internals of the program?
Solution
Solution
Comprehension Passage
Consider the following control flow graph (CFG), and answer the subsequent questions.

How many test requirements are there for edge-pair coverage?
Solution
Comprehension Passage
Consider the following control flow graph (CFG), and answer the subsequent questions.

How many test requirements are there for prime path coverage?
Solution
Comprehension Passage
Consider the following control flow graph (CFG), and answer the subsequent questions.

What is the cyclomatic complexity of the given CFG?
Solution
Comprehension Passage
Consider the following data flow graph, and answer the subsequent questions.

How many test requirements are there for All-Defs-Coverage for variable x?
Solution
Shape
Thickness [ / ]
3
All colors