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. In coin problem where to occur Data Defect

  • Array value 2 times
  • Array value 1 times
  • Array value 3 times

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

  • Flowchart
  • Pseudocode
  • Storyboard
  • Graphical user interface

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

  • True
  • False

4. Acceptance testing is also known as

  • Grey box testing
  • White box testing
  • Alpha Testing
  • Beta testing

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

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

6. Beta testing is done at

  • User’s end
  • Developer’s end
  • User’s & Developer’s end
  • None of the mentioned

7. Which is Deductive Process

  • Testing
  • Debugging
  • Bug
  • Error

8. A ________ is the smallest testable piece of software that can be compiled

  • Unit
  • Component
  • Integration
  • System

9. A _________ is an integrated aggregate of one or more units

  • Unit
  • Component
  • Integration
  • System

10. 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

11. Unit testing is done by

  • Users
  • Developers
  • Customers
  • None of the mentioned

12. Which of the following is black box testing

  • Basic path testing
  • Boundary value analysis
  • Code path analysis
  • None of the mentioned

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

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

14. 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

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

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

16. In which testing level the focus is on customer usage?

  • Alpha Testing
  • Beta Testing
  • Validation Testing
  • Both Alpha and Beta

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

  • True
  • False

18. What is the difference between Quality Assurance (QA) and Quality Control (QC)?

  • QA is the process to create the deliverables and QC is a method to verify the quality
  • QA is the process to verify that deliverables and QC is the process to create the deliverables
  • QA aims to identify and improve defects and QC aims to prevent the defect
  • QA is a validation of process and QC is a verification process

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

  • True
  • False

20. 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.

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

  • People
  • Product
  • Process
  • Project

22. Software engineering approach is used to achieve:

  • Better performance of hardware
  • Error free software
  • Reusable software
  • Quality software product

23. If requirements are easily understandable and defined, which model is best suited?

  • Waterfall Model
  • Prototyping Model
  • Spiral Model
  • V-Model

24. Attributes of Product Revision

  • Maintainability
  • Usability
  • Integrity
  • Interoperability

25. A ....................... can be regarded as any failure to address end-user requirements.

  • Software error
  • Software bug
  • Software Defect
  • Software failure

26. Reliability of a software system derives from ............ and .............

  • Usability and efficiency
  • Integrity and Portability
  • Correctness and Availability
  • Extensibility and Testability

27. The customer may provide insufficient or incorrect information causes

  • error
  • fault
  • defects
  • failure

28. The other name for bug is known as..................

  • Anomaly
  • Failure
  • Fault
  • Deaft

29. Software testing consists of how many principles?

  • 10
  • 9
  • 8
  • 11

30. DEFECT CLASSES: have

  • Requirements\ Specifications
  • Testing,Design,Code
  • All the above

31. The overall description of what the product does, and how it should behave(Input/Output), is incorrect, ambiguous, and /or incomplete.

  • Feature Interaction Defects:-
  • Feature Defects
  • Functional Description Defects:

32. DESIGN DEFECTS example

  • Interface Description Defects
  • Algorithmic and Processing Defects
  • Data Flow Defects

33. Coin problem consists of Control Logic & Sequencing defect

  • True
  • False

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

  • True
  • False

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

  • Process Dependent 
  • Process Independent
  • Both
  • None

36. The logical function evaluated at a decision is called____________

  • Decision
  • Predicate
  • Path
  • None

37. _______ loop is a combination of nested loops

  • Concatenated
  • Horrible
  • Nested
  • None

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

  • Concatenated
  • Horrible
  • Nested
  • None

39. A __________is a program point at which the control flow can diverge

  • Decision
  • Case Statement
  • Junction
  • None

40. ____________ designs the system and is accountable to the buyer

  • Builder
  • Buyer
  • User
  • Tester

41. Which Phase in Tester life state there is no difference between testing and debuggin

  • Phase 0
  • Phase 1
  • Phase 2
  • Phase 3

42. Switch is a multi way decision statements

  • True
  • false

43. ----- testing finds how many functions are covered by test cases

  • Conditional coverage
  • Function Coverage
  • path coverage
  • non functional coverage

44. necessary to have test cases that exercise each Boolean expression and have test cases test produce the TRUE and FALSE paths.

  • Condition Coverage
  • Path Coverage
  • Both
  • un Condition Coverage

45. Path Coverage= No of of path exercised/Total No of of path in the program

  • True
  • false

46. Statement coverage may not indicate “true coverage”.

  • True
  • False

47. 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,

48. Code coverage testing involves designing and executing test cases and finding out the percentage of code that is covered by testing.

  • True
  • False

49. The developer can perform certain obvious tests, knowingthe input variables and the corresponding expected output Variables

  • Initially Quick test
  • modules with Complex logic & condition
  • run the product under debugger or IDE

50. Each defect and frequency of occurrence must be recorded after testing.

  • Yes
  • No

Enjoyed the Quiz. Share this with friends

Comments

Add Your Review

Your email address will not be published.

Subscribe to Newsletter!

Subscribe to get latest updates and information.