Software Testing MCQ:
Which of the following term describes testing?
Evaluating deliverable to find errors
2What is Cyclomatic complexity?
White box testing
2Software Debugging is a set of activities that can be planned in advance and conducted systematically.
False
2Which of the following is not a software testing generic characteristics?
Different testing techniques are appropriate at different points in time
1By collecting ________ during software testing, it is possible to develop meaningful guidelines to halt the testing process.
Metrics
3Which of the following errors should not be tested when error handling is evaluated?
Error description is unintelligible
1A set of activities that ensure that software correctly implements a specific function.
verification
1Which of the following is not a software testing generic characteristics?
Different testing techniques are appropriate at different points in time
1Validation refers to the set of tasks that ensure that software correctly implements a specific function.
2What type of fault remains in the system for some period and then disappears?
Transient
2Which of the following approaches are used to achieve reliable systems?
All of the mentioned
4A system maintaining its integrity while accepting a temporary halt in its operation is said to be in a state of
Fail Safe
4Which of the following Error Detection checks is not a part of Application detection?
Hardware checks
1Exception handling is a type of
forward error recovery mechanism
1All fault-tolerant techniques rely on
Redundancy
3A graphical technique for finding if changes and variation in metrics data are meaningful is known as
Control Chart
3Defects removal efficiency (DRE)depends on:
Both E and D
3Software Maintenance includes
All of the mentioned
4What is testing process’ first goal?
Bug prevention
1Software mistakes during coding are known as
bugs
3Name an evaluation technique to assess the quality of test cases.
Mutation analysis
1Test should be conducted for every possible
all of the mentioned
4Which of the following is not a part of bug report?
LOC
4Which of the following is not a part of Execution Flow during debugging?
Step Up
3Which of the following is the way of ensuring that the tests are actually testing code?
Code coverage
3Effective testing will reduce _______ cost.
maintenance
1Which of the following is a common pointwer problem?
All of the mentioned
4Debugging Program is a program which runs concurrently with the program under test & provide commands to
all of the mentioned
4Which of the following is a myth in testing?
Any user can test software
2A process to determine how the actual testing is done _______
Audit
1Which is not involved in debugging?
Test
3Examination of the program step by step is called ______________
Stepping
3Which is not involved in debugging?
Test
3Which of the following is not included in failure costs?
none of the mentioned
4Which of the following is not included in External failure costs?
testing
1The primary objective of formal technical reviews is to find _________ during the process so that they do not become defects after release of the software.
errors
1What is not included in prevention costs?
equipment calibration and maintenance
4Cost and schedule are a part of
Project Metrics
3Number of errors found per person hours expended is an example of a
metric
3Percentage of modules that were inspected is a part of
Project Metrics
3Quality also can be looked at in terms of user satisfaction which includes
All of the mentioned
4Inspections and testing are what kinds of Quality Costs?
Appraisal
4Non-conformance to software requirements is known as
Software failure
3Misinterpretation of customer communication is a sample of possible cause defects.
True
1What kind of quality cost is incurred when an error is detected in a product prior to shipment?
Internal Failure
2How are baselines verified?
By testing of code
3Which of the following is not an appraisal cost in SQA?
quality planning
3Who identifies, documents, and verifies that corrections have been made to the software?
SQA group
3What do you understand by V&V in software testing?
Verification and Validation
3When does the testing process stops?
When quality criterion is reached
3Test cases should uncover errors like
Nonexistent loop termination
1What do you understand by V&V in software testing?
Verification and Validation
3In static test techniques, behavioral and performance properties of the program are observed.
2False
Which of the following is a black box testing strategy?
Cause-Effect Graphs
3A set of inputs, execution preconditions and expected outcomes is known as a
Test case
2In which test design each input is tested at both ends of its valid range and just outside its valid range?
Boundary value testing
1A white box test scales up well at different granularity levels of testing.
2False
When does the testing process stops?
When quality criterion is reached
3Which of the following is not a part of a test design document?
Test Log
4Specifying a set of test cases or test paths for each item to be tested at that level is known as
ALL of the mentioned
3Exhaustive test pattern determines
gate level faults
1Exhaustive test pattern also detects delay faults.
false
2In which method sequences are repeatable?
pseudo-random test pattern method
4LSD stands for ________________
Lean Software Development
1Random testing often known as __________ testing
Monkey
1White Box techniques are also classified as
Structural testing
2Exhaustive testing is
impractical but possible
3Which of the following is/are White box technique?
All of the mentioned
4What are the various Testing Levels?
All of the mentioned
4Boundary value analysis belong to?
Black Box Testing
2The testing in which code is checked
White box testing
2Behavioral testing is
Black box testing
2Which of the following is black box testing
Boundary value analysis
2Which of the following is not a software testing generic characteristics?
Different testing techniques are appropriate at different points in time
1By collecting ________ during software testing, it is possible to develop meaningful guidelines to halt the testing process.
Metrics
3Test cases should uncover errors like
Nonexistent loop termination
1Validation refers to the set of tasks that ensure that software correctly implements a specific function.
2False
__________ methods can be used to drive validations tests
Black-box testing
2Which of the following is black-box oriented and can be accomplished by applying the same black-box methods discussed for conventional software?
Both Conventional testing and OO system validation testing
4Which of the following testing types is not a part of system testing?
Random testing
4Testing the end to end functionality of the system as a whole is defined as _______________
Functional Testing
2Which of the following testing is also known as white-box testing?
Structural testing
1Which of the following testing is related to the boundary value analysis?
a. Black box testing
3Functional testing is a ------?
Test type
4Which of the following is not a part of STLC (Software Testing Life Cycle)?
Requirement Gathering
2White box testing techniques are?
All of the above
4Which of the below is not a part of the Test Plan?
Incident reports
3Which of the following is not part of the Test type?
Statement testing
3Which Test Document is used to define the Exit Criteria of Testing?
Test Plan
4Which testing technique is used for usability testing?
Black Box testing
3What is error guessing in software testing?
Test case design/ data management techniques
4After which phase, we can proceed to the white box testing?
After the coding phase
1Which of the following is not another name of white box testing?
Behavioral testing
2The test levels are performed in which of the following order?
It is based on the nature of the project
2-------- testing is used to check the code?
White-box testing
3The Decision table testing is a ----------?
Black Box Test Design Technique
2When we have to stop the testing?
The risk is resolved
4Which of the below statement is true about the Equivalence Partitioning technique?
A black box testing technique appropriate to all levels of testing.
1Which of the following testing is refers to as a fault-based testing technique?
Mutation testing
2What is component testing?
White-box testing
1Testing done without planning and Documentation is called
Adhoc testing
3Acceptance testing is also known as
Beta testing
4Alpha testing is done at
Developer’s end
11. Which of the following is non-functional testing?
Performance testing
2Beta testing is done at
User’s end
1Unit testing is done by
Developers
2What is normally considered as an adjunct to the coding step
Completion of Testing
2Which of the following is not regression test case?
Low-level components are combined into clusters that perform a specific software sub-function
4Which testing is an integration testing approach that is commonly used when “shrink-wrapped” software products are being developed?
Smoke testing
3In which testing level the focus is on customer usage?
Both Alpha and Beta
4The architecture of object-oriented software results in a series of layered subsystems that encapsulate collaborating classes.
1The construction of object-oriented software begins with the creation of
both design and analysis model
4Which testing integrates the set of classes required to respond to one input or event for the system?
thread-based testing
2Which of the following is one of the steps in the integration testing of OO software?
cluster testing
1In which of the following testing strategies, a smallest testable unit is the encapsulated class or object?
Unit testing
1What is normally considered as an adjunct to the coding step
Unit testing
2Which testing is an integration testing approach that is commonly used when “shrink-wrapped” software products are being developed?
Smoke testing
3What is the key objective of Integration testing?
Interface Errors
2What is the best time to perform Regression testing?
Both option a & c
4______________ is the second phase of software testing in which a sampling of the intended audience tests the product.
Beta
2Beta Testing is also known as _________ testing.
Field
1______________ beta versions are released to a select group of individuals for undergoing user test.
Closed
3____________ can be thought of as a vehicle to perform a test process
Testing tools
2In software testing, a _____________ is a collection of software and test data configured to test a program unit by putting it under varying conditions and monitoring its behavior and output.
Test harness
1Test harness has two main parts, the test script repository and _______________
Test execution engine
4__________ is an (often times virtual) environment used to verify the correctness soundness of a design or model, like that of a software product
Test bench
4___________ is a type of software testing which verifies that software, which was previously developed and tested, still performs correctly after it was changed or interfaced with other software.
Regression Testing
2The output of the requirement analysis and the requirement specification is used as the input for writing ____________
User Acceptance Test Cases
1All ____________ has to be completed before integration testing can be done
Unit testing
3_______________ tests are designed early.
Preventive
1What does an exit criteria do?
Defines when a test level is completed
4_______________ testing is used for testing systems for which the specification takes in the form of rules or cause-effect combinations.
Decision Table Testing
4The main advantage of exploratory testing is that less _______________ is needed.
Preparation
2______________ is a process which is intended to reveal flaws in the security mechanisms of an information system that protect data and maintain functionality as intended
Security Testing
3A _____________ test is when an invalid input is put and errors are received.
Negative
3A ____________ test is when a valid input is put and some action to be completed in accordance with the specification is expected.
Positive
1Which tools is involved in the automation of regression test?
Output comparator
4_______________ ensures the original fault has been removed.
Re-testing
2_____________ test cases are when random test cases are performed and equivalence partitioning is applied to those test cases.
Semi-random
3___________ is a model that illustrates how testing activities integrate with software development phases.
V-Model
2While testing a product designed to mark exams, a tester determines that all scores between 90 to 100 yields a grade of A, but scores below 90 will not. This analysis is known as:
Equivalence Partitioning
2______________ is a partial measure of test thoroughness
Coverage measurement
4During ___________ testing, code is not executed.
Static
3Static testing is done using the software __________
Documentation
1To perform ____________ the code needs to be in executive form.
Dynamic Testing
1_________________ is finding defects when the system under goes testing as a whole
System Testing
4System testing is also known as ____________
End to End Testing
3UAT stands for ____________
User Acceptance Testing
4______________ is a technique to identify whether a set of test data is useful by intentionally introducing various code changes (bugs).
Mutation Testing
4For a mutant to be killed, the test must __________ the mutated statement.
Reach
4The review process for a particular review begins with a _____________ by the author to the moderator in formal review.
Request For Review
1Configuration management procedures be implemented during ____________
Test Planning
2_______________ of information refers to protecting information from being modified by unauthorized parties.
Authentication
2_____________ is triggered by modifications, migration or retirement of existing software.
Maintenance testing
3RTM is prepared ___________
Before test case designing
2In ___________ each component at lower hierarchy is tested individually and then the components that rely upon these components are tested.
Bottom up
3Which Life Cycle model has lesser, more or different levels of development and testing, all depending on the project and the software product?
V shaped
3COTS means ___________
Commercial off The Shelf
3_____________ is based on the project plan, but with greater amounts of detail
Phase Test Plan
1STLC stands for ______________
Software Test Life Cycle
4_____________ is written in a programming language and is a short program used to test part of functionality of the software system.
Test Script
3________________ are set of documents, tools and other components that has to be developed and maintained in support of testing.
Test Deliverables
2______________ requires that only the first and second conditions of the RIP model are satisfied.
Weak mutation testing
1________________ is a measure used to describe the degree to which the source code of a program is executed when a particular test suite runs
Code Coverage
2_______________ is usually defined as a rule or requirement, which test suite needs to satisfy.
Coverage Criteria
3A combination of function coverage and branch coverage is sometimes also called _______________
Decision coverage
3________________ criterion requires that inside each decision, all combinations of conditions are tested.
Multiple condition coverage
2______________ applications are often required to show that testing achieves 100% of some form of code coverage.
Safety Critical
2____________ is a software analysis method used to identify structural units in code under test.
Linear code sequence and jump
1An effective method for locating errors in small programs is to ___________ the incorrect results through the logic of the program until the point where the logic went astray is found
Backtrac
2To get an expected test outcome a standard procedure is followed which is referred as ___________
Testing Type
2____________ tests examine whether the application can process a large number of requests test types within a given period
Stress
3___________ tests are a superset of all other tests.
Acceptance
4A ___________ is a test that exercises code by focusing on a single method.
Logic unit test
1Functional Unit tests don’t test a complete ____________ as expected by pure functional tests.
Workflow
1Higher test coverage is achieved by white box tests because of ____________
Access to more methods
1In order to write testable code, ______________ should be reduced as much as possible.
Dependencies
1A solution to reducing dependencies is to separate code between methods that instantiate new ____________ and methods that provide application logic.
Objects
2_____________ is a programming practice that expects new code to be written only if an automated test has failed and also to eliminate duplication
Test Driven Development
2Eliminating duplication ensures that code is written that’s not only testable but also
Maintainable
2On the development platform, _________ unit tests are executed
Logic
3The _____________ exercises the application under load and verifies that it scales correctly.
Stress test platform
4Using old tests to guard against new changes is a form of ______________
Regression Testing
3_____________ is a software testing technique that is useful to help in the generation of test data.
Symbolic Execution
1_________ replace the objects with which the methods under test collaborate, offering a layer of isolation.
Mocks
2Which of the following errors should not be tested when error handling is evaluated?
Error noted does not correspond to error encountered
1Which of the following are the typical tasks should be performed by test leader?i) Prepare and acquire test data ii) Write or review a test strategy iii) Write test summary reports based on the information gathered during testing. iv) Review and contribute to test plans
ii and iii only
2Which of the following are the tasks performed by the typical tester?i) Review tests developed by others ii) Decide on the implementation of the test environment iii) Prepare and acquire test data
i and iii only
3Which of the following are typical exit criteria for testing?i) costs ii) Schedules such as those based on time to market iii) Test environment availability and readiness iv) Estimates of defect density or reliability measures.
i, ii and iv only
4……………. describes any guiding or corrective actions taken as a result of information and metrics gathered and reported.
Test control
1.……………. is concerned with summarizing information about the testing endeavor.
Test reporting
3The purpose of ……………… is to provide feedback and visibility about test activities.
Test monitoring
2The purpose of …………………. is to establish and maintain the integrity of the products of the software or system through the project and product lifecycle.
Configuration management
4For testing …………….. may involve ensuring all items of testware are identified, version controlled, tracked for changes, related to each other and related to the development items, so that traceability can be maintained throughout the test process.
Configuration management
4Followings are major tasks of Test planning activity. Arrange them in correct order.1. Determine Test approach 2. Determine Required test resources 3. Determine scope and risks and identify objectives of testing 4. Implement the test policy and/or the test strategy 5. Determine the exit criteria 6. Schedule test analysis and design tasks, test implementation, execution and evaluation
3,1,4,2,6,5
4Testing comes under which category of cost of quality?
Appraisal
2It is a set of levels that defines a testing maturity hierarchy
TMM (Testing Maturity Model)
2The review and approved document (i.e. Test plan, System Requirement Specification’s) is called as
Baseline Document
2Configuration Management Plan describes the Configuration Management procedures and structures to be used.
True
1Maintenance Plan predicts the maintenance requirements of the system, maintenance costs and effort required
1Which three framework activities are present in Adaptive Software Development(ASD) ?
speculation, collaboration, learning
3Which of the following does not apply to agility to a software process?
Eliminate the use of project planning and testing
3Function Point Computation is given by the formula
. FP = count total * [0.65 + 0.01 * sum(Fi)]
2SMI stands for?
Software Maturity Index
3Statement and branch coverage metrics are part of
Testing
4Size and Complexity are a part of
Product Metrics
1Number of errors found per person hours expended is an example of a
metric
3The arc-to-node ratio is given as r = a/n. What does "a" represent in the ratio
lines of control
4The intent of project metrics is:
minimization of development schedule and assessing project quality on ongoing basis
4Which of the following is not a direct measure of SE process?
Efficiency
1Which of the following is an indirect measure of product?
All of the Mentioned
4In size oriented metrics, metrics are developed based on the ___________________
number of lines of code
3Usability can be measured in terms of:
All of the mentioned
4Defects removal efficiency (DRE)depends on:
Both E and D
3Which of the following is not a product matrix ?
Productivity
3Efforts is measured in terms of ?
Person - Months
1Infrastructure software are covered under ?
Generic Products
1The target is generally the entire world and many copies are expected to be sold. Infrastructure software like operating systems, compilers, word processors etc are covered under this category. Management of software development is dependent upon ?
All of above
4During software development which factor is most crucial ?
People
1Milestones are used to ?
Know the cost of the project
1.The term module in the design phase refers to ?
All of the above
4Information hiding is to hide from user, details ?
that are confidential
4Structured programming codes includes ?
only A,B AND C5An important aspect of coding is ?
Readability
1Quality of the product comes under which type of measures?
Indirect measures
1Measurements can be categorized in two ways. What are those two ways?
Direct and Indirect
1Measure of reliability is given by ______ .
Mean Time between failure (MTBF).
3Line of code(LOC) of the product comes under which type of measures?
Direct measures
2To compares the values of the specified property during a run session with the values stored for the same test object property within the test.
Checkpoint
1In size oriented metrics, metrics are developed based on the ___________________
number of lines of code
3Measurements can be categorized in two ways. What are those two ways?
Direct and Indirect
1Which thing/things will be automate?
All the above
4Can you achieve 100% automation?
No
2Identify the guidelines for frameworks
Handling logs
4Where will you maintain information like URL, login, password?
separate file
1What are the different types of frameworks?
Linear Scripting
3Which of the following is not other name for structural testing?
Behavioral testing
3Which of the following is non functional testing for an e-commerce website?
1000 people can log into system at same time.
4Which of the following are functional characteristics? 1. Maintainability 2. Usability 3.Compliance 4.Accuracy 5.Portability 6. Efficiency
3,4
3Which of the following is/are the main objective of software testing. i) Finding defects ii) Gaining confidence about the level of quality iii) Preventing defects iv) Making absence of defects
i, ii and iii only
1Which of the following are the main activities of fundamental test process. i) Test planning and control ii) Test analysis and design iii) Test implementation and execution iv) Test closure activities
All i, ii, iii and iv
4A program with high cyclometic complexity is almost likely to be
Difficult to test
1Coverage measurement
Is a partial measure of test thoroughness
2. Increasing the quality of the software, by better development methods, will affect the time needed for testing (the test phases) by:
Reducing test time
1Integration testing in the small:
Tests interactions between modules or subsystems.
3Which of the following is NOT true of test coverage criteria?
A measure of test coverage criteria is the percentage of faults found.
3Regression testing should not be part of a test plan.
2Regression testing can be automated.
True
1regression testing is triggered by changes of the source code, whereas ...... regression testing is triggered by specification changes.
Corrective, progressive
2Which of the following is an indirect measure of product?
All of the above
4
Post a Comment