0% found this document useful (0 votes)
4 views

ST_Assignment2

The document is an assignment for a Software Testing course at GLS Institute of Computer Application, containing fill-in-the-blank questions, true or false statements, and detailed questions regarding white box and grey box testing. It covers various testing techniques, definitions, and comparisons between different testing methodologies. The assignment aims to assess students' understanding of software testing concepts and practices.

Uploaded by

hellooworld3117
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

ST_Assignment2

The document is an assignment for a Software Testing course at GLS Institute of Computer Application, containing fill-in-the-blank questions, true or false statements, and detailed questions regarding white box and grey box testing. It covers various testing techniques, definitions, and comparisons between different testing methodologies. The assignment aims to assess students' understanding of software testing concepts and practices.

Uploaded by

hellooworld3117
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

GLS Institute of Computer Application

221604603 - Software Testing


Assignment 2

Q-1 Fill in the Blanks.


1. ______________ testing is a software testing technique that
involves testing the internal structure and workings of a software
application.
2. ____________ testing is a type of software testing that involves
executing the software and evaluating its behavior during runtime.
3. White box testing is also known as ____________ because it is
used to test the software’s internal logic, flow, and structure.
4. Dynamic testing is also known as ___________ testing, as it
focuses on testing the software’s functionality and how it behaves
under different inputs and conditions.
5. ___________ testing is a white box testing method where you
check individual units of source code.
6. ____________ are primarily responsible for unit testing.
7. White box testing type - ___________ involves reviewing and
analyzing code without executing it.
8. ___________ is a white-box testing technique that examines the
data flow with respect to the variables used in the code.
9. ________ in Control Flow Graph is individual statements or blocks
of code.
10. The two types of data flow testing are
_____________________ and _____________________.
11. A __________ refers to a line of code in the software which
performs some action.
12. In the path testing method, _______________________ of a
program is designed to find a set of linearly independent paths of
execution
13. A decision is a statement which can have two
_____________.
14. ___________ Cyclomatic Complexity is used in path testing.
15. A __________ refers to the outcome of a decision.
16. ____________ is a white box testing technique and is used
to test loops in the program
17. A _____________ loop is the finite number of loops inside
another loop.
18. The ____________ loop is the combination of nested loops
and concatenated loops.
19. Condition Coverage is also called _____________ coverage.
20. The internal structure is partially known in ____________
Testing.
21. ___________ technique is a method in grey box testing that
is used to remove unused and uninitialized variables by identifying
used variables from the program.
22. In _____________ testing type of grey box testing, test
cases are designed in a way that can cover maximum code as well
as GUI functions with a smaller number of test cases.
23. ___________ testing is a technique that evaluates past
defects to identify patterns that lead to defects.
24. The ______________ technique of grey box testing tests the
input values on or within the boundary of a specific range for the
system’s input domain.
25. _________________ testing checks the behavior of an
application when it goes through different states and transitions.
26. ____________ testing is non-intrusive
27. ___________ testing avoids conflicts between a tester and a
developer.
28. Gray box testing is much more effective in __________
testing.
29. Gray box testing is usually not suitable for ______ systems.
Q-2 State True or False.
1. White Box Testing is also known as transparent testing or open
box testing.
2. The clear box or white box or transparent box name denote the
ability to see through the software's outer shell into its inner
workings
3. Path coverage refers to the percentage of statements covered by
white box testing out of the total statements.
4. JUnit is a Java framework that facilitates unit testing by allowing
developers to define test cases, execute them, and assert
expected outcomes, promoting code reliability through automated
testing practices.
5. Condition coverage testing is a type of white-box testing that test
all the conditional expressions in a program for all possible
outcomes of the conditions.
6. Decision coverage covers all possible outcomes of each and every
Boolean condition of the code by using control flow graph or chart
7. Decision testing examines the initialization of variables and checks
their values at each instance.
8. Path Testing is a method that is used to design the test cases.
9. A Control Flow Graph (CFG) is a graphical representation of all the
paths that might be traversed through a program during its
execution.
10. Edge is the flow of control from one node to another in
control flow graph.
11. The difference between nested and concatenated is that in
the nested loop one loop is inside the other loop and for
Concatenated loop is one loop after the other loop.
12. Direct flow from one statement to another without any
condition is shown by conditional edge in Control Flow Graph
13. A path represents the execution path inside a function.
14. Branch coverage refers to the percentage of branches
covered in a piece of code with respect to total number of available
branches.
15. Loops refer to piece of code which can execute multiple
times (up to infinite times) and only get terminated if a condition
becomes true.
16. Unstructured loop is basically a collection of loops that are in
no order.
17. White Box Testing require any GUI (Graphical User
Interface) for starting testing process.
18. White box testing can be easily started in Software
Development Life Cycle.
19. Testers need to have programming knowledge and access to
the source code to perform tests in grey box testing.
20. Gray Box Testing is named so because the software program
is like a semitransparent or gray box inside which the tester can
partially see
21. Regression testing is used to verify that modification in any
part of software has not caused any adverse or unintended side
effect in any other part of the software.
22. Orthogonal array testing is a technique you can use when
your application has only a few inputs that are too complex or large
for extensive testing.
23. For the outer boundary, you have to enter values within the
range and it will give a positive outcome.
24. A loan amortization table is a practical example of decision
table testing.
25. A state indicates a condition or set of conditions under which
you must perform the testing.
26. The transition indicates the change from one condition to
another condition.
27. White box testing is unbiased.
28. Gray box testing is not suitable for algorithm testing as
accessing the complete logic of the algorithms is not possible.

Q-2 Answer the following in detail


1. What is white box testing? Explain its types.
2. Explain white box testing techniques.
3. List down the advantages and disadvantages of white box testing.
4. What is grey box testing? Explain its types.
5. Explain grey box testing techniques.
6. List down the advantages and disadvantages of grey box testing.
7. Write difference between White Box testing and Grey Box testing.
8. List difference between Condition Coverage and Branch
Coverage.

You might also like