Showing posts with label Software Testing Methodologies. Show all posts
Showing posts with label Software Testing Methodologies. Show all posts

January 04, 2019

Software Testing Methodologies - MCQS 2

                                                                
Question
Which is not Fault categories in these?

Select one:
a. Extra State Error
b. Logical Error
c. Transfer Error
d. Missing State Error

The correct answer is: Logical Error

Question
Adding Variables and Conditions to FSM is called

Select one:
a. None
b. FSM++
c. Advanced FSM
d. Extended FSM

The correct answer is: Extended FSM

Question
Characteristics of Path-based Integration

Select one:
a. Interfaces are behavioral
b. Interfaces are behavioral
c. None
d. Co-functioning, Interfaces are structural and interactions are behavioral

The correct answer is: Co-functioning, Interfaces are structural and interactions are behavioral

Question
Which one of the followings is a Call Graph-Based Integration

Select one:
a. Neighbourhood and Closed-users
b. All of the above
c. Pairwise and Neighbourhood
d. Pairwise and Closed-Users

The correct answer is: Pairwise and Neighbourhood

Question
Path based integration testing is also called as

Select one:
a. Hybrid integration testing
b. Pairwise integration testing
c. Neighbourhood integration testing
d. Sandwich integration testing

The correct answer is:Hybrid integration testing

Question
MM path testing is used is

Select one:
a. model based testing
b. object oriented testing
c. state based testing
d. System testing

The correct answer is:object oriented testing

Question
What are the Integration testing appraoch classified under Call Graph-Based Integration:

Select one:
a. Neighbourhood, Sandwich
b. Pair-Wise, Top-down
c. Bottom-up,Neighbourhood
d. Pair-Wise, Neighbourhood

The correct answer is:Pair-Wise, Neighbourhood

Question
In Data Flow Testing, an Use is a statement that __________ a value of variable

Select one:
a. All options
b. validates
c. references
d. Manipulates

The correct answer is:references

Question
Which of the following is black-box oriented and can be accomplished by applying the same black-box methods discussed for conventional software?

Select one:
a. Test case design
b. Both Conventional testing and OO system validation testing
c. OO system validation testing
d. Conventional testing

The correct answer is:Both Conventional testing and OO system validation testing

Question
Which of the testing processes is the process of verifying the interaction between software components?

Select one:
a. Integration Testing
b. System Testing
c. Object-Oriented Testing
d. Unit Testing

The correct answer is:Integration Testing

Question
In an Object Oriented System, if A derives from B and B derives from C, then which one of the following is incorrect with respect to OO testing?

Select one:
a. To test A, create a class by flattening technique (merge methods and attributes of A, B and C)
b. Cannot directly test A- need to flatten it because it is a sub-class
c. To test C, create a class by flattening technique (merge methods and attributes of A, B and C)
d. To test B, create a class by flattening technique (merge methods and attributes of B and C)

The correct answer is:To test C, create a class by flattening technique (merge methods and attributes of A, B and C)

Question
A usage node USE(v, n) is a predicate use (denoted as P-use)

Select one:
a. iff the statement n is an output statement
b. iff the statement n is a predicate statement
c. iff the statement n is procedure call
d. iff the statement n is an input statement

The correct answer is:iff the statement n is a predicate statement

Question
Issue with class flattening is

Select one:
a. Uncertainty-flattened class is not part of final system
b. meaning of system will change
c. None of the options
d. create irrelevant class

The correct answer is:Uncertainty-flattened class is not part of final system

Question
Integration testing is

Select one:
a. process of verifying interaction between software components
b. ALL
c. process of testing interfaces
d. process of verifying interaction between different programs

The correct answer is:process of verifying interaction between software components

Question
operation error in fault model is tested by

Select one:
a. Extra state testing
b. Missing state testing
c. Incorrect state transition
d. Error generated upon transition

The correct answer is:Error generated upon transition

Question
Which is NOT a higher level of testing?

Select one:
a. System Testing
b. Unit Testing
c. Integration Testing
d. Sub-System Testing

The correct answer is:Unit Testing

Question
Class flattening is

Select one:
a. Association of attributes and operation of a class
b. Removing unnecessary attributes and operations from class
c. A composition of various classes together
d. Original class expanded to include all the attributes and operation it inherits

The correct answer is: Original class expanded to include all the attributes and operation it inherits

Question
which statement is not True in case of Neighbourhood?

Select one:
a. Interior nodes = nodes - (source nodes + sink nodes)
b. Neighbourhoods = nodes - sink nodes
c. Neighbourhoods = sink nodes + nodes
d. Neibhourhoods = interior nodes + source nodes

The correct answer is:Neighbourhoods = sink nodes + nodes

Question
class flattening is used to test following object oriented feature

Select one:
a. constructor
b. template
c. polymorphism
d. inheritance

The correct answer is:inheritance

Question
Which View of class testing is used for Inheritance?

Select one:
a. Compile Time View
b. None
c. Execution View
d. Static View

The correct answer is:Compile Time View

Question
Call Graph (CG) based approach is

Select one:
a. Both Pair-wise and Neighborhood integration
b. Neither Pair-wise integration nor Neighborhood integration
c. Only Pair-wise integration
d. Only Neighborhood integration

The correct answer is: Both Pair-wise and Neighborhood integration

Question
In Top-Down integration testing, which one of the followings that you may need to develop?

Select one:
a. Drivers
b. Connectors
c. Interfaces
d. Stubs

The correct answer is:Stubs

Question
Data Flow Testing is best where _____________________ is high.

Select one:
a. Complexity requirement
b. Usability
c. Reliability requirement
d. Computation

The correct answer is:Reliability requirement

Question
One of the  issues with flattened class could be the following:

Select one:
a. A flattened class will be part of a final system, so some redundancy of testing remains
b. A flattened class will not be part of a final system, so no uncertainty remains
c. A flattened class will not be part of a final system, so some uncertainty remains
d. A flattened class will not be part of a final system, so no uncertainty remains

The correct answer is:A flattened class will not be part of a final system, so some uncertainty remains

Question
When will the working version of the system be ready in case Sandwich approach?

Select one:
a. None
b. Early
c. Never
d. Late

The correct answer is:Early

Question
Number of Integration Cycles/Sessions in Integration Testing is:

Select one:
a. Session = nodes  +  leaves  + edges
b. Session = nodes  – leaves  +  edge
c. Session = nodes  + leaves  –  edges
d. Session = nodes  –  leaves  – edges

The correct answer is:Session = nodes  – leaves  +  edge

Question
Big Bang integration approach:

Select one:
a. Suffers with problem of fault isolation
b. None of the option
c. Requires creation of a large number of stubs and drivers
d. Number of integration testing sessions is 2

The correct answer is:Suffers with problem of fault isolation.

Question
System of systems is

Select one:
a. A set of component systems
b. A collection of cooperating systems
c. All of the above options
d. A  collection of autonomous systems

The correct answer is: A collection of cooperating systems

Question
Select the odd man out

Select one:
a. Sandwich
b. Pair-Wise
c. Top-down
d. Bottom-up

The correct answer is: Pair-Wise

Question
Sandwich integration strategies

Select one:
a. use equal number of stubs and drivers
b. use less stubs and more drivers
c. use more stubs and less drivers
d. use both stubs and drivers

The correct answer is: use both stubs and drivers

Question
Parallel Testing is highly used in which Integration approach?

Select one:
a. Sandwich
b. Big Bang
c. Bottom-up
d. Top-down

The correct answer is: Big Bang

Question
Which of the following determines state diagram?

Select one:
a. The UML notation for specifying finite automata is the state diagram
b. None of the mentioned
c. All of the mentioned
d. In state diagrams, states are represented by rounded rectangles

The correct answer is: All of the mentioned

Question
Data Flow testing refers to forms of structural testing that focus on:

Select one:
a. All options
b. An unifying structure of test coverage metrics
c. Serves as a “reality check” on path testing
d. The point at which variables receive values and the point at which these values are used (or referenced)

The correct answer is: All options

Question
if (v>0) then print (v) represents:

Select one:
a. USE of v
b. C-use of v
c. Define of v
d. P-use of v

The correct answer is: P-use of v

Question
In Bottom-Up integration testing, which one of the followings that you may need to develop?

Select one:
a. Interfaces
b. Stubs
c. Drivers
d. Connectors

The correct answer is: Drivers

Question
What is the main problem with static view of a class while treating class as a unit?

Select one:
a. Methods of the class are ignored
b. Functions of the class are ignored
c. Inheritances are ignored
d. Data of the class are ignored

The correct answer is: Inheritances are ignored

Question
In data flow testing, objective is to find

Select one:
a. All du-paths
b. All dc-paths that are not du-paths
c. All du-paths that are not dc-paths
d. All dc-paths

The correct answer is: All du-paths

Question
Data Flow Testing refer to

Select one:
a. Point at which the variable receive values and the point at which it is used
b. Understanding how Data changes to Result
c. None of the options
d. Inputting Data

The correct answer is: Point at which the variable receive values and the point at which it is used

Question
Different strategies used in state model to design test cases are

Select one:
a. State Testing, Transition Testing, Path Testing
b. Transition Testing, Coverage Testing
c. Code Testing, Path Testing
d. State Testing, Code Testing

The correct answer is: State Testing, Transition Testing, Path Testing

Question 
Which of the testing methods is NOT part of decomposition based integration testing?

Select one:
a. Circular
b. Bottom-Up
c. Top-Down
d. Sandwich

The correct answer is: Circular

Question
A rich extention of FSM

Select one:
a. None
b. Path testing
c. Petri nets
d. State Charts

The correct answer is: State Charts

Question
One of the  issues with flattened class could be the following:

Select one:
a. A flattened class will not be part of a final system, so some uncertainty remains
b. A flattened class will not be part of a final system, so no uncertainty remains
c. A flattened class will be part of a final system, so some redundancy of testing remains
d. A flattened class will not be part of a final system, so no uncertainty remains

The correct answer is: A flattened class will not be part of a final system, so some uncertainty remains

Question
Which one is not a State amongst these?

Select one:
a. Name
b. Colour
c. Barking
d. Age

The correct answer is: Barking

Question
A usage node USE(v, n) is a computation use (denoted as C-use)

Select one:
a. iff the statement n is an input/output statement
b. None of the options
c. iff the statement n is a predicate statement
d. iff the statement n is a Computation statement

The correct answer is: iff the statement n is a Computation statement

Question
Software Test Stubs are

Select one:
a. Used to connect a software with a driver
b. None of the options
c. Programs which simulate the behaviors of software components that are the control modules of a under test module
d. Programs which simulate the behaviors of software components that are the dependent modules of a under test module

The correct answer is: Programs which simulate the behaviors of software components that are the dependent modules of a under test module

Question
A Module Execution Path (MEP) is

Select one:
a. None of the options
b. A sequence of statements that begins with a ‘Source Node’ and ends with a ‘Sink Node’, with no intervening sink nodes
c. A sequence of statements that begins with a ‘Sink Node’ and ends with a ‘Source Node’, with no intervening sink nodes
d. A sequence of statements that begins with a couple of ‘Source Nodes’ and ends with a couple of ‘Sink Nodes’, with no intervening sink nodes

The correct answer is: A sequence of statements that begins with a ‘Source Node’ and ends with a ‘Sink Node’, with no intervening sink nodes

Question
Operation error in a fault model is:

Select one:
a. Corrupt input
b.  input function
c. Output values are garbled
d. Error generated upon transition like  output function

The correct answer is: Error generated upon transition like  output function

Question
What is the BEST definition of flattened class?

Select one:
a. A flattened class is an original class expanded to include all the attributes and functions.
b. A flattened class is an original class expanded to include all the attributes and operations it inherits
c. A flattened class is an original class expanded to include all the attributes of the class itself.
d. A flattened class is an original class expanded to include all the attributes but not the operations it inherits

The correct answer is: A flattened class is an original class expanded to include all the attributes and operations it inherits

Question
Which are not Issues with Flattening in Inheritence

Select one:
a. Uncertainity
b. flattened class is not part of final system
c. flattened class is part of the final system
d. Similar issue as insrumented code

The correct answer is: flattened class is part of the final system

Question
Transfer error in a fault model is:

Select one:
a. Incorrect state transition
b. None of the option
c. Specification-based testing technique
d. transition to next state

The correct answer is: Incorrect state transition

Question
Testing criteria of state machine are

Select one:
a. state coverage,transition coverage and path coverage
b. All the options are correct
c. path coverage
d. state coverage only

The correct answer is: state coverage,transition coverage and path coverage

Question
Data Flow testing helps to resolve the define/reference  anomalies:

Select one:
a. A variable that is used but never defined
b. All options
c. A variable that is defined twice before it is used
d. A variable that is defined but never used (referenced)

The correct answer is: All options

Question
Fault categories include

Select one:
a. new state error,fault state error,operation error,transfer error
b. operation error and transfer error
c. transmission error
d. operation error,transfer error,extra state error,missing state error

The correct answer is: operation error,transfer error,extra state error,missing state error

Question
Which of the following is true?

Select one:
a. Transitions may be spontaneous, but usually some event triggers them
b. A transition is a change from one state to another
c. All of the mentioned
d. An event is a noteworthy occurrence at a particular time; events have no duration

The correct answer is: All of the mentioned   

Question
Software Test Drivers are

Select one:
a. None of the options
b. Programs which simulate the behaviors of software components that are the dependent modules of a under test module
c. Used to connect a software with a driver
d. Programs which simulate the behaviors of software components that are the control modules of a under test module

The correct answer is: Programs which simulate the behaviors of software components that are the control modules of a under test module

Question
Issues with Flattening of classes leads to

Select one:
a. None
b. problems like any instrumented code
c. poor testing
d. uncertainity as it is not part of the final system

The correct answer is: uncertainity as it is not part of the final system

Question
Which of the following is a part of testing OO code?

Select one:
a. Integration tests
b. System tests
c. Validation tests
d. Class tests

The correct answer is: Class tests

Question
Which one of  the  following  statements best  reflects realistic  expectations from  introducing MBT  into the software development life cycle?

Select one:
a. Since reuse of a system design model is possible in MBT, after small investment, the usage of MBT in a development process is almost for free.
b. Adding an MBT tool without change in the existing organization and/or test process is an effective approach.
c. MBT users do not need to understand test design techniques because test generation with MBT is fully automated.
d. Carefully introducing changes to the whole test process when introducing MBT, including test team training, helps to obtain measurable progress.

The correct answer is: Carefully introducing changes to the whole test process when introducing MBT, including test team training, helps to obtain measurable progress.

Question
Useful formalism to express concurrency and timing - this is true for which model?

Select one:
a. StateCharts
b. Petri Nets
c. FSM
d. None

The correct answer is: Petri Nets

Question
Flattening of classes is

Select one:
a. Required for testing subclasses
b. Required to overcome the challenges posed by encapsulation concept of OO systems
c. Involves merging methods of a sub-class
d. Creates classes that are a part of the final product

The correct answer is: Required for testing subclasses

Question
The statement v=x+n+2; a definition of v

Select one:
a. None
b. is a computation use of v
c. is a definition of v
d. is a output statement of v

The correct answer is: is a definition of v

Question
In a Definition – Use pair (du pair)

Select one:
a. There should be a control path from d to u along which the variable is not modified
b. All of the options
c. There should be a Definition statement to define a variable (d)
d. There should be a Use statement where the variable is used (u)

The correct answer is: All of the options

Question
What are the Integration testing appraoch classified under Decomposition based:

Select one:
a. Top-down, Pair-Wise, Bottom-up
b. Sandwich, Neighbourhood, Top-down
c. Top-down, Bottom-up, Sandwich, Big-bang
d. Pair-wise, Neighbourhood

The correct answer is: Top-down, Bottom-up, Sandwich, Big-bang

Question
which of following describes system behaviour

Select one:
a. Control flow graph
b. Data Flow graph
c. Path in the flow graphs
d. Finite state machine

The correct answer is: Finite state machine

Question
When will be the interface erros will get detected in case Biga Bang appraoch?

Select one:
a. Never
b. Early
c. None
d. Late

The correct answer is: Late

Question
i=0;if (i<10) { x= i+1; print(x);} How many DU pairs are there for i ?

Select one:
a. 4
b. 1
c. 3
d. 2

The correct answer is: 2

Question
Which one is not an Executable Model?

Select one:
a. Finite State Machines
b. Petri Nets
c. StateCharts
d. Basis Paths


The correct answer is: Basis Paths

Question
One of the  issues with flattened class could be the following:

Select one:
a. A flattened class will be part of a final system, so some redundancy of testing remains
b. A flattened class will not be part of a final system, so no uncertainty remains
c. A flattened class will not be part of a final system, so some uncertainty remains
d. A flattened class will not be part of a final system, so no uncertainty remains


The correct answer is: A flattened class will not be part of a final system, so some uncertainty remains

Question
Testing polymorphism

Select one:
a. is to develop test cases for client that exercise all client bindings to polymorphic calls.
b. is to develop test cases for base and derived classes.
c. is to develop test cases using class flattening
d. is to develop test cases for all possible classes and objects Incorrect

The correct answer is: is to develop test cases for client that exercise all client bindings to polymorphic calls.

Question
i=i+1 represents:

Select one:
a. DEF (i, n)
b. C-USE (i, n)
c. USE (i, n)
d. P-USE (i, n)

The correct answer is: DEF (i, n)

November 12, 2018

Software Testing Methodologies - Mid Sem Solutions




Question
One of your friends has written a program to search a string in a string and requested you to test the below function using equivalent class portioning :

function strpos_generic( $haystack, $needle, $nth,  $insensitive)
Following are terminology definitions:
  • $haystack= the string in which you need to search value
  • $needle= the character that needs to be searched, the $needle should be a single character
  • $nth= occurrence you want to find, the value can be number between 1,2,3
  • $insensitive= 1- case insensitive, 0 or any other value is case sensitive
  • Passing as Null as parameter in haystack or needle is not a valid scenario and will return boolean false
  • The function will return mixed integer either the position of the $nth occurrence of $needle in $haystack, or Boolean false if it can't be found.
a) Derive positive and negative domain equivalence class portioning with the value in the following format     

$haystack
$needle
$nth
$insensitive




                                                                             
b) And drive test case for weak robust variant in following format and use the variable efficiently and cover  all the paths:
 
Sl.no
$haystack
$needle
$nth
$insensitive
Expected  results

Answer:
NOTE : The above question is for your exercise,kindly try solving it using below reference questions

Question
ABC Transportation Company has implemented an online ticket booking system for their buses, and they have created a simple screen to search the bus and following are some of the business rules they have incorporated in the screen.
From and To location should be minimum 3 characters and maximum  of  25 characters
Date of travel cannot be lesser than today’s date
Time : Morning, Afternoon, Night
No of Passengers can be 1 to 6
Service class can be: Premium, Deluxe, Express
a) Identify the positive and negative domain.
b) Write test case for weak robust variant.

October 24, 2018

Software Testing Methodologies - MCQS


Question

A regression test

Select one:
a.  Will always be automated
b. Can only be run during user acceptance testing
c. Will help ensure unchanged areas of the software have not been affected
d. Will help ensure changed areas of the software have not been affected

The Correct answer is: Will help ensure unchanged areas of the software have not been affected

Question
The inputs for developing a test plan are taken from

Select one:
a. Support plan
b. Business plan
c. Project Plan
d. None

The Correct answer is: Business plan

Question
Weak Robust Equivalence Class Testing is defined as:

Select one:
a. Weak refers to the single fault assumption
b. Robust comes from the consideration of invalid values
c. All
d. The name of the form Weak Robust is counterintuitive and oxymoronic

The correct answer is: All

Question
Data set {brown, black, blue, green , red} is example of

Select one:
a. Ordinal attribute
b. Continuous attribute
c. Numeric attribute
d. Nominal attribute

The correct answer is: Nominal attribute

Question
What are the two important requirements of class partitioning?

Select one:
a. Disjointedness and partial-completeness
b. Completeness and Non-Redundancy
c. Partial-completeness and Non-Redundancy
d. Completeness and Redundancy

The correct answer is: Completeness and Non-Redundancy

Question 
The specification: an integer field shall contain values from and including 1 to and including 12 (number of the month) Which equivalence class partitioning is correct?

Select one:
a. Less than 1, 1 through 11, and above
b. Less than 1, 1 through 12, larger than 12
c. Less than 0, 1 through 12, larger than 12
d. Less than 1, 1 through 11, larger than 12

The correct answer is: Less than 1, 1 through 12, larger than 12

Question 
RADAR system operates in normal temp (28 degC), maximum temp at (70 degC) and minimum temp at (-30 degC) as per the specification. At which temperatures do you test the system for normal boundary value testing?

Select one:
a. 28 degC, 70 degC, -30 degC, 72 degC, -28 degC
b. 28 degC, 70 degC, -30 degC, 72 degC, -33 degC
c. 28 degC, 70 degC, -30 degC, 69 degC, -29 degC
d. 28 degC, 70 degC, -30 degC, 68 degC, -33 degC

The correct answer is: 28 degC, 70 degC, -30 degC, 69 degC, -29 degC

Question
A lot consists of 10 good articles, 4 with minor defects and 2 with major defects. Two articles are chosen from the lot at random (without replacement).
Find the probability that:
both have major defects, 
Both are Good,
Neither is Good.

Select one:
a. 3/8
b. 91/120
c. 1/8
d. 1/120

The Correct answer is:
Both have major defects - 1/120
Both are Good -  3/8
Neither is Good - 1/8
Question
How much testing is enough

Select one:
a. The answer should be standardized for the software development industry
b. The answer depends on the maturity of your developers
c. The answer depends on the risks for your industry, contract and special requirements
d. This question is impossible to answer

The Correct answer is: The answer depends on the risks for your industry, contract and special requirements

Question
Which of the following statement is correct for Strong Robust Equivalence Class Testing?

Select one:
a. Robust comes from consideration of invalid values of inputs
b. Strong refers to the single fault assumption
c. All
d. Robust comes from consideration of invalid values of outputs

The Correct answer is: Robust comes from consideration of invalid values of inputs


Question
Number of unique test cases generated in Worst-Case Boundary Value Analysis for a function of n variables is
(For Robust Worst-Case Boundary Value Analysis - 7^n)
Select one:
a. 4n+1
b. 5^n
c. 7^n
d. 6n+1

The Correct answer is: 5^n

Question
Number of unique test cases generated in Robust Boundary Value Analysis for a function of n variables is

Select one:
a. 7n+1
b. 6n+1
c. 4n+1
d. 7*n

The correct answer is: 6n+1

Question
If a candidate is given an exam of 40 questions, should get 25 marks to pass (61%) and should get 80% for distinction,what is equivalence class?

Select one:
a. 30, 36, 39
b. 32, 37, 40
c. 23, 24, 25
d. 0, 12, 25

The Correct answer is: 30, 36, 39

Question
Strong normal equivalence class testing is based on:

Select one:
a. Single fault assumption
b. None
c. Not covering all the equivalence classes
d. Multiple fault assumption

The Correct answer is: Multiple fault assumption

Question
In specification based testing, what are the valid perspectives through which a system can be looked into?
Select one:
a. End User/Consumer
b. All
c. Customer/Client
d. Alpha/Beta User

The Correct answer is: All

Question
Basic Testing terms as per IEEE

Select one:
a. Error,Fault,Failure and Incident
b. Defect,System Halt,System Restart
c. Bug,Bug Report,solution
d. Severe error, Incident Raising,Shutdown

The correct answer is: Error,Fault,Failure and Incident
NOTE: As per the statement give here - anomaly section https://goo.gl/WJx3vr
Question
It is conducted to validate that the application, database, and network that is running can handle projected volumes

Select one:
a. Stress / Load Testing
b. Functional Testing
c. Integration Testing
d. Recovery Testing

The Correct answer is: Stress / Load Testing

Question
Testing process is best described as:

Select one:
a. Executing a program to validate its performance
b. Executing a program with the intent of finding errors
c. Executing a program to validate its efficiency
d. Executing a program to sign-off its accuracy

The Correct answer is: Executing a program with the intent of finding errors

Question
Alpha Testing is:

Select one:
a. Post- release testing by end user representatives at the developer's site
b. Pre- release testing by    end user represe ntatives at   their sites
c. Pre- release testing by end user representatives at the developer's site
d. The first testing that is performed

The Correct answer is: Pre- release testing by end user representatives at the developer's site


Question
A black-box test technique is

Select one:
a. Independent of implementation
b. Based on specifications
c. All
d. A functional testing focuses on input and corresponding output

The Correct answer is: All

Question
Boundary Value Analysis focuses on:
Select one:
a. The boundary of the input space to identify test cases
b. The boundary of the output space to identify test cases
c. None
d. The boundary of the inner space to identify test cases

The Correct answer is: The boundary of the input space to identify test cases

Question
What are the criteria for good Test Cases?

Select one:
a. Neither too simple nor too complex
b. All
c. High probability of finding a defect which is yet to be discovered
d. It is not redundant

The Correct answer is: All

Question
Which of the following would form a part of a test plan?

1. Features to be tested
2. Incident Reports
3. Risks
4. Schedule

Select one:
a. 1,3 and 4 only
b. 2 and 4 only
c. 1 only
d. 1  and  3 only

The correct answer is:1,3 and 4 only

Question 
Find the Equivalence class for the following test case. Enter a number to test the validity of being accepting the numbers between 1 and 99

Select one:
a. Number = 0
b. All numbers 99
c. All numbers greater than 99
d. All numbers between 1 and 99

The correct answer is: All numbers between 1 and 99

Question 
Equivalence partitioning examples in RL 3 discusses

Select one:
a. Finding max of two numbers only
b. Finding max of 1 to 1000 numbers and max of two numbers
c. Finding max of 1000 numbers and max of three numbers
d. Finding max of two numbers and max of three numbers

The correct answer is: Finding max of 1000 numbers and max of three numbers

Question 
Consider the statement, “If number is divisible by 33 then number is divisible by 3 and by 11.” Which of the following statements is equivalent to this statement?

Select one:
a. If number is divisible by 3 and divisible by 11 then number is divisible by 33.
b. If number is not divisible by 33 then number is not divisible by 3 or not divisible by 11.
c. If number is not divisible by 3 or not divisible by 11 then number is not divisible by 33.
d.  If number is not divisible by 33 then number is divisible by 3 or divisible by 11.

The correct answer is: If number is not divisible by 3 or not divisible by 11 then number is not divisible by 33.

Question 
An input field takes the number from 10 to 50. The boundary values for testing this field are:

Select one:
a. 9,10,50,51
b. 10,30,50
c. 10,15,50,55
d. 9,30,51

The correct answer is:  9,10,50,51

Question 
Code reviews is a part of

Select one:
a. Dynamic testing
b. Static Testing
c. Static and Dynamic testing
d. None

The correct answer is: Static Testing

Question 
Boundary Value Analysis focuses on:
Select one:
a. The boundary of the input space to identify test cases
b. The boundary of the output space to identify test cases
c. The boundary of the inner space to identify test cases
d. None

The correct answer is: The boundary of the input space to identify test cases

Question 
Bug life cycle

Select one:
a. Assigned, Open, Closed, Fixed
b. Open, Assigned, Fixed, Closed
c. Assigned, Open, Fixed, Closed
d. Open, Fixed, Assigned, Closed

The correct answer is: Open, Assigned, Fixed, Closed

Question 
Boundary value testing

Select one:
a. Test boundary conditions on, below and above the edges of input and output equivalence classes
b. Tests combinations of input circumstances
c. Is used in white box testing strategy
d. Is the same as equivalence partitioning tests?

The correct answer is: Test boundary conditions on, below and above the edges of input and output equivalence classes

Question 
Identify the invalid Set operation

Select one:
a. Union
b. Complement
c. Addition
d. Intersection

The correct answer is: Addition

Question 
Which one of the statements is  - BVA is to use input variable values at
Select one:
a. Only on normal, minimum and just above the minimum
b. Only on normal, maximum and just below maximum
c. Only on normal, minimum, just above minimum, maximum and just below maximum
d. Only on normal and minimum values but not on maximum values

The correct answer is: Only on normal, minimum, just above minimum, maximum and just below maximum

Question 
A lock which opens with a sequence of digits is an example for

Select one:
a. Regular lock
b. Combination lock
c. Permutation lock
d. Both Permutation and Combination lock

The correct answer is: Permutation lock

Question 
Which of the following is an example of an Error-handlingTesting?

Select one:
a. Attempted access without a proper password to the on-line data entry and display transactions (notification to the user of invalid authentication) will be tested.
b. System is stressed beyond its specifications to check how and when it fails. Performed under heavy load like putting large number beyond storage capacity, complex database queries, and continuous input to system or database load.
c. Testing evaluated against the performance requirements by measuring the run times of several jobs using production data volumes
d. Testing to confirm that app can recover from all types of errors when they occur without terminating the application.

The correct answer is: Testing to confirm that app can recover from all types of errors when they occur without terminating the application.

Question 
Which of the following statements about functional testing is true?

1. Structural testing is more important than functional testing as it addresses the code
2. Functional testing is useful throughout the lifecycle and can be applied by business analysts, testers, developers, and users.
3. Functional testing is more powerful than static testing as you actually run the system and see what happens.
4. Inspection is a form of Functional Testing.

Select one:
a. 1 and 3 only
b. 2 only
c. 1 only
d. 2 and 4 only

The correct answer is:  2 only

Question
Which of the following types of testing are carried out for an erroneous input by the end user?

Select one:
a. Performance testing
b. Error handling testing Correct
c. Conversion testing
d. Parallel testing

The correct answer is: Error handling testing

Question 
Which one of the following represents the Specification Based Testing only?

Select one:
a. Decision Tables, Ad-hoc, Exploratory, Control Flow
b. Decision Tables, Boundary Value Analysis, Equivalence Partitioning
c. Boundary Value Analysis, Control Flow, Data Flow
d. Equivalence Partitioning, Decision Tables, Data Flow

The correct answer is: Decision Tables, Boundary Value Analysis, Equivalence Partitioning

Question
V-Process Model can be used for the development of R&D Projects

Select one:
a. I Don't Know
b. False
c. True

The correct answer is: False

Question 
Which of the following models is most appropriate for R&D oriented projects?

Select one:
a. Waterfall Model
b. Rapid protoyping
c. Incremental development
d. Research-and-Risk Model

The correct answer is: Rapid protoyping

Question 
Pick the correct statement from the following:

Select one:
a. IF uncertainty is high, THEN use incremental approach
b. IF schedule is tight THEN use evolutionary or incremental
c. IF complexity is high but uncertainty is not THEN use evolutionary approach
d. IF uncertainty and complexity both low THEN use Prototype model

The correct answer is: IF schedule is tight THEN use evolutionary or incremental

Question 
Identify the common Agile Project Management method:

Select one:
a. Software Development Life Cycle (SDLC) Model
b. FlexPlan Model
c. SCRUM Methodology
d. V-Process Model

The correct answer is: SCRUM Methodology

Question 
What should a project manager do or follow to ensure clear boundaries for project completion?
Select one:
a. scope definition
b. Scope verification
c. Completing a scope statement
d. Risk management plan

The correct answer is: Completing a scope statement

Question 
Project requirements continuously change, but change can be easily accommodated in a software project as per customer’s demand when:

Select one:
a. Meeting Customer Expectation is of High Priority
b. Software is written in High-Level Language which is flexible
c. Scope Change is included in the Master Contract
d. There is no impact on Schedule or Cost or Quality

The correct answer is: There is no impact on Schedule or Cost or Quality

Question
Any Project will have a set of Activities that are practical to implement:

Select one:
a. I Don't Know
b. TRUE
c. FALSE

The correct answer is: TRUE

Question 
If you were to choose one factor that significantly differentiates IT projects from non-IT projects, what would that be?

Select one:
a. Technology advances
b. Communication
c. Volatile Requirements
d. Environmental Risk

The correct answer is: Volatile Requirements

Question 
Which of the following tools of Project Management indicates who is responsible for what?

Select one:
a. Activity network chart
b. Resource levelling chart
c. Programme evaluation chart
d. Resource assignment chart

The correct answer is: Resource assignment chart

Question 
Contract Manager is also Project Manager who: (select the most appropriate answer)

Select one:
a. Manages project on behalf of the client
b. Deals with contractual terms of the out-sourced project
c. Delegates his/her responsibility to vendor organization
d. Reports project status to stakeholders in the client organization

The correct answer is: Manages project on behalf of the client

Question 
Calculation of Payback period of a project provides the organization :

Select one:
a. The overall income that the implemented system should produce, less any initial investment
b. An assessment of how quickly an implemented system will produce a profit
c. How much future income from an implemented project will be worth in present day terms
d. The discount rate that would give a payback with a net present value of zero

The correct answer is: An assessment of how quickly an implemented system will produce a profit

Question 
Which of the following is NOT a Project?

Select one:
a. Building of a large ERP System
b. Development of a Software Product
c. Customer Support Call Handling
d. Design of a next generation SmartPhone

The correct answer is: Customer Support Call Handling

Question 
Identify from the below who is NOT a typical project stakeholder: 

Select one:
a. End-user of the Project
b. Shareholder of the vendor organization
c. Project Manager 
d. CFO of the client organization

The correct answer is: Shareholder of the vendor organization

Question 
Which is the important attribute for Agile Project Management?

Select one:
a. Detailed Requirements Capture
b. Clear Requirements
c. Constant Communication
d. Customer Conflict Resolution

The correct answer is: Constant Communication

Question
Which definition is best suited for a well-defined process?

Select one:
a. Something which cannot be measured, cannot be controlled
b. Something which can be measured, cannot be controlled
c. Something which cannot measured, can be controlled
d. None

The correct answer is: Something which cannot be measured, cannot be controlled

Question
Which one of the following best represents the attributes of Software Quality?

Select one:
a. Reliability, Efficiency and Cost
b. Portability, Reliability and Efficiency
c. Scalability, Testability and Effectiveness
d. Usability, Security and Marketability

The correct answer is: Portability, Reliability and Efficiency

Question 
Defects are least costly to correct at what stage of the development cycle?

Select one:
a. Analysis and Design
b. Requirements
c. Testing
d. Coding

The correct answer is: Requirements

Question 
Number of unique test cases generated in Robust Worst-Case Boundary Value Analysis for a function of n variables is

Select one:
a. 5n+1
b. 5^n
c. 7n+1
d. 7^n

The correct answer is: 7^n

Question 
What is Black-Box testing technique?

Select one:
a. A testing technique where implementation details are not tested
b. A testing technique where implementation details are tested
c. A testing technique where program structure are tested.
d. All

The correct answer is: A testing technique where implementation details are not tested

Question 
A committe of five is to be formed from six ladies and four gentlemen.In how many ways this can be done so that the committee contains exactly two ladies:

Select one:
a. 40
b. 60
c. 30
d. 15

The correct answer is: 60

Question 
Strong Normal Equivalence Class testing is:

Select one:
a. At least one test is selected from each of the multidimensional sub domain
b. Based on a multiple fault assumption
c. Test Cases are derived out of the Cartesian product of equivalence classes
d. All

The correct answer is: All

Question 
In how many ways can the letters of the word VOWEL be arranged so that the words begin with V but do not end with L?

Select one:
a. 24
b. 18
c. 120
d. 6

The correct answer is: 18

Question 
Number of unique test cases generated in Normal Boundary Value Analysis for a function of n variables is

Select one:
a. 5n+1
b. 4n+1
c. 6n+1
d. 5*n

The correct answer is: 4n+1

Question 
Which process is applied to break down the project in to smaller and more manageable elements?

Select one:
a. Scope Estimation
b. Activity Duration Estimation
c. Work Break-Down Structure
d. Schedule Planning

The correct answer is: Work Break-Down Structure

Question
In testing of the following things, where do we need to focus more on security aspects?

Select one:
a. Tea/Coffee Vending Machine
b. Refrigerator
c. Washing Machine
d. Automated Teller Machine

The correct answer is: Automated Teller Machine

Question
Find the invalid equivalence class for the following test case. Draw a line up to the length of 4 inches

Select one:
a. Line with 1 dot-width
b. line with 1 inch.
c. line with 4 inches
d. Curve

The Correct answer is: Curve

Question 
Types of Equivalence Classes are

Select one:
a. All
b. Weak Normal, Strong Normal, Weak Robust, Strong Robust
c. Weak Normal, Robust Normal, Weak Robust, Strong Robust
d. Weak Normal, Strong Normal, Weak Robust, Normal Robust

The Correct answer is: Weak Normal, Strong Normal, Weak Robust, Strong Robust

Question 
Which one is the valid recommendation for identification of valid equivalence class?

Select one:
a. No need to look for membership in a group
b. No need to look for range in numbers
c. Equivalence class for invalid inputs
d. None

The Correct answer is: Equivalence class for invalid inputs

Question 
One technique of Black Box testing is Equivalence Partitioning. In a program statement that accepts only one choice from among 10 possible choices,numbered 1 through 10, the middle partition would be from _____ to _____

Select one:
a. 0 to 10
b. 4 to 6
c. None
d. 1 to 10

The Correct answer is: 4 go 6

Question
Strong Normal Equivalence Class testing is:

Select one:
a. All
b. Based on a multiple fault assumption
c. At least one test is selected from each of the multidimensional sub domain
d. Test Cases are derived out of the Cartesian product of equivalence classes

The correct answer is: All

Question 
Test strategy is prepared as part of

Select one:
a. Test cases
b. Test Plan
c. Test scenarios
d. Test Procedure

The Correct answer is: Test Plan

Question 
A man has 3 sons and there are 7 schools in the town. In how many ways can he send his sons to schools, so that no two of them read in the same school?

Select one:
a. 37
b. 210
c. 343
d. 18

The Correct answer is: 210

Explained: The number of ways of admitting 3 sons into 7 schools if no two of them will be in the same:



Question 
Assume postal rates for ‘light letters’ are:$0.25 up to 10 grams;$0.35 up to 50 grams;$0.45 up to 75 grams;$0.55 up to 100 grams Which test inputs (in grams) would be selected using boundary value analysis?

Select one:
a. 0, 9, 19, 49, 50, 74, 75, 99, 100
b. 0, 1, 10, 11, 50, 51, 75, 76, 100, 101
c. 10, 50, 75, 100, 250, 1000
d. 25, 26, 35, 36, 45, 46, 55, 56

The Correct answer is: 0, 1, 10, 11, 50, 51, 75, 76, 100, 101

Question 
What would be the first step in project planning
Select one:
a. select a team organizational model.
b. establish the objectives and scope.
c. determine the budget.
d. determine the project constraints.

The correct answer is: establish the objectives and scope.

Question 
TCP is a Data-link Layer Protocol in OSI Network Model

Select one:
a. I Don't Know
b. True
c. False

The correct answer is: False

Question 
Which definition is best suited for a well-defined process?

Select one:
a. Something which cannot be measured, cannot be controlled
b. Something which can be measured, cannot be controlled
c. Something which cannot measured, can be controlled
d. None

The Correct answer is: Something which can be measured, cannot be controlled

Question 
Your organization is considering to run a project which will entail an investment of Rs 1,00,00,000. The product from the project is forecasted to create revenues of Rs 25,00,000 in the first year after the end of the project and of Rs 42,00,000 in each of the two following years. What is true for the net present value of the project over the three years cycle at a discount rate of 10%?

Select one:
a. The net present value is positive, which makes the project unattractive.
b. The net present value is negative, which makes the project unattractive.
c. The net present value is negative, which makes the project attractive.
d. The net present value is positive, which makes the project attractive.

The correct answer is: The net present value is negative, which makes the project unattractive.

Question 
Which of the following is NOT a characteristic of a Project?

Select one:
a. Uniqueness
b. Routine activity
c. Limited resources
d. Interrelated tasks

The correct answer is: Routine activity

Question
The output of product testing is:

Select one:
a. Test Data
b. Test Reports
c. Test Plan
d. Test Cases

The correct answer is: Test Reports

Question 
Software Quality Assurance activities are integral part of:

Select one:
a. ISO-9001 compliance
b. Project planning
c. Total Quality Management
d. Business planning

The correct answer is: Project planning

Question 
The Quality Management Standard adopted by Wipro Technologies for Software Development is:

Select one:
a. Quality Assurance Model
b. ISO 14001
c. Six-Sigma   
d. ISO 9000

The correct answer is: ISO 9000

Question 
Which one of the statements is correct - BVA is to use input variable values at

Select one:
a. Only on normal, minimum, just above minimum, maximum and just below maximum
b. Only on normal, minimum and just above the minimum
c. Only on normal and minimum values but not on maximum values
d. Only on normal, maximum and just below maximum

The correct answer is: Only on normal, minimum, just above minimum, maximum and just below maximum

Question
What are the goals of Software Testing?

Select one:
a. To show that the software system satisfies the requirements and performs as expected
b. All
c. To have “confidence” in the software system
d. To find defects and ensure software quality

The correct answer is: All

Question 
JavaScript is an Object-Oriented version of Java Programming language

Select one:
a. I Don't Know
b. True
c. False

The correct answer is: False

Question 
"I hereby declare I am honest in all my statements and affirm that I sincerely answered all the Questions by myself based on my understanding of the topic, and I seek clarification on any Question/Answer by sharing it with my Faculty during the regular Contact-sessions."

Select one:
True
False

Congratulations....Wish You Happy Learning.

The correct answer is 'True'.

Question 
Your organization is considering to run a project which will entail an investment of Rs 1,00,00,000. The product from the project is forecasted to create revenues of Rs 25,00,000 in the first year after the end of the project and of Rs 42,00,000 in each of the two following years. What is true for the net present value of the project over the three years cycle at a discount rate of 10%?

Select one:
a. The Net Present Value is negative, which makes the project attractive
b. The Net Present Value is positive, which makes the project attractive.
c. The Net Present Value is negative, which makes the project unattractive
d. The Net Present Value is positive, which makes the project unattractive

The correct answer is: The Net Present Value is negative, which makes the project unattractive

Question
Shareholder of company can also be one of the Stakeholders in a Project

Select one:
a. I Don't Know
b. True
c. False

The correct answer is: False

Question 
ISO 9001:2000 is a standard that defines which of the following?

Select one:
a. IT Project Deliverables 
b. Software Testing Procedures
c. Project Management Standard 
d. Quality Management Systems 

The correct answer is: Quality Management Systems

Question 
Metrics Baselining for a project primarily involves:

Select one:
a. Defining a reference standard for measurement
b. Collection of data from past projects
c. Estimating target schedules
d. Identifying industry benchmarks

The correct answer is: Collection of data from past projects

Question 
Which of these would be the best way to improve morale, motivate workforce and avoid frustration during the software development process?
Select one:
a. Give team members less control over process and technical decisions.
b. Hide bad news from the project team members until things improve.
c. Reward programmers based on their productivity.
d. Give team members more control over process and technical decisions.

The correct answer is: Give team members more control over process and technical decisions.

Question 
The best strategy for a project manager when he/she receives  a complaint from customer regarding already late (schedule over-runned software project) is: 

Select one:
a. Add more people to the project
b. Renegotiate schedule with customer
c. Part-delivery of requirements
d. Training the project team

The correct answer is: Part-delivery of requirements

Question 
Which of the following is found to contribute significantly to software project problems?

Select one:
a. Poor programming skills
b. Poor requirements capture
c. Insufficient Testing & Validation
d. Unavailability of software architects

The correct answer is: Poor requirements capture