1. What is the primary purpose of software testing?
A) To increase project budgets
B) To delay project schedules
C) To ensure the quality of software products
D) To decrease customer satisfaction
2. According to IEEE 83a, how is software testing defined?
A) A process of designing and implementing software to withstand attacks
B) The process of checking the correctness of a product
C) The process of exercising or evaluating a system to verify it meets specified
requirements
D) A method of investigation to assess the quality of a software product
3. What is the main objective of software testing?
A) To introduce bugs and defects
B) To increase downtime for the product
C) To catch bugs, errors, and defects
D) To decrease customer confidence
4. Which of the following is NOT an objective of software testing?
A) Ensuring the system is stable
B) Identifying areas of strength in an application
C) Determining user acceptability
D) Enhancing customer confidence
5. What term is used to describe an error in a software program that may produce incorrect
results?
A) Bug
B) Defect
C) Incident
D) Anomaly
6. What is the primary reason behind software bugs occurring due to the human factor?
A) Lack of communication
B) Unrealistic development timeframe
C) Poor design logic
D) Human errors, incorrect usage of logic or syntax
7. Which of the following is NOT a reason for software failure?
A) Human Factor
B) Unrealistic Development Timeframe
C) Lack of Skilled Testing
D) Complete adherence to coding standards
8. What is the purpose of validation testing?
A) To check if the software is built according to requirements and design specifications
B) To ensure that the product satisfies specified business requirements
C) To identify defects in the software
D) To evaluate the quality of the software
9. What is the main difference between verification and validation?
A) Verification is dynamic testing; validation is static testing
B) Verification evaluates software during development; validation evaluates it after
development
C) Verification ensures the product meets user needs; validation ensures it meets design
specifications
D) Verification checks requirements; validation checks code
10. Which testing technique involves executing the code and testing its behavior in
different scenarios?
A) Code Inspection
B) Unit Testing
C) Integration Testing
D) Validation Testing
11. Who primarily conducts code walkthroughs?
A) Project Lead
B) End User
C) Software Developer
D) Software Tester
12. What is the main purpose of integration testing?
A) To test the entire application as a single unit
B) To test individual modules separately
C) To test two or more independent components together
D) To test the system in different scenarios
13. When should testing ideally begin in the software development life cycle (SDLC)?
A) During the Requirements Gathering phase
B) During the Coding phase
C) During the Deployment phase
D) After the Maintenance phase
14. What aspect is NOT considered when deciding when to stop testing?
A) Testing Deadlines
B) Completion of test case execution
C) Bug rate falls below a certain level
D) Employee satisfaction levels
15. Why is software testing important?
A) To introduce defects into the software
B) To decrease customer trust and satisfaction
C) To maintain and enhance product quality
D) To increase the cost of software development
16. What level of testing involves testing individual modules of the application?
A) Integration Testing
B) System Testing
C) Acceptance Testing
D) Unit/Component Testing
17. Which approach to software testing involves humans testing without automation tools?
A) Manual Testing
B) Automation Testing
C) Dynamic Testing
D) Unit Testing
18. What is the primary goal of defensive programming?
A) To assume everything
B) To never check assumptions
C) To handle all possible error states
D) To ignore potential errors
19. Which organization develops publications outlining industry best practices for software
assurance?
A) Software Quality Institute
B) SAFE Code
C) Software Testing Alliance
D) Quality Assurance International
20. What is the purpose of code inspection?
A) To test individual modules of the application
B) To simulate code execution by hand
C) To discover common types of errors caused by oversight
D) To evaluate the entire application as a single unit
21. Who conducts acceptance testing?
A) Software Developers
B) Project Managers
C) End Users
D) Quality Assurance Engineers
22. Which level of testing evaluates both functional and non-functional test cases?
A) Unit Testing
B) Integration Testing
C) System Testing
D) Acceptance Testing
23. What is the main objective of unit testing?
A) To test individual modules of the application
B) To test the entire application as a single unit
C) To test two or more independent components together
D) To evaluate both functional and non-functional test cases
24. Which approach to software testing involves using tools or scripts?
A) Manual Testing
B) Automation Testing
C) Integration Testing
D) Unit Testing
25. What is the purpose of code walkthroughs?
A) To discover common types of errors caused by oversight
B) To simulate code execution by hand
C) To evaluate the entire application as a single unit
D) To test individual modules of the application
26. Who conducts code inspection?
A) Software Developers
B) Project Managers
C) End Users
D) Quality Assurance Engineers
27. Which level of testing is done by the developer himself after writing code for a feature?
A) Unit Testing
B) Integration Testing
C) System Testing
D) Acceptance Testing
28. What is the primary reason for conducting integration testing?
A) To test individual modules of the application
B) To simulate code execution by hand
C) To test two or more independent components together
D) To evaluate both functional and non-functional test cases
29. Which level of testing involves testing the entire application as a single unit?
A) Unit Testing
B) Integration Testing
C) System Testing
D) Acceptance Testing
30. What is the main purpose of acceptance testing?
A) To test individual modules of the application
B) To simulate code execution by hand
C) To evaluate the entire application as a single unit
D) To ensure the software product is developed according to user requirements