About Software Testing

Following are some of the multiple choice questions on the Software Testing with answers that will help the students in developing their knowledge.

Software Testing MCQ

1. Which of the following is not a sqa plan for a project

  • Audits and reviews to be performed
  • Evaluations to be performed
  • Amount of technical work
  • Documents to be produced by the SQA group

2. Which of the following is not part of performance testing?

  • simulating many users
  • measuring response times
  • generating many transactions
  • recovery testing

3. Software testing activities should start

  • as soon as the code is written
  • during the design stage
  • when the requirements have been formally documented
  • as soon as possible in the development life cycle

4. Which of the following is not a static testing technique?

  • Inspections
  • Data flow analysis
  • Error guessing
  • Walkthrough

5. Unreachable code would best be found using

  • code inspections
  • a static analysis tool
  • code reviews
  • a test management tool

6. Defect Management Process does not include

  • Deliverable base-lining
  • Management reporting
  • Defect prevention
  • None of above

7. Impact analysis helps to decide

  • How many more test cases need to written.
  • How much regression testing should be done.
  • Different Tools to perform Regression Testing
  • Exit Criteria

8. Which of the following is a form of functional testing?

  • Security testing
  • Performance testing
  • Boundary value analysis
  • Usability testing

9. Static testing, the product is tested by humans using just the source code and not the executables or binaries.

  • True
  • False

10. Which of the following is not a valid phase of SDLC (Software Development Life Cycle)?

  • Testing Phase
  • Requirement Phase
  • Deployment phase
  • Testing closure

11. In coin problem where to occur Data Defect

  • Array value 2 times
  • Array value 1 times
  • Array value 3 times
  • none of the above

12. All defects result in failure.

  • True
  • False

13. A test harness is a

  • A high level document describing the principles, approach and major objectives of the organization regarding testing
  • A distance set of test activities collected into a manageable phase of a project
  • A test environment comprised of stubs and drives needed to conduct a test
  • A set of several test cases for a component or system under test

14. A city field in software accepts 3 to 25 alpha characters only. Using BVA technique what will be the possible number of combinations?

  • 3, 4, 24, 25
  • 2, 3, 25, 26
  • 2, 3, 24, 25
  • 3, 5, 25, 26

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

  • Failure intensity
  • Testing time
  • Metrics
  • All of the mentioned

16. Component Testing is also called as

  • Unit testing
  • Module testing
  • Program testing
  • All of the above

17. In Which of the following situation defects will arise?

  • System is used in wrong way
  • May have coded wrongly
  • Incorrect setup of testing environment
  • All the above

18. Which is not a task of a configuration management?

  • Reporting
  • Version control
  • Quality control
  • Change management

19. Reporting Discrepancies as incidents is a part of which phase?

  • Test Implementation and execution
  • Evaluating exit criteria and reporting
  • Test Analysis and Design
  • Test Closure Activities

20. What is the type of the algorithm used in solving the 8 Queens problem ?

  • BackTracking
  • Dynamic Programming
  • Branch and Bound
  • None

21. Of the following tree structure, which is, efficient considering space and time complexities?

  • Incomplete Binary Tree
  • Complete Binary Tree
  • Full Binary Tree
  • None

22. Integration bugs occur when the interfaces are integrated in between the assumed tested components

  • True
  • False

23. Main() { float me = 1.1; double you = 1.1; if(me==you) printf("yes"); else printf("No"); }

  • Yes
  • No
  • Both
  • Compilation error

24. Generate test data to make the program enter the sequential block, to make it go through the entire block

  • Sequential control flow
  • Two-way decision statements
  • Multi-way decision statements
  • Loops like while do,

25. ___________ loops fall between single and nested loops with respect to test cases

  • Concatenated
  • Horrible
  • Nested
  • None

26. Data flow analysis studies

  • The use of data on paths through the code
  • Possible communications bottlenecks in a program
  • The intrinsic complexity of the code
  • The rate of change of data values as a program executes

27. The SQL statements that take care of security and authorization are

  • DDL
  • DML
  • DCL
  • None

28. Which tool would you use if a programmer wanted to express algorithm visually?

  • Flowchart
  • Pseudocode
  • Storyboard
  • Graphical user interface

29. Early defects are

  • Costly to find and difficult to fix
  • Cheap to find and difficult to fix
  • Costly to find and easy to fix
  • Cheap to find and easy to fix

30. During software development, which factor is most crucial ?

  • People
  • Product
  • Process
  • Project

31. Which of the following techniques is NOT a White box technique?

  • Statement Testing and coverage
  • Decision Testing and coverage
  • Condition Coverage
  • Boundary value analysis

32. Which term is used to define testing?

  • Evaluating deliverable to find errors
  • Finding broken code
  • A stage of all projects
  • None of the above

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

  • True
  • False

34. Acceptance testing is also known as

  • Alpha & Beta Testing
  • White box testing
  • None of these
  • Grey box testing

35. Which one of the following characteristics of software products being developed is not a symptom of software crisis?

  • Fail to meet user requirements.
  • Expensive.
  • Highly interactive.
  • Difficult to alter, debug, and enhance.

36. What is normally considered as an adjunct to the coding step

  • Integration testing
  • Unit testing
  • Completion of Testing
  • Regression Testing

37. Which of the following is non-functional testing?

  • Black box testing
  • Performance testing
  • Unit testing
  • None of the mentioned

38. Which of the following is not a part of the Test Implementation and Execution Phase

  • Creating test suites from the test cases
  • Executing test cases either manually or by using test execution tools
  • Comparing actual results
  • Designing the Tests

39. Which of the following is not used in measuring the size of the software

  • KLOC
  • Function Points
  • Size of module
  • None of the mentioned

40. Testing done without planning and Documentation is called

  • Unit testing
  • Regression testing
  • Adhoc testing
  • None of the mentioned

41. Which of the following is not a test level

  • component testing
  • system testing
  • client acceptance testing
  • integration testing

42. The testing in which code is checked

  • Black box testing
  • White box testing
  • Red box testing
  • Green box testing

43. The path segment for which every node is visited atmost once is said to be

  • DU path
  • Simple path segment
  • loop free path
  • defination clear path segment

44. Defect Repository supports which of the following TMM maturity goals

  • Controlling and monitoring of tests
  • fault model generation
  • test planning
  • defect avoidance

45. A Type of Functional Testing, which investigates the functions relating to the detection of threats, such as viruses from malicious outsiders.

  • Performance Testing
  • Recovery Testing
  • Security Testing
  • Functionality Testing

46. Test Conditions are derived from:

  • Specifications
  • Test Cases
  • Test Data
  • Test Design

47. Statement coverage will not check for the following

  • Dead Code
  • Unused Statement
  • Missing Statements
  • Unused Branches

48. Typographical Defects is under which test class

  • coding Defect
  • Testing Defect
  • Design Defect
  • none of the above

49. A predicate whose truth value can change as a result of the processing is said to be

  • Process Dependent 
  • Process Independent
  • Both
  • None

50. Which of the following is not part of the test type?

  • security testing
  • database testing
  • functional testing
  • statement testing

Enjoyed the Quiz. Share this with friends


Add Your Review

Your email address will not be published.

Subscribe to Newsletter!

Subscribe to get latest updates and information.