Coding | Mcqs | Multiple choice questions | Informative | Computer Science | Engineering | Aptitude | Quants | Verbal

INFEED

Software Testing MCQ

Software Testing MCQ:


  • Which of the following term describes testing?

    Evaluating deliverable to find errors

    2
  • What is Cyclomatic complexity?

    White box testing

    2
  • Software Debugging is a set of activities that can be planned in advance and conducted systematically.

    False

    2
  • Which of the following is not a software testing generic characteristics?

    Different testing techniques are appropriate at different points in time

    1
  • By collecting ________ during software testing, it is possible to develop meaningful guidelines to halt the testing process.

    Metrics

    3
  • Which of the following errors should not be tested when error handling is evaluated?

    Error description is unintelligible

    1
  • A set of activities that ensure that software correctly implements a specific function.

    verification

    1
  • Which of the following is not a software testing generic characteristics?

    Different testing techniques are appropriate at different points in time

    1
  • Validation refers to the set of tasks that ensure that software correctly implements a specific function.

    2
  • What type of fault remains in the system for some period and then disappears?

    Transient

    2
  • Which of the following approaches are used to achieve reliable systems?

    All of the mentioned

    4
  • A system maintaining its integrity while accepting a temporary halt in its operation is said to be in a state of

    Fail Safe

    4
  • Which of the following Error Detection checks is not a part of Application detection?

    Hardware checks

    1
  • Exception handling is a type of

    forward error recovery mechanism

    1
  • All fault-tolerant techniques rely on

    Redundancy

    3
  • A graphical technique for finding if changes and variation in metrics data are meaningful is known as

    Control Chart

    3
  • Defects removal efficiency (DRE)depends on:

    Both E and D

    3
  • Software Maintenance includes

    All of the mentioned

    4
  • What is testing process’ first goal?

    Bug prevention

    1
  • Software mistakes during coding are known as

    bugs

    3
  • Name an evaluation technique to assess the quality of test cases.

    Mutation analysis

    1
  • Test should be conducted for every possible

    all of the mentioned

    4
  • Which of the following is not a part of bug report?

    LOC

    4
  • Which of the following is not a part of Execution Flow during debugging?

    Step Up

    3
  • Which of the following is the way of ensuring that the tests are actually testing code?

    Code coverage

    3
  • Effective testing will reduce _______ cost.

    maintenance

    1
  • Which of the following is a common pointwer problem?

    All of the mentioned

    4
  • Debugging Program is a program which runs concurrently with the program under test & provide commands to

    all of the mentioned

    4
  • Which of the following is a myth in testing?

    Any user can test software

    2
  • A process to determine how the actual testing is done _______

    Audit

    1
  • Which is not involved in debugging?

    Test

    3
  • Examination of the program step by step is called ______________

    Stepping

    3
  • Which is not involved in debugging?

    Test

    3
  • Which of the following is not included in failure costs?

    none of the mentioned

    4
  • Which of the following is not included in External failure costs?

    testing

    1
  • The 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

    1
  • What is not included in prevention costs?

    equipment calibration and maintenance

    4
  • Cost and schedule are a part of

    Project Metrics

    3
  • Number of errors found per person hours expended is an example of a

    metric

    3
  • Percentage of modules that were inspected is a part of

    Project Metrics

    3
  • Quality also can be looked at in terms of user satisfaction which includes

    All of the mentioned

    4
  • Inspections and testing are what kinds of Quality Costs?

    Appraisal

    4
  • Non-conformance to software requirements is known as

    Software failure

    3
  • Misinterpretation of customer communication is a sample of possible cause defects.

    True

    1
  • What kind of quality cost is incurred when an error is detected in a product prior to shipment?

    Internal Failure

    2
  • How are baselines verified?

    By testing of code

    3
  • Which of the following is not an appraisal cost in SQA?

    quality planning

    3
  • Who identifies, documents, and verifies that corrections have been made to the software?

    SQA group

    3
  • What do you understand by V&V in software testing?

    Verification and Validation

    3
  • When does the testing process stops?

    When quality criterion is reached

    3
  • Test cases should uncover errors like

    Nonexistent loop termination

    1
  • What do you understand by V&V in software testing?

    Verification and Validation

    3
  • In static test techniques, behavioral and performance properties of the program are observed.

    2
  • False

  • Which of the following is a black box testing strategy?

    Cause-Effect Graphs

    3
  • A set of inputs, execution preconditions and expected outcomes is known as a

    Test case

    2
  • In which test design each input is tested at both ends of its valid range and just outside its valid range?

    Boundary value testing

    1
  • A white box test scales up well at different granularity levels of testing.

    2
  • False

  • When does the testing process stops?

    When quality criterion is reached

    3
  • Which of the following is not a part of a test design document?

    Test Log

    4
  • Specifying a set of test cases or test paths for each item to be tested at that level is known as

    ALL of the mentioned

    3
  • Exhaustive test pattern determines

    gate level faults

    1
  • Exhaustive test pattern also detects delay faults.

    false

    2
  • In which method sequences are repeatable?

    pseudo-random test pattern method

    4
  • LSD stands for ________________

    Lean Software Development

    1
  • Random testing often known as __________ testing

    Monkey

    1
  • White Box techniques are also classified as

    Structural testing

    2
  • Exhaustive testing is

    impractical but possible

    3
  • Which of the following is/are White box technique?

    All of the mentioned

    4
  • What are the various Testing Levels?

    All of the mentioned

    4
  • Boundary value analysis belong to?

    Black Box Testing

    2
  • The testing in which code is checked

    White box testing

    2
  • Behavioral testing is

    Black box testing

    2
  • Which of the following is black box testing

    Boundary value analysis

    2
  • Which of the following is not a software testing generic characteristics?

    Different testing techniques are appropriate at different points in time

    1
  • By collecting ________ during software testing, it is possible to develop meaningful guidelines to halt the testing process.

    Metrics

    3
  • Test cases should uncover errors like

    Nonexistent loop termination

    1
  • Validation refers to the set of tasks that ensure that software correctly implements a specific function.

    2
  • False

  • __________ methods can be used to drive validations tests

    Black-box testing

    2
  • Which 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

    4
  • Which of the following testing types is not a part of system testing?

    Random testing

    4
  • Testing the end to end functionality of the system as a whole is defined as _______________

    Functional Testing

    2
  • Which of the following testing is also known as white-box testing?

    Structural testing

    1
  • Which of the following testing is related to the boundary value analysis?

    a. Black box testing

    3
  • Functional testing is a ------?

    Test type

    4
  • Which of the following is not a part of STLC (Software Testing Life Cycle)?

    Requirement Gathering

    2
  • White box testing techniques are?

    All of the above

    4
  • Which of the below is not a part of the Test Plan?

    Incident reports

    3
  • Which of the following is not part of the Test type?

    Statement testing

    3
  • Which Test Document is used to define the Exit Criteria of Testing?

    Test Plan

    4
  • Which testing technique is used for usability testing?

    Black Box testing

    3
  • What is error guessing in software testing?

    Test case design/ data management techniques

    4
  • After which phase, we can proceed to the white box testing?

    After the coding phase

    1
  • Which of the following is not another name of white box testing?

    Behavioral testing

    2
  • The 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

    3
  • The Decision table testing is a ----------?

    Black Box Test Design Technique

    2
  • When we have to stop the testing?

    The risk is resolved

    4
  • Which of the below statement is true about the Equivalence Partitioning technique?

    A black box testing technique appropriate to all levels of testing.

    1
  • Which of the following testing is refers to as a fault-based testing technique?

    Mutation testing

    2
  • What is component testing?

    White-box testing

    1
  • Testing done without planning and Documentation is called

    Adhoc testing

    3
  • Acceptance testing is also known as

    Beta testing

    4
  • Alpha testing is done at

    Developer’s end

    1
  • 1.       Which of the following is non-functional testing?

    Performance testing

    2
  • Beta testing is done at

    User’s end

    1
  • Unit testing is done by

    Developers

    2
  • What is normally considered as an adjunct to the coding step

    Completion of Testing

    2
  • Which of the following is not regression test case?

    Low-level components are combined into clusters that perform a specific software sub-function

    4
  • Which testing is an integration testing approach that is commonly used when “shrink-wrapped” software products are being developed?

    Smoke testing

    3
  • In which testing level the focus is on customer usage?

    Both Alpha and Beta

    4
  • The architecture of object-oriented software results in a series of layered subsystems that encapsulate collaborating classes.

    1
  • The construction of object-oriented software begins with the creation of

    both design and analysis model

    4
  • Which testing integrates the set of classes required to respond to one input or event for the system?

    thread-based testing

    2
  • Which of the following is one of the steps in the integration testing of OO software?

    cluster testing

    1
  • In which of the following testing strategies, a smallest testable unit is the encapsulated class or object?

    Unit testing

    1
  • What is normally considered as an adjunct to the coding step

    Unit testing

    2
  • Which testing is an integration testing approach that is commonly used when “shrink-wrapped” software products are being developed?

    Smoke testing

    3
  • What is the key objective of Integration testing?

    Interface Errors

    2
  • What 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

    2
  • Beta 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

    2
  • In 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

    1
  • Test 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

    2
  • The output of the requirement analysis and the requirement specification is used as the input for writing ____________

    User Acceptance Test Cases

    1
  • All ____________ has to be completed before integration testing can be done

    Unit testing

    3
  • _______________ tests are designed early.

    Preventive

    1
  • What 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

    4
  • The 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

    3
  • A _____________ test is when an invalid input is put and errors are received.

    Negative

    3
  • A ____________ test is when a valid input is put and some action to be completed in accordance with the specification is expected.

    Positive

    1
  • Which 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

    2
  • While 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

    4
  • During ___________ testing, code is not executed.

    Static

    3
  • Static testing is done using the software __________

    Documentation

    1
  • To 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

    4
  • System testing is also known as ____________

    End to End Testing

    3
  • UAT 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

    4
  • For a mutant to be killed, the test must __________ the mutated statement.

    Reach

    4
  • The review process for a particular review begins with a _____________ by the author to the moderator in formal review.

    Request For Review

    1
  • Configuration 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

    3
  • RTM is prepared ___________

    Before test case designing

    2
  • In ___________ each component at lower hierarchy is tested individually and then the components that rely upon these components are tested.

    Bottom up

    3
  • Which Life Cycle model has lesser, more or different levels of development and testing, all depending on the project and the software product?

    V shaped

    3
  • COTS means ___________

    Commercial off The Shelf

    3
  • _____________ is based on the project plan, but with greater amounts of detail

    Phase Test Plan

    1
  • STLC 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

    3
  • A 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

    1
  • An 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

    2
  • To 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

    4
  • A ___________ is a test that exercises code by focusing on a single method.

    Logic unit test

    1
  • Functional Unit tests don’t test a complete ____________ as expected by pure functional tests.

    Workflow

    1
  • Higher test coverage is achieved by white box tests because of ____________

    Access to more methods

    1
  • In order to write testable code, ______________ should be reduced as much as possible.

    Dependencies

    1
  • A 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

    2
  • Eliminating duplication ensures that code is written that’s not only testable but also

    Maintainable

    2
  • On the development platform, _________ unit tests are executed

    Logic

    3
  • The _____________ exercises the application under load and verifies that it scales correctly.

    Stress test platform

    4
  • Using 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

    2
  • Which of the following errors should not be tested when error handling is evaluated?

    Error noted does not correspond to error encountered

    1
  • Which 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

    2
  • Which 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

    3
  • Which 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

    3
  • The purpose of ……………… is to provide feedback and visibility about test activities.

    Test monitoring

    2
  • The 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

    4
  • For 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

    4
  • Followings 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

    4
  • Testing comes under which category of cost of quality?

    Appraisal

    2
  • It is a set of levels that defines a testing maturity hierarchy

    TMM (Testing Maturity Model)

    2
  • The review and approved document (i.e. Test plan, System Requirement Specification’s) is called as

    Baseline Document

    2
  • Configuration Management Plan describes the Configuration Management procedures and structures to be used.

    True

    1
  • Maintenance Plan predicts the maintenance requirements of the system, maintenance costs and effort required

    1
  • Which three framework activities are present in Adaptive Software Development(ASD) ?

    speculation, collaboration, learning

    3
  • Which of the following does not apply to agility to a software process?

    Eliminate the use of project planning and testing

    3
  • Function Point Computation is given by the formula

    . FP = count total * [0.65 + 0.01 * sum(Fi)]

    2
  • SMI stands for?

    Software Maturity Index

    3
  • Statement and branch coverage metrics are part of

    Testing

    4
  • Size and Complexity are a part of

    Product Metrics

    1
  • Number of errors found per person hours expended is an example of a

    metric

    3
  • The arc-to-node ratio is given as r = a/n. What does "a" represent in the ratio

    lines of control

    4
  • The intent of project metrics is:

    minimization of development schedule and assessing project quality on ongoing basis

    4
  • Which of the following is not a direct measure of SE process?

    Efficiency

    1
  • Which of the following is an indirect measure of product?

    All of the Mentioned

    4
  • In size oriented metrics, metrics are developed based on the ___________________

    number of lines of code

    3
  • Usability can be measured in terms of:

    All of the mentioned

    4
  • Defects removal efficiency (DRE)depends on:

    Both E and D

    3
  • Which of the following is not a product matrix ?

    Productivity

    3
  • Efforts is measured in terms of ?

    Person - Months

    1
  • Infrastructure software are covered under ?

    Generic Products

    1
  • The 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

    4
  • During software development which factor is most crucial ?

    People

    1
  • Milestones are used to ?

    Know the cost of the project

    1
  • .The term module in the design phase refers to ?

    All of the above

    4
  • Information hiding is to hide from user, details ?

    that are confidential

    4
  • Structured programming codes includes ?
    only A,B AND C

  • An important aspect of coding is ?

    Readability

    1
  • Quality of the product comes under which type of measures?

    Indirect measures

    1
  • Measurements can be categorized in two ways. What are those two ways?

    Direct and Indirect

    1
  • Measure of reliability is given by ______ .

    Mean Time between failure (MTBF).

    3
  • Line of code(LOC) of the product comes under which type of measures?

    Direct measures

    2
  • To 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

    1
  • In size oriented metrics, metrics are developed based on the ___________________

    number of lines of code

    3
  • Measurements can be categorized in two ways. What are those two ways?

    Direct and Indirect

    1
  • Which thing/things will be automate?

    All the above

    4
  • Can you achieve 100% automation?

    No

    2
  • Identify the guidelines for frameworks

    Handling logs

    4
  • Where will you maintain information like URL, login, password?

    separate file

    1
  • What are the different types of frameworks?

    Linear Scripting

    3
  • Which of the following is not other name for structural testing?

    Behavioral testing

    3
  • Which of the following is non functional testing for an e-commerce website?

    1000 people can log into system at same time.

    4
  • Which of the following are functional characteristics? 1. Maintainability 2. Usability 3.Compliance 4.Accuracy 5.Portability 6. Efficiency

    3,4

    3
  • Which 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

    1
  • Which 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

    4
  • A program with high cyclometic complexity is almost likely to be

    Difficult to test

    1
  • Coverage 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

    1
  • Integration testing in the small:

    Tests interactions between modules or subsystems.

    3
  • Which of the following is NOT true of test coverage criteria?

    A measure of test coverage criteria is the percentage of faults found.

    3
  • Regression testing should not be part of a test plan.

    2
  • Regression testing can be automated.

    True

    1
  • regression testing is triggered by changes of the source code, whereas ...... regression testing is triggered by specification changes.

    Corrective, progressive

    2
  • Which of the following is an indirect measure of product?

    All of the above

    4

Post a Comment

Previous Post Next Post