Software Testing MCQ With Answers

Software Engineering is a systematic, disciplined, cost-effective technique for software development. In simple terms, it is an engineering approach to developing software.

Software testing is a part of the software development process. Software testing is an activity to detect and identify defects in software. The primary purpose of testing is to release quality products to the client.

Testing in Software Engineering 

  • At different stages of software development, we need to test what we develop.
  • When we develop a unit, we test it when we integrate it with other units.
  • Also, it needs to be tested before giving the software to the customer.
  • In some testing types, we directly deal with the code, which is known as white box testing.
  • In some other cases, we do not have to look at the code and it is known as black-box testing.
  • A mixture of these two is known as gray box testing.

Unit Testing

  • Testing a single unit of the software is known as unit testing.
  • In this testing, we will test an isolated unit of the software, which contains lots of the units.

Integration Testing

  • Here, the testing of a few units of the software is done separately. Now, after testing, those units are integrated.
  • After integrating those units, it is again tested.
  • This is known as integration testing.

Regression Testing

  • Here, a new module is made and it is added to the software.
  • Whenever a new module is added to the software, it is tested to check whether the software is working fine with the change.
  • This is known as regression testing.

System Testing

  • The complete software is ready and working as a system.
  • In this testing, the focus is the entire software. The testing is done based on Evolutionary are input and output.
  • Software compatibility is tested on different kinds of OS.
  • Testing the software comes under the black box testing category.

Stress Testing

  • The software is tested under unfavorable conditions.
  • In this testing, the software is pushed to its maximum limit to check whether any failure occurs under some unfavorable conditions.

Preparation Resources:

Software Testing MCQ

1. 

System testing is a

Grey box testing

White box testing 

Black box testing

Both b and c are correct

2. 

Identify the term which is used to define testing?

Finding broken code

A stage of all projects

Evaluating deliverables to find errors

None of the above

3. 

Identify the testing tool which does not support by Database Testing?

Finding broken code

A stage of all projects

Evaluating deliverables to find errors

None of the above

4. 

Identify the testing which cannot be performed on the first build of the software?

Sanity testing

Regression testing

Retesting

All a, b and c

5. 

In which chart are lower and upper limits present?

Run chart

Bar chart

Control chart

None of the above

6. 

In which of the following categories can White Box techniques be classified.

Design based testing

Error guessing technique

Structural testing

None of the above

7. 

In which of the following categories can white-box testing be classified?

Design based testing

Structural testing

Error guessing technique

None of the above

8. 

In which stage is user acceptance testing done?

Manual stage

Automatic stage

On both a and b

None of the above

9. 

Is exhaustive testing possible?

Always possible

Impractical but possible

Impractical but impossible

Practically possible

10. 

RUP and PSP stands for?

Rational Unified Process and Personal software process

Rational Unified Process and Project software process

Real-time unified process and Project software process

Real-time unified process and Personal software process

11. 

Select the best time when regression testing should be done?

As frequently as possible

When the environment has been modified

After the software has been modified

Both b and c are correct

12. 

Select the correct defect rate for Six sigma?

1.0 defect per million lines of code.

1.4 defects per million lines of code.

3 defects per million lines of code.

3.4 million per million lines of code.

13. 

Select the correct option. Agile development testing is not treated as a separate phase.

True

False

14. 

Should automation testing be performed before manual testing?

Yes

No

15. 

Identify the term which is used to define testing?

Finding broken code

A stage of all projects

Evaluating deliverables to find errors

None of the above

16. 

The full form of ITG is?

independent test group

integration testing group

individual testing group

None of the above

17. 

The full form of SPICE is?

Software Process Improvement and Control Determination

Software Process Improvement and Capability Determination

Software Process Improvement and Compatibility Determination

None of the above

18. 

The SRS document is also known as _____________ specification.

Black box

White box

Grey box

None

19. 

To notify the developer which bugs need to be fixed first is termed as?

Scalability

Fixability

Traceability

Priority

20. 

To which boundary value analysis belongs.

Black box testing

White box testing

Both a and b are correct

None of the above

21. 

Using which methodology is maintenance testing performed?

Sanity testing

Retesting

Breadth test and depth test

Confirmation testing

22. 

What does FAST stand for?

Facilitated Application Specification Technique

Functional Application Specification Techniques

Fast Application Specification Technique

None

23. 

What is cyclomatic complexity?

Black box testing

White box testing

Grey box testing

All of the above

24. 

When can white-box testing be started?

After SRS creation

After installation

After programming

After designing

25. 

Which is not true in case of Unit testing?

It is conducted by development team.

It decreases the speed of development.

Tester tests whether individual units of source code is fit for use.

It cannot be expected to catch every error in program.

26. 

Which of the following are types of code review?

Code walkthrough

Code inspection

Both A and B

None

27. 

White box testing is also known as

Behavioral testing

Glass box testing

Structural testing

None of the above

28. 

Identify the correct option among the following which is not included in SRS?

Functionality

Performance

External interfaces

Design solutions

29. 

Black box testing is also known as

Behavioral Testing

Data flow testing

Graph based testing

Loop testing

30. 

By whom is unit testing done?

Users

Customers

Developers

None

31. 

CCMI model stands for?

Capability Managed Maturity Integration

Capability Maturity Model Integrator

Capability Maturity Modification integration

Capability Maturity Model integration

32. 

Choose the correct option among the following. Does the software consist of?

Program+documentation operating procedures

Program+hardware manuals

Instruction+hardware manuals

Set of programs

33. 

Choose the correct option which is not used in measuring the size of the software?

Size of module

KLOC

Function points

None of the above

34. 

Choose the correct option which represents the key objective of integration testing?

Interface errors

Procedure errors

Design errors

None of the above

35. 

Choose the correct option which states the correct definition of Software. It is considered to be a collection of?

Programming code

documentations

associated libraries

All of the above

36. 

Choose true or false: Standard enforcer tool looks at the whole program.

True

False

37. 

COCOMO model stands for?

Complete Cost Estimation Model

Constructive Cost Estimation Model

Common Cost Estimation Model

Comprehensive Cost Estimation Model

38. 

Decomposition is also popularly known as

Group and merge principle

Binary search principle

Quicksort principle

Divide and conquer principle

39. 

Identify among the following which is not a type of incremental testing approach.

Big-bang

Top-down

Bottom-up

Functional incrimination

40. 

Identify the correct functional requirement.

Robustness

Portability

Maintainability

None

41. 

Identify the correct measure for correctness.

Errors per KLOC

$ per KLOC

Defects per KLOC

None

42. 

A program having high cyclomatic complexity is more likely to be

Small

Difficult to test

Difficult to write

Large

43. 

Identify the environment in which we can perform alpha testing?

User’s end

Developer’s end

Both a and b are correct

None of the above

44. 

Identify the fault-based testing technique.

Beta testing

Unit testing

Mutation testing

Stress testing

45. 

Identify the incorrect black box technique?

Syntax testing

Linear Code Sequence and Jump(LCSAJ)

State transition testing

None of the above

46. 

Identify the incorrect phase of STLC(Software Testing Life cycle).

Test closure

Coding

Requirement analysis

Test planning

47. 

Identify the incorrect testing technique.

Integration testing

Collaboration testing

System testing

Unit testing

48. 

Identify the incorrect white box technique.

Statement testing

State transition testing

Path testing

Data flow testing

49. 

Identify the most reputed testing standard?

Microsoft

M Bridge Awards

ISO

QAI

50. 

Identify the stage in which test cases are designed?

Test planning

Test configuration

Test specification

Test recording

51. 

Identify which of the following life cycle contains the phases: test case design, test execution, defect tracking, maintenance.

SDLC

STLC

SQLC

BLC

52. 

Identify the term which is known as a variance from software product specifications?

Report

Defect

Review

Requirement

53. 

Identify the term which is not related to testing?

failure

error

Test case

Test bot

54. 

Identify the term which is used to define functional testing?

Component testing

Sanity testing

Acceptance testing

None of the above