Elance Software Testing Test Answers 2015


Signs of a mature tester include:
Have been through full software development cycle
Can stand up to development and fight for bugs to be fixed
Can handle having 100 straight bugs marked as won't fix
all of the these


What is reliability testing?
A field of testing in which deals with testing a software's ability to function for a particular amount of time
A field of testing in which deals with testing a software's ability to function under given environmental conditions for a particular amount of time
An assessment that requires an examinee to actually perform a task or activity, rather than simply answering questions referring to specific parts
A test conducted to determine if the requirements of a specification or contract are met


Why would a tester use equivalence class testing?
The tester is unsure of all the input data sets.
The tester has knowledge of the internal structures of the software.
The tester wants to reduce the total number of test cases that need to be developed.
The tester wants to test all possible input data.


What is the other name of All-Pairs Testing?
Parallel Testing
Pairwise Testing
Combined Testing
All of Them
Null Testing


Testing an object without execution on a computer is known as _____.
stub testing
non-functional system testing
static testing


Which of these are NOT phases of the "IDEAL" organizational improvement model?
Establishing
Acting
Imagining
Diagnosing


What is a branch?
A conditional transfer of control from any statement to any other statement in a component
a mechanism to produce the expected outcomes to compare with the expected outcomes of the Software Under Test (SUT)
Deviation of the software from its expected delivery or service
Operational testing at a site not otherwise involved with the software developers


Which Software Development Life Cycle model requires testing activities to start at the same time as development activities?
V model
Waterfall model
Spiral model
Linear model


If a input box accepts value of range 1-1000, then the following answers are FALSE if using EP technique
all of these
invalid value above 1000
valid value from range 1 - 10000
invalid value below 1


5th Level in TMM
measurement
Definition
Optimisation
Integration


True or False? Glass Box testing and White Box testing are functionally very different tests.
False
True


Which is not part of a test plan?
Test Templates
Retrospect report
(all of these)
Test Schedule
Roles and Responsibilities


Stress testing does NOT place an emphasis on which of the following?
Performance under a heavy load
Availability under a heavy load
Robustness of the software
Unexpected user input


Which testing method tests internal structures or workings of a program, as opposed to the functionality exposed to the end user?
white-box testing
black-box testing
alpha testing
compatibility testing


True or False? QA and software testing are synonyms.
False
True


________ is the process that developers go through to identify the cause of defects in code and undertake corrections.
Development
Debugging
Testing
Code Review


What kind of tools would you use for the automation of regression tests?
Debugging tools
Static analysis tools
None of these
Capture and playback tools


What type of testing is component testing?
Beta testing
Integration testing
Acceptance testing
Unit testing


In what order should tests be run?
The most important tests last.
The most important tests first.
The most complex tests first.
The simplest tests first.


True or false? Zero and one are typically in the same equivalence class.
True
False


How do you ensure that all requirements have been met?
Completed Test incident Report
Completed Test Summary Report
Completed Path Analysis
Completed Code Coverage Analysis
Completed Requirements traceability matrix


Which model is most suitable for rapid development
Agile Development
Waterfall model
Spiral model
V-model


________ is the process of executing a program or piece of software with the intent of finding an error.
Testing
Test planning
Software Quality Assurance
Risk reduction


If an expected result is not specified, then:
It may be difficult to repeat the test
It is not possible to run the test
We cannot automate the user inputs
It may be difficult to determine of the test has passed or failed


True or False? User acceptance testing is typically among the first tests performed.
True
False


True or false? Zero and null are the almost always the same from a test perspective.
TRUE
False


What is Regression Testing?
Checking the side effects after the changes
Checking the changes and checking the side effects after the changes
None
Checking the changes


What is one of the reasons to have independent software testing teams?
Software engineers don't need to do testing
Reduces tension between testers and developers
A test team will test the software more thoroughly
Testers do not get involved before the code is written


Which of the following is a Performance testing tool?
Soap UI
Sahi
Selenium
QTP
Load Runner


What is unit testing?
Tests that seeks to verify the interfaces between components against a software design
Tests that verify the functionality of a specific section of code
Assures that the system is installed correctly and working at actual customer's hardware
Tests a completely integrated system to verify that it meets its requirements


True or false? Stress testing doesn't work in an agile model.
True
False


When should the testing team start planning the test of a given software release?
Only after the code was written
As early as possible
Testing teams don't plan the testing, the developers do
There is no need to plan, testing is done by the specs


_____________ tests the functionality of the software without knowledge of the internal structures, design, or implementation of the software.
Whitebox testing
Beta testing
Blackbox testing
Performance testing


Which of the following is typically NOT included in a test case?
Related design decisions
Test case ID
Pass/Fail indicator
Related requirements


What is the difference between re-testing and regression testing?
Re-testing ensures the original fault has been removed; regression testing looks for unexpected side-effects
No difference, they are the same thing
Regression testing ensures the original fault has been removed; Re-testing looks for unexpected side-effects


How often should software engineers test their code?
Only where there is no testing team
Only on complex code; they should focus on developing
Only on new features; old features are already tested
Always


Who performs beta testing?
Software Engineer
Software Project Manager
Customer
Developer


____________ is a testing method that divides the input data set into classes of data for the test cases.
Equivalence Partitioning
Beta testing
Whitebox testing
Performance testing


Non-Functional Software testing performed to check if the user interface is easy to use and understand is known as:
Unit Testing
Security Testing
Usability Testing
White Box Testing


What is the difference between testing and debugging?
Testing is the initial detecting of errors and debugging is the isolation and correction of errors
Testing and debugging are interchangeable terms and essentially the same activity
Debugging is a very cursory overview of the code and testing is a much more rigorous attempt at fixing the error
Testing is typically performed by amateurs as a hobby and debugging is typically performed by professionals


A collection of test cases is also commonly known as a ______.
scenario test
test compilation
bug pool
test suite


Describe Risk Analysis
Analysis of how customers will react on software problems.
Project manager's responsibility only.
Actions taken to avoid things that might negatively impact the scope, quality, timeliness or cost of the project.
Assessing the risk of not hiring enough testers for the project.
Marketing meeting where new features are discussed.


Which of the following is the name of a popular automated testing tool?
QAT
QTP
PTQ
TPQ
CuteTP


True or False? The cost of correcting defects at an early stage in the Software Development Life Cycle is less than correcting them at a later stage.
True
False


With 100,000 users on a typical day how many page views would there be?
depends
100000
200000
300000


Software testing which is done without planning and documentation is known as:
Ad-hoc Testing
Functional Testing
Unit Testing
Grey box Testing


A ____________ is a description of inputs, execution steps, and expected results written in order to determine if a specific requirement has been met or whether a specific software feature works correctly.
Code Review
Test Case
Test Step
Specification


Software testing is the process of validating and verifying that a system:
All of these
Functions properly under specific conditions
Works as expected
Meets its requirements


Which one of the following is NOT a commonly used tool for automating testing?
Selenium
Test Studio
Drupal
QTP


___________ tests the stability and responsiveness of the software under a particular workload.
Functional testing
Performance testing
Whitebox testing
Blackbox testing


True or False? Software verification and software validation are the same thing.
False
True


What is a test plan?
Document that describes the objectives, scope, approach and focus of software testing effort.
Developed by business analysts to meet the requirements.
Table of content followed by multiple characters.
Collective work of QA team on software testing risks.


Which of the following is NOT a software testing approach type?
Gray box
Black box
White box
Red box


The most relevant meaning of SDLC in relation to software testing is:
Software Development Learning Center
Software Development Life Cycle
Software Detection Life Cycle
Severe Defects Life Cycle
Software Defects Life Cycle


BVT stands for ______.
bane of my very existence
build verification tests
busy variation testing
build validation topic


A solid program manager should be ____
III. both a tester and a program manager
all of the these
II. great at managing business requirements
I. great at specs and schedules


__________ is testing performed by the customer, usually at the customer's site, immediately prior to release.
Blackbox testing
Unit testing
Beta testing
Whitebox testing


_____________ tests the performance of the system under a heavy load.
Blackbox testing
Stress testing
Configuration testing
Performance testing


Which of the following (combinations of) individuals would be present during a formal inspection?
Author/producer, reader, inspector
All of these
Inspector, recorder
Moderator, author/producer, reader


True or false? All tests should be automated by the end of the product cycle.
False
True


Which of the following is a technique used in black-box testing?
API testing
Statement coverage
Mutation testing
Boundary value analysis


A simple performance test is basically ___
running code coverage and monitoring resources
running stress tests and monitoring resources
running BVT and monitoring resources


What is the main purpose of use case testing?
To identify defects in process flows related to typical use of the system.
To identify defects in the system related to extreme scenarios.
To identify defects in the connections between components.
To identify defects in the system related to the use of unapproved programming practices.


In which testing method are the internal structures, design, implementation of the software known at the time of testing?
Performance testing
Whitebox testing
Blackbox testing
Beta testing


What does BCT stand for?
Boundary compatibility Testing
Black Code Testing
None of these
Browser Compatibility Testing
Box Clear Testing


What is boundary value testing?
Tests that are "on the boundary" and should be considered to be removed from the test plan due to their low value
Test the boundary between memory and disk to avoid security attacks
Test boundary conditions as far as possible from the edges of input and output equivalence classes
Test boundary conditions on, below and above the edges of input and output equivalence classes
Test the boundary between the browser and server to avoid security attacks


Which of the following is not a type of performance testing?
Load testing
Stress testing
Beta testing
Configuration testing


______ tests how well the user will be able to understand and interact with the system.
User Acceptance Testing
Usability Testing
Beta Testing
Alpha Testing


Complete this sentence as best as possible: Equivalence partitioning __________.
divides the input data into partitions
partitions the tests between equal time spans
divides the test equally between the testers
tests whether disk partitions are equally distributed


When a new testing tool is purchased, it should be used first by:
The independent testing team
A small team to establish the best way to use the tool
Everyone who may eventually have some use for the tool
The vendor contractor to write the initial scripts


Which of the following is NOT an activity completed during test planning?
Test tool selection
Preparation of test strategy document
Test effort estimation
Create test cases


Which of the following is NOT true?
In TDD, tests are written even before the code
A test suite is a collection of test cases
Acceptance tests check client-defined requirements and scenarios the product must meet
Performance is one of the things functional tests must check


Which of the following is NOT an advantage of blackbox testing?
Testing can find discrepancies between the software and the specifications.
Testing can help optimize the code.
Testers can be non-technical.
Test cases can be written as soon as the functional specification is complete.


Elements of an excellent tester include ____
Can delegate testing work back into the development team
(none of these)
Can stay up all night in crunch time
Lazy enough to not want to do things more than once


What is difference between Pilot Testing and Beta Testing?
Difference are vague
Pilot Test involve Small group of end users but beta test involve large group
No difference
Beta Test involve small group of end users but Pilot Test involve large group


________ is the degree to which a piece of software can be tested.
Software Quality
Testability
Test Risk
Test Planning


What is a browser matrix?
something that can wait until the last sprint
a list of browsers that could be tested on
a committed document between management and testing about which browsers and screen sizes are supported
a list of browsers that each tester needs to have in their office


A tester needs to think like _____
an end user
a developer
a business owner
(all of these choices)


True or false. Once all the bugs are fixed, ship the product.
False
True


Which of the following is NOT a characteristic of a good test case?
The test case has a high probability of finding an error.
The test case tests invalid inputs.
The test case is neither too simple nor too complex.
The test case is dependent on other test cases.


A program point where the control flow has two or more alternative routes is known as what?
An incident
A decision
A route gate
A driver


Which of the following is NOT a reason to perform stress testing?
The user interface must be intuitive.
The testing is trying to find race conditions and deadlocks.
The software is considered “mission critical”.
The typical load of the software is unknown at the time of testing.


Which of these instances of finding a software defect will result in the least loss of time and money to fix?
A bug in the design is found during design review
The developer finds the bug during Sanity Testing
A peer finds the bug during code review
The customer finds the defect in production
QA Engineer finds the bug a day before releasing


Using Performance Tests to project server specs and server scale requires:
This isn't a function of performance tests
you to run each function in loops in isolation and apply resource usage to the projected load
you to run the load test and monitor resource usage and rescale according to hardware differences
you to run code coverage tests with resource monitoring and adjust to the projected load


Stress testing should start ______.
immediately following integration
immediately on day one
immediately following unit test complete
the week before ship


Load Testing is ______
I. modelling a typical day of user activity
III. modelling the user activity on a busy traffic day
II. creating a giant load to find where the system falls apart
both I and III


True or false? Ajax enabling a website increases the number of server requests.
FALSE
True


True or false? Simultaneous execution is a minor effect in performance testing.
False
TRUE


TMM Means
Testing Management Model
Testing Maturity Model
Testing measurement Model


Testing should be stopped when
It depends on the risks for the system been tested
Time has run out
All faults have been fixed correctly
All the planned testcases have been run


True or False? Instrumentation is performed by coverage measurement tools in pre-compiler pass.
True
False


Which of the following is a good way to grade a tester?
most ship stopper bugs
on time test delivery
bug count / no repro count


What is mutation testing?
Purposely modifying an application in order to see if the testing suite will reject it
Testing the functionality of an application without knowledge of the application's code/internal structure
A technique in which all possible branches of the program's source code are tested at least once
Testing with the specific purpose of seeing how a system will perform in the future


__________ uses short development cycles where a test is written prior to code.
Test Driven Development
Agile Development
Software Development
Software Engineering


Which of the following is NOT a common resolution type for a defect?
Could not reproduce
Closed - fixed
As designed
Reopened
Refactored


True or false? All WC3 errors should be fixed to ship.
TRUE
False


Stress testing hardware must be _____
any old server will work fine
scaled appropriately to the test load
exactly the same as production to get the right results


Running a system at high load for an extended period of time is called:
Drive testing
Soak testing
Structural testing
Smoke testing


______ is a method of testing where the software isn't used that checks the sanity of the code or algorithm.
Dynamic testing
Static testing
Beta testing
Performance testing


RC1 stands for ______.
release candidate #1
regression certification level one
releasable code milestone 1
RC cola baby!


A system includes a database server, a caching server, and an application server. How many integration points are there?
six
need more information
three


Test driven development (TDD) refers to what?
Writing tests for untested legacy code before introducing new features
Writing a failing test first and then writing the minimum amount of code to make it pass
Writing new code alongside already tested code
Writing one method and then thoroughly writing tests for it


Executing the same test case by changing the input on the same build is called:
Regression Testing
Sanity Testing
Ad-hoc Testing
Re-testing


Who should perform validation testing?
Technical Lead
Developer
Customer
Project Manager


Which of the following is non-incremental testing?
Big bang testing
Top-down testing
Bottom-up testing
Stab testing


When should the test environment setup be done?
In parallel with test case development
After test case development is completed
In parallel with test execution
During the requirements phase


Verification is:
Performed by an independent test team
Making sure that it is what the user really wants
Checking that we are building the right system
Checking that we are building the system right


Which of the following is a structure-based (white-box) technique?
State transition testing
Statement testing
Decision table testing
Boundary value analysis


Which of the following statements is NOT true?
Component testing should be performed by development
Component testing is also known as isolation or module testing
Component testing does not involve regression testing
Component testing should have completion criteria planned


Which of the following is NOT a reason to believe two test cases will produce the same result and fall in the same equivalence class?
They involve the same input variables.
They affect the same output variables.
They result in similar operations in the program.
If one catches a bug, the other probably will not.


Which of the following is NOT a way stress may be placed on a piece of software?
Test all user input fields
Double the baseline number of concurrent users
Run processes that consume a lot of resources
Take the database offline, then restart it


Testing only the changes or modifications is called
Emigration
Regression
Progression
Retesting
Adoptation


True or False? CAST stands for Computer-Aided Simple Testing?
False
True


A sports team plays 3 games a season. How many tests does a comprehensive test plan need to cover all the possible season results?
3
11
4
5


Power outage testing is part of ________.
performance testing
edge case testing
stress testing
integration testing


________________ is the process of evaluating software to ensure it meets the customer’s requirements.
Software Quality Assurance
Verification
Validation
Software Engineering


‘Be bugging’ is known as
Adding known defects by seeding
Preventing the defects by inspection
Fixing the defects by debugging
A process of fixing the defects by tester


Which of the following is NOT a form of dynamic testing?
Use case testing
Data Flow Analysis
Exploratory testing
Equivalence Partitioning


An operator verifies that all production jobs are run. This is:
Quality Control
Quality Assurance
Production planning
Disaster recovery


What type of performance testing would you want run repeatedly to ensure consistent system performance?
Soak testing
Benchmark testing
Regression testing
Beta testing


Inspections can find all the following except?
Spelling and grammar faults in the documents
How much of the code has been covered
Requirements that have been omitted from the design documents
Variables not defined in the code


Resource hog tools are part of ________.
integration testing
performance testing
stress testing


All of the following might be done during unit testing except
Manual support testing
Desk check
Compiler based testing
Walkthrough


Which of the following is NOT a characteristic or factor in testability.
Controllability
Understandability
Robustness
Observability


How stable is the ZBB build?
sort of stable
very stable
the least stable


Which one of the following is NOT a reason for automating software testing?
To find additional defects missed by manual testing.
Rapid feedback for the developers is needed.
The team needs to do regression testing.
There is a tight deadline to release the software.


How many equivalence classes are there for testing an integer?
4
6
10
8


A function int abs(int input) has how many equivalence classes?
10
6
8
4


The function max(a,b) has how many equivalence classes?
5
9
7
3


Which of the following can inspections NOT find?
How much of the code has been covered
Requirements that have been omitted from the design documents
Spelling and grammar faults in the documents
Variables not defined in the code


In a TDD model:
a test review is done before coding starts
a test case outline is constructed during the first sprint
only failing test cases cause code to be written
unit tests aren't necessary


What is the major advantage of bottom-up integration testing?
Regression testing is not required
No drivers need to be written
Major decision points are tested early
No stubs need to be written


An expert based test estimation is also known as
Narrow band Delphi
Bespoke Delphi
Wide band Delphi
Robust Delphi


Methodologies adopted while performing Maintenance Testing?
Confirmation Testing
Breadth Test and Depth Test
Retesting
(none of these)
Sanity Testing


From the below given choices, which one is the ‘Confidence testing’
System testing
Regression testing
Sanity testing
Smoke testing


Which of these is a sql injection attack for login?
password OR 1'
OR 1 '
OR 1
' OR 1


ZBB stands for ______.
zero bvt build
zebras build boats
zero bug build
zero bug bounce


________________ is the process of evaluating software to ensure it meets the specified requirements.
Validation
Software Design
Verification
Software Quality Assurance


When should test cases be written?
In parallel with design
Immediately after requirements are completed
In parallel with development
Immediately after development is complete


Out of these Testing levels,for which level ,the White box testing is not viable:
Unit Testing
Regression Testing
Integration Testing
System Testing


How many ways are there to make 100 cents with identical American currency units?
7
4
5
6


What value test function will get function test (+'5') { }
null
5
function s() { }
undefined


What is the name of an analysis method that determines which parts of the software have been executed by the test case suite, and which parts have not been executed and therefore may require additional attention?
Test Design
Gap Analysis
Code Coverage
Requirement Traceability


‘Defect Density’ calculated in terms of
The number of defects identified in the component or system divided by the number of defects found by a test phase
The number of defects identified in a component or system divided by the size of the component or the system
The number of defects found by a test phase divided by the number found by the size of the system
The number of defects found by a test phase divided by the number found by that test phase and any other means after wards


Flip a coin. Using a software testing mindset, how many outcomes are possible?
3
4
2


Stress testing should use ____
the same initial values on each run until it runs clean
a pseudo random initial value to maximize debuggability
a random initial value to maximize coverage
an incrementing initial value for ease of replay


What error would occur if event B occurs before event A, with event A being the intended first completed event?
An infinite loop
An access violation
A deadlock
A race condition


__________ is the set of procedures used throughout the software lifecycle to ensure the software will meet its requirements.
Planning
Software Quality Assurance
Software Quality Control
Testing


which one is NOT the correct ordering of formal review process?
Planning,Preparation,kick-off,Review meeting,Follow-up,Rework
Planning,kick-off,Preparation,Review meeting,Rework,Follow-up
Preparation,Planning,Kick-off,Review meeting,Follow-up,rework
None of the above
Planning,kick-off,Preparation,Review meeting,Follow-up,Rework


What of these tools is good fit for GUI testing and use Jython programming language?
Selenium
Watir
Sikuli
Robot Framework


A function that returns the type of triangle has how many equivalence classes?
4
5
3
2


Smoke testing might best be described as:
Unit testing for small programs
Bulletproofing shrink-wrapped software
Testing that hides implementation errors
Rolling integration testing


A good rule of thumb is ___
each test will have the same chance of finding a bug as every other test
the team needs three testers per developer
there is one bug per line of code written
there are always twice as many bugs in the product as are active in the test database


True or False? A failure, if encountered, may result in a fault.
False
True


Which of the following is NOT a cost of software failures?
Repair
Helpline support
Testing
Rework


Given the following fragment of code, how many tests are required for 100% decision coverage? if width > length then biggest_dimension = width if height > width then biggest_dimension = height end_if else biggest_dimension = length if height > length then biggest_dimension = height end_if end_if
2
It is never possible to reach 100% decision coverage
3
4
8


In testing, the 80/20 rule is_________.
80% of the issues will take up about 20% of your time and 20% of the issues will take about 80% of your time.
Testing 80% of defects that are caused by 20% of code.
Testing 20% of features that are used the most, by 80% of users.


All these answers are a single test suite. Which one does not need to be run in a test run?
create a file
create a folder, and move a file into this new folder
create a folder
create a folder, then copy a file into this new folder


Testing by executing programmed code with a given set of test cases is referred to as:
black-box testing
static testing
dynamic testing
white-box testing


How many test cases should you execute to completely test a user experience containing only a single button?
Hundreds
Ten
Dozens
One


A slider shows an integer value of up to 5. How many possible values are there?
5
10
hundreds
6


Determining whether or not it is reasonable to continue testing is known as _____.
decision testing
smoke testing
sanity Testing
price feasibility testing


Which of the following is NOT true of statement coverage?
It verifies what the written code is not expected to do.
It verifies what the written code is expected to do.
It tests the true conditions.
It tests the false conditions.


Which of the following software change management activities is most vital to assessing the impact of proposed software modifications?
Baseline identification
Configuration auditing
Change control
Version control


In agile testing ___
testing typically gets done in the same sprint as the coding
testing typically is one sprint behind coding
testing is done one sprint ahead of coding
testing should start the next sprint after coding is completed


Signs of a mature tester include:
Have been through full software development cycle
Can stand up to development and fight for bugs to be fixed
Can handle having 100 straight bugs marked as won't fix
all of the these


What is reliability testing?
A field of testing in which deals with testing a software's ability to function for a particular amount of time
A field of testing in which deals with testing a software's ability to function under given environmental conditions for a particular amount of time
An assessment that requires an examinee to actually perform a task or activity, rather than simply answering questions referring to specific parts
A test conducted to determine if the requirements of a specification or contract are met


Why would a tester use equivalence class testing?
The tester is unsure of all the input data sets.
The tester has knowledge of the internal structures of the software.
The tester wants to reduce the total number of test cases that need to be developed.
The tester wants to test all possible input data.


What is the other name of All-Pairs Testing?
Parallel Testing
Pairwise Testing
Combined Testing
All of Them
Null Testing


Testing an object without execution on a computer is known as _____.
stub testing
non-functional system testing
static testing


Which of these are NOT phases of the "IDEAL" organizational improvement model?
Establishing
Acting
Imagining
Diagnosing


What is a branch?
A conditional transfer of control from any statement to any other statement in a component
a mechanism to produce the expected outcomes to compare with the expected outcomes of the Software Under Test (SUT)
Deviation of the software from its expected delivery or service
Operational testing at a site not otherwise involved with the software developers


Which Software Development Life Cycle model requires testing activities to start at the same time as development activities?
V model
Waterfall model
Spiral model
Linear model


If a input box accepts value of range 1-1000, then the following answers are FALSE if using EP technique
all of these
invalid value above 1000
valid value from range 1 - 10000
invalid value below 1


5th Level in TMM
measurement
Definition
Optimisation
Integration


True or False? Glass Box testing and White Box testing are functionally very different tests.
False
True


Which is not part of a test plan?
Test Templates
Retrospect report
(all of these)
Test Schedule
Roles and Responsibilities


Stress testing does NOT place an emphasis on which of the following?
Performance under a heavy load
Availability under a heavy load
Robustness of the software
Unexpected user input


Which testing method tests internal structures or workings of a program, as opposed to the functionality exposed to the end user?
white-box testing
black-box testing
alpha testing
compatibility testing


True or False? QA and software testing are synonyms.
False
True


________ is the process that developers go through to identify the cause of defects in code and undertake corrections.
Development
Debugging
Testing
Code Review


What kind of tools would you use for the automation of regression tests?
Debugging tools
Static analysis tools
None of these
Capture and playback tools


What type of testing is component testing?
Beta testing
Integration testing
Acceptance testing
Unit testing


In what order should tests be run?
The most important tests last.
The most important tests first.
The most complex tests first.
The simplest tests first.


True or false? Zero and one are typically in the same equivalence class.
True
False


How do you ensure that all requirements have been met?
Completed Test incident Report
Completed Test Summary Report
Completed Path Analysis
Completed Code Coverage Analysis
Completed Requirements traceability matrix


Which model is most suitable for rapid development
Agile Development
Waterfall model
Spiral model
V-model


________ is the process of executing a program or piece of software with the intent of finding an error.
Testing
Test planning
Software Quality Assurance
Risk reduction


If an expected result is not specified, then:
It may be difficult to repeat the test
It is not possible to run the test
We cannot automate the user inputs
It may be difficult to determine of the test has passed or failed


True or False? User acceptance testing is typically among the first tests performed.
True
False


True or false? Zero and null are the almost always the same from a test perspective.
TRUE
False


What is Regression Testing?
Checking the side effects after the changes
Checking the changes and checking the side effects after the changes
None
Checking the changes


What is one of the reasons to have independent software testing teams?
Software engineers don't need to do testing
Reduces tension between testers and developers
A test team will test the software more thoroughly
Testers do not get involved before the code is written


Which of the following is a Performance testing tool?
Soap UI
Sahi
Selenium
QTP
Load Runner


What is unit testing?
Tests that seeks to verify the interfaces between components against a software design
Tests that verify the functionality of a specific section of code
Assures that the system is installed correctly and working at actual customer's hardware
Tests a completely integrated system to verify that it meets its requirements


True or false? Stress testing doesn't work in an agile model.
True
False


When should the testing team start planning the test of a given software release?
Only after the code was written
As early as possible
Testing teams don't plan the testing, the developers do
There is no need to plan, testing is done by the specs


_____________ tests the functionality of the software without knowledge of the internal structures, design, or implementation of the software.
Whitebox testing
Beta testing
Blackbox testing
Performance testing


Which of the following is typically NOT included in a test case?
Related design decisions
Test case ID
Pass/Fail indicator
Related requirements


What is the difference between re-testing and regression testing?
Re-testing ensures the original fault has been removed; regression testing looks for unexpected side-effects
No difference, they are the same thing
Regression testing ensures the original fault has been removed; Re-testing looks for unexpected side-effects


How often should software engineers test their code?
Only where there is no testing team
Only on complex code; they should focus on developing
Only on new features; old features are already tested
Always


Who performs beta testing?
Software Engineer
Software Project Manager
Customer
Developer


____________ is a testing method that divides the input data set into classes of data for the test cases.
Equivalence Partitioning
Beta testing
Whitebox testing
Performance testing


Non-Functional Software testing performed to check if the user interface is easy to use and understand is known as:
Unit Testing
Security Testing
Usability Testing
White Box Testing


What is the difference between testing and debugging?
Testing is the initial detecting of errors and debugging is the isolation and correction of errors
Testing and debugging are interchangeable terms and essentially the same activity
Debugging is a very cursory overview of the code and testing is a much more rigorous attempt at fixing the error
Testing is typically performed by amateurs as a hobby and debugging is typically performed by professionals


A collection of test cases is also commonly known as a ______.
scenario test
test compilation
bug pool
test suite


Describe Risk Analysis
Analysis of how customers will react on software problems.
Project manager's responsibility only.
Actions taken to avoid things that might negatively impact the scope, quality, timeliness or cost of the project.
Assessing the risk of not hiring enough testers for the project.
Marketing meeting where new features are discussed.


Which of the following is the name of a popular automated testing tool?
QAT
QTP
PTQ
TPQ
CuteTP


True or False? The cost of correcting defects at an early stage in the Software Development Life Cycle is less than correcting them at a later stage.
True
False


With 100,000 users on a typical day how many page views would there be?
depends
100000
200000
300000


Software testing which is done without planning and documentation is known as:
Ad-hoc Testing
Functional Testing
Unit Testing
Grey box Testing


A ____________ is a description of inputs, execution steps, and expected results written in order to determine if a specific requirement has been met or whether a specific software feature works correctly.
Code Review
Test Case
Test Step
Specification


Software testing is the process of validating and verifying that a system:
All of these
Functions properly under specific conditions
Works as expected
Meets its requirements


Which one of the following is NOT a commonly used tool for automating testing?
Selenium
Test Studio
Drupal
QTP


___________ tests the stability and responsiveness of the software under a particular workload.
Functional testing
Performance testing
Whitebox testing
Blackbox testing


True or False? Software verification and software validation are the same thing.
False
True


What is a test plan?
Document that describes the objectives, scope, approach and focus of software testing effort.
Developed by business analysts to meet the requirements.
Table of content followed by multiple characters.
Collective work of QA team on software testing risks.


Which of the following is NOT a software testing approach type?
Gray box
Black box
White box
Red box


The most relevant meaning of SDLC in relation to software testing is:
Software Development Learning Center
Software Development Life Cycle
Software Detection Life Cycle
Severe Defects Life Cycle
Software Defects Life Cycle


BVT stands for ______.
bane of my very existence
build verification tests
busy variation testing
build validation topic


A solid program manager should be ____
III. both a tester and a program manager
all of the these
II. great at managing business requirements
I. great at specs and schedules


__________ is testing performed by the customer, usually at the customer's site, immediately prior to release.
Blackbox testing
Unit testing
Beta testing
Whitebox testing


_____________ tests the performance of the system under a heavy load.
Blackbox testing
Stress testing
Configuration testing
Performance testing


Which of the following (combinations of) individuals would be present during a formal inspection?
Author/producer, reader, inspector
All of these
Inspector, recorder
Moderator, author/producer, reader


True or false? All tests should be automated by the end of the product cycle.
False
True


Which of the following is a technique used in black-box testing?
API testing
Statement coverage
Mutation testing
Boundary value analysis


A simple performance test is basically ___
running code coverage and monitoring resources
running stress tests and monitoring resources
running BVT and monitoring resources


What is the main purpose of use case testing?
To identify defects in process flows related to typical use of the system.
To identify defects in the system related to extreme scenarios.
To identify defects in the connections between components.
To identify defects in the system related to the use of unapproved programming practices.


In which testing method are the internal structures, design, implementation of the software known at the time of testing?
Performance testing
Whitebox testing
Blackbox testing
Beta testing


What does BCT stand for?
Boundary compatibility Testing
Black Code Testing
None of these
Browser Compatibility Testing
Box Clear Testing


What is boundary value testing?
Tests that are "on the boundary" and should be considered to be removed from the test plan due to their low value
Test the boundary between memory and disk to avoid security attacks
Test boundary conditions as far as possible from the edges of input and output equivalence classes
Test boundary conditions on, below and above the edges of input and output equivalence classes
Test the boundary between the browser and server to avoid security attacks


Which of the following is not a type of performance testing?
Load testing
Stress testing
Beta testing
Configuration testing


______ tests how well the user will be able to understand and interact with the system.
User Acceptance Testing
Usability Testing
Beta Testing
Alpha Testing


Complete this sentence as best as possible: Equivalence partitioning __________.
divides the input data into partitions
partitions the tests between equal time spans
divides the test equally between the testers
tests whether disk partitions are equally distributed


When a new testing tool is purchased, it should be used first by:
The independent testing team
A small team to establish the best way to use the tool
Everyone who may eventually have some use for the tool
The vendor contractor to write the initial scripts


Which of the following is NOT an activity completed during test planning?
Test tool selection
Preparation of test strategy document
Test effort estimation
Create test cases


Which of the following is NOT true?
In TDD, tests are written even before the code
A test suite is a collection of test cases
Acceptance tests check client-defined requirements and scenarios the product must meet
Performance is one of the things functional tests must check


Which of the following is NOT an advantage of blackbox testing?
Testing can find discrepancies between the software and the specifications.
Testing can help optimize the code.
Testers can be non-technical.
Test cases can be written as soon as the functional specification is complete.


Elements of an excellent tester include ____
Can delegate testing work back into the development team
(none of these)
Can stay up all night in crunch time
Lazy enough to not want to do things more than once


What is difference between Pilot Testing and Beta Testing?
Difference are vague
Pilot Test involve Small group of end users but beta test involve large group
No difference
Beta Test involve small group of end users but Pilot Test involve large group


________ is the degree to which a piece of software can be tested.
Software Quality
Testability
Test Risk
Test Planning


What is a browser matrix?
something that can wait until the last sprint
a list of browsers that could be tested on
a committed document between management and testing about which browsers and screen sizes are supported
a list of browsers that each tester needs to have in their office


A tester needs to think like _____
an end user
a developer
a business owner
(all of these choices)


True or false. Once all the bugs are fixed, ship the product.
False
True


Which of the following is NOT a characteristic of a good test case?
The test case has a high probability of finding an error.
The test case tests invalid inputs.
The test case is neither too simple nor too complex.
The test case is dependent on other test cases.


A program point where the control flow has two or more alternative routes is known as what?
An incident
A decision
A route gate
A driver


Which of the following is NOT a reason to perform stress testing?
The user interface must be intuitive.
The testing is trying to find race conditions and deadlocks.
The software is considered “mission critical”.
The typical load of the software is unknown at the time of testing.


Which of these instances of finding a software defect will result in the least loss of time and money to fix?
A bug in the design is found during design review
The developer finds the bug during Sanity Testing
A peer finds the bug during code review
The customer finds the defect in production
QA Engineer finds the bug a day before releasing


Using Performance Tests to project server specs and server scale requires:
This isn't a function of performance tests
you to run each function in loops in isolation and apply resource usage to the projected load
you to run the load test and monitor resource usage and rescale according to hardware differences
you to run code coverage tests with resource monitoring and adjust to the projected load


Stress testing should start ______.
immediately following integration
immediately on day one
immediately following unit test complete
the week before ship


Load Testing is ______
I. modelling a typical day of user activity
III. modelling the user activity on a busy traffic day
II. creating a giant load to find where the system falls apart
both I and III


True or false? Ajax enabling a website increases the number of server requests.
FALSE
True


True or false? Simultaneous execution is a minor effect in performance testing.
False
TRUE


TMM Means
Testing Management Model
Testing Maturity Model
Testing measurement Model


Testing should be stopped when
It depends on the risks for the system been tested
Time has run out
All faults have been fixed correctly
All the planned testcases have been run


True or False? Instrumentation is performed by coverage measurement tools in pre-compiler pass.
True
False


Which of the following is a good way to grade a tester?
most ship stopper bugs
on time test delivery
bug count / no repro count


What is mutation testing?
Purposely modifying an application in order to see if the testing suite will reject it
Testing the functionality of an application without knowledge of the application's code/internal structure
A technique in which all possible branches of the program's source code are tested at least once
Testing with the specific purpose of seeing how a system will perform in the future


__________ uses short development cycles where a test is written prior to code.
Test Driven Development
Agile Development
Software Development
Software Engineering


Which of the following is NOT a common resolution type for a defect?
Could not reproduce
Closed - fixed
As designed
Reopened
Refactored


True or false? All WC3 errors should be fixed to ship.
TRUE
False


Stress testing hardware must be _____
any old server will work fine
scaled appropriately to the test load
exactly the same as production to get the right results


Running a system at high load for an extended period of time is called:
Drive testing
Soak testing
Structural testing
Smoke testing


______ is a method of testing where the software isn't used that checks the sanity of the code or algorithm.
Dynamic testing
Static testing
Beta testing
Performance testing


RC1 stands for ______.
release candidate #1
regression certification level one
releasable code milestone 1
RC cola baby!


A system includes a database server, a caching server, and an application server. How many integration points are there?
six
need more information
three


Test driven development (TDD) refers to what?
Writing tests for untested legacy code before introducing new features
Writing a failing test first and then writing the minimum amount of code to make it pass
Writing new code alongside already tested code
Writing one method and then thoroughly writing tests for it


Executing the same test case by changing the input on the same build is called:
Regression Testing
Sanity Testing
Ad-hoc Testing
Re-testing


Who should perform validation testing?
Technical Lead
Developer
Customer
Project Manager


Which of the following is non-incremental testing?
Big bang testing
Top-down testing
Bottom-up testing
Stab testing


When should the test environment setup be done?
In parallel with test case development
After test case development is completed
In parallel with test execution
During the requirements phase


Verification is:
Performed by an independent test team
Making sure that it is what the user really wants
Checking that we are building the right system
Checking that we are building the system right


Which of the following is a structure-based (white-box) technique?
State transition testing
Statement testing
Decision table testing
Boundary value analysis


Which of the following statements is NOT true?
Component testing should be performed by development
Component testing is also known as isolation or module testing
Component testing does not involve regression testing
Component testing should have completion criteria planned


Which of the following is NOT a reason to believe two test cases will produce the same result and fall in the same equivalence class?
They involve the same input variables.
They affect the same output variables.
They result in similar operations in the program.
If one catches a bug, the other probably will not.


Which of the following is NOT a way stress may be placed on a piece of software?
Test all user input fields
Double the baseline number of concurrent users
Run processes that consume a lot of resources
Take the database offline, then restart it


Testing only the changes or modifications is called
Emigration
Regression
Progression
Retesting
Adoptation


True or False? CAST stands for Computer-Aided Simple Testing?
False
True


A sports team plays 3 games a season. How many tests does a comprehensive test plan need to cover all the possible season results?
3
11
4
5


Power outage testing is part of ________.
performance testing
edge case testing
stress testing
integration testing


________________ is the process of evaluating software to ensure it meets the customer’s requirements.
Software Quality Assurance
Verification
Validation
Software Engineering


‘Be bugging’ is known as
Adding known defects by seeding
Preventing the defects by inspection
Fixing the defects by debugging
A process of fixing the defects by tester


Which of the following is NOT a form of dynamic testing?
Use case testing
Data Flow Analysis
Exploratory testing
Equivalence Partitioning


An operator verifies that all production jobs are run. This is:
Quality Control
Quality Assurance
Production planning
Disaster recovery


What type of performance testing would you want run repeatedly to ensure consistent system performance?
Soak testing
Benchmark testing
Regression testing
Beta testing


Inspections can find all the following except?
Spelling and grammar faults in the documents
How much of the code has been covered
Requirements that have been omitted from the design documents
Variables not defined in the code


Resource hog tools are part of ________.
integration testing
performance testing
stress testing


All of the following might be done during unit testing except
Manual support testing
Desk check
Compiler based testing
Walkthrough


Which of the following is NOT a characteristic or factor in testability.
Controllability
Understandability
Robustness
Observability


How stable is the ZBB build?
sort of stable
very stable
the least stable


Which one of the following is NOT a reason for automating software testing?
To find additional defects missed by manual testing.
Rapid feedback for the developers is needed.
The team needs to do regression testing.
There is a tight deadline to release the software.


How many equivalence classes are there for testing an integer?
4
6
10
8


A function int abs(int input) has how many equivalence classes?
10
6
8
4


The function max(a,b) has how many equivalence classes?
5
9
7
3


Which of the following can inspections NOT find?
How much of the code has been covered
Requirements that have been omitted from the design documents
Spelling and grammar faults in the documents
Variables not defined in the code


In a TDD model:
a test review is done before coding starts
a test case outline is constructed during the first sprint
only failing test cases cause code to be written
unit tests aren't necessary


What is the major advantage of bottom-up integration testing?
Regression testing is not required
No drivers need to be written
Major decision points are tested early
No stubs need to be written


An expert based test estimation is also known as
Narrow band Delphi
Bespoke Delphi
Wide band Delphi
Robust Delphi


Methodologies adopted while performing Maintenance Testing?
Confirmation Testing
Breadth Test and Depth Test
Retesting
(none of these)
Sanity Testing


From the below given choices, which one is the ‘Confidence testing’
System testing
Regression testing
Sanity testing
Smoke testing


Which of these is a sql injection attack for login?
password OR 1'
OR 1 '
OR 1
' OR 1


ZBB stands for ______.
zero bvt build
zebras build boats
zero bug build
zero bug bounce


________________ is the process of evaluating software to ensure it meets the specified requirements.
Validation
Software Design
Verification
Software Quality Assurance


When should test cases be written?
In parallel with design
Immediately after requirements are completed
In parallel with development
Immediately after development is complete


Out of these Testing levels,for which level ,the White box testing is not viable:
Unit Testing
Regression Testing
Integration Testing
System Testing


How many ways are there to make 100 cents with identical American currency units?
7
4
5
6


What value test function will get function test (+'5') { }
null
5
function s() { }
undefined


What is the name of an analysis method that determines which parts of the software have been executed by the test case suite, and which parts have not been executed and therefore may require additional attention?
Test Design
Gap Analysis
Code Coverage
Requirement Traceability


‘Defect Density’ calculated in terms of
The number of defects identified in the component or system divided by the number of defects found by a test phase
The number of defects identified in a component or system divided by the size of the component or the system
The number of defects found by a test phase divided by the number found by the size of the system
The number of defects found by a test phase divided by the number found by that test phase and any other means after wards


Flip a coin. Using a software testing mindset, how many outcomes are possible?
3
4
2


Stress testing should use ____
the same initial values on each run until it runs clean
a pseudo random initial value to maximize debuggability
a random initial value to maximize coverage
an incrementing initial value for ease of replay


What error would occur if event B occurs before event A, with event A being the intended first completed event?
An infinite loop
An access violation
A deadlock
A race condition


__________ is the set of procedures used throughout the software lifecycle to ensure the software will meet its requirements.
Planning
Software Quality Assurance
Software Quality Control
Testing


which one is NOT the correct ordering of formal review process?
Planning,Preparation,kick-off,Review meeting,Follow-up,Rework
Planning,kick-off,Preparation,Review meeting,Rework,Follow-up
Preparation,Planning,Kick-off,Review meeting,Follow-up,rework
None of the above
Planning,kick-off,Preparation,Review meeting,Follow-up,Rework


What of these tools is good fit for GUI testing and use Jython programming language?
Selenium
Watir
Sikuli
Robot Framework


A function that returns the type of triangle has how many equivalence classes?
4
5
3
2


Smoke testing might best be described as:
Unit testing for small programs
Bulletproofing shrink-wrapped software
Testing that hides implementation errors
Rolling integration testing


A good rule of thumb is ___
each test will have the same chance of finding a bug as every other test
the team needs three testers per developer
there is one bug per line of code written
there are always twice as many bugs in the product as are active in the test database


True or False? A failure, if encountered, may result in a fault.
False
True


Which of the following is NOT a cost of software failures?
Repair
Helpline support
Testing
Rework


Given the following fragment of code, how many tests are required for 100% decision coverage? if width > length then biggest_dimension = width if height > width then biggest_dimension = height end_if else biggest_dimension = length if height > length then biggest_dimension = height end_if end_if
2
It is never possible to reach 100% decision coverage
3
4
8


In testing, the 80/20 rule is_________.
80% of the issues will take up about 20% of your time and 20% of the issues will take about 80% of your time.
Testing 80% of defects that are caused by 20% of code.
Testing 20% of features that are used the most, by 80% of users.


All these answers are a single test suite. Which one does not need to be run in a test run?
create a file
create a folder, and move a file into this new folder
create a folder
create a folder, then copy a file into this new folder


Testing by executing programmed code with a given set of test cases is referred to as:
black-box testing
static testing
dynamic testing
white-box testing


How many test cases should you execute to completely test a user experience containing only a single button?
Hundreds
Ten
Dozens
One


A slider shows an integer value of up to 5. How many possible values are there?
5
10
hundreds
6


Determining whether or not it is reasonable to continue testing is known as _____.
decision testing
smoke testing
sanity Testing
price feasibility testing


Which of the following is NOT true of statement coverage?
It verifies what the written code is not expected to do.
It verifies what the written code is expected to do.
It tests the true conditions.
It tests the false conditions.


Which of the following software change management activities is most vital to assessing the impact of proposed software modifications?
Baseline identification
Configuration auditing
Change control
Version control


In agile testing ___
testing typically gets done in the same sprint as the coding
testing typically is one sprint behind coding
testing is done one sprint ahead of coding
testing should start the next sprint after coding is completed