2 Marks Updared
2 Marks Updared
Unit -I
1. Define Component or Unit testing.
Component testing - validates the behaviour of each individual component or module
of a software application separately, without integrating with other components
2. Define Integration Testing?
Combining or Integrating all the modules or units or components of the program to
test as the whole as a single unit is called Integration testing
3. Compare small versus large? (Dichotomies)
Programming in large means constructing programs that consists of many components
written by many different programmers.
Programming in the small is what we do for ourselves in the privacy of our own
offices.
4. Define Environment?
The test environment is the hardware and software set up for the testing test cases.
5. Differentiate function versus structure testing?
In Functional testing, the program or system is treated as a black box. It is subjected
to inputs, and its outputs are verified for conformance to specified behavior.
Structural testing does look at the implementation details. Things such as
programming style, control method, source language, database design, and coding
details dominate structural testing.
6. State Builder vs Buyer?
Builder: Who designs the system and is accountable to the buyer.
Buyer: Who pays for the system in the hope of profits from providing services?
User: Ultimate beneficiary of the system. T
Tester: Who is dedicated to the builder's destruction.
Operator: Who has to live with the builders' mistakes.
UNIT – II
1. Compare static versus dynamic anomaly detection
Static - Done on source code without actually execution it
Example: Source code syntax error detection is the static analysis result
Dynamic - the program is being executed and is based on intermediate values that result
from the programs execution
Example: A division by zero warning is the dynamic result
2. Define the complications in Transaction Flows
Transaction flows don’t have a good structured design for code. The problems of transaction
flows result in problems like error conditions, malfunctions, recovery actions etc. These
errors are unstructured. As features are added into the transaction flows the complexity of the
transaction flow increases.
Interface Testing - verifies the interaction between two separate systems of an application
A path is a sequence of control flow nodes usually beginning from the entry node of a
UNIT - IV
1. What is state transition testing?
State Transition Testing is a type of software testing which is performed to check the
change in the state of the application under varying input. The condition of input passed is
changed and the change in state is observed.
2. Define State.
UNIT V
1. Define graph Matrix.
A graph matrix is a square array with one row and one column for every node in the graph.
Each row-column combination corresponds to a relation between the node corresponding to
the row and the node corresponding to the column.
2. What is a power of a Matrix?
Power of a matrix is the product of multiplying a square matrix by itself a specific number of
times
3. Define good and bad state graphs?
A state graph is said to be good , when every state , input , transition and output is specified
clearly and understandable. A state graph is said to be bad , when every state , input ,
transition and output is not specified clearly and difficult to understand.
4. Define unreachable state?
A state that no input sequence can reach
5. Define Dead State?
A dead state is a state that once entered cannot be left. This is not necessarily a bug but it is
suspicious
6. Define Cyclomatic Complexity.
The cyclomatic complexity obtained by subtracting 1 from the total number of entries in each
row and ignoring rows with no entries.
7. Name some Software Testing tools.
JMeter, Win Runner, Load Runner and Selenium etc.,
JMeter is an open source testing software. Used for load and performance testing. JMeter is
designed to analyse and measure the performance and load functional behaviour of web
application.
Win Runner – is an Automated Testing Tool.
Load Runner – is an Performance Testing Tool.
Selenium - Open source Web UI (User Interface) automation testing suite.
8. Define Loop or Self Loop in Graphs.
In graph, a loop (also called a self-loop or a buckle) is an edge that connects a vertex to
itself. A simple graph contains no loops.
9. What are the steps in Node reduction algorithm?
Combine all serial links by multiplying their path expressions. (Cross term reduction)
Combine all parallel links by adding their path expressions. (Parallel Reduction)
Remove all self-loops. (Loop Reduction)
10. What is a Relation?
The property by which two nodes are interconnected is called a relation.