SE601 MCQs

1. What is a software defect?

Answer: B. A phenomenon where software deviates from its expected behavior

2. What is the primary objective of software testing?

Answer: B. To ensure the software meets the expected behavior and requirements

3. Which of the following is a limitation of software testing?

Answer: B. It can only detect a subset of defects

4. What is included in a test case?

Answer: C. Input and output specifications plus the function under test

5. What is the difference between verification and validation?

Answer: A. Verification ensures the product is built right, while validation ensures the right product is built

6. What is white box testing?

Answer: B. Testing based on the internal structure of the code

7. What does path coverage in white box testing refer to?

Answer: A. Covering all possible paths in the code

8. What is cyclomatic complexity?

Answer: A. A measure of the number of independent paths in a program

9. What is an infeasible path in software testing?

Answer: B. A path that cannot be executed due to logical constraints

10. What is the role of a developer in testing?

Answer: C. Developers can act as testers for their own code

11. What is the purpose of equivalence classes in testing?

Answer: B. To reduce the number of test cases by grouping similar inputs

12. What is a flow graph in software testing?

Answer: B. A graphical representation of the control flow in a program

13. What is the main goal of path coverage testing?

Answer: A. To ensure all possible paths in the code are tested

14. What is the significance of cyclomatic complexity in testing?

Answer: A. It helps in determining the number of test cases needed

15. What is the difference between testing and development?

Answer: B. Testing focuses on finding defects, while development focuses on creating the software

16. What is DevOps?

Answer: B) A combination of Development and Operations

17. Why was DevOps introduced?

Answer: C) To promote collaboration between development and operations

18. Which of the following is NOT an advantage of DevOps?

Answer: B) Higher failure rates of new releases

19. Which of the following is a disadvantage of DevOps?

Answer: C) Adopting DevOps technology is difficult for industries

20. Which of the following tools is NOT commonly used in DevOps?

Answer: D) Microsoft Word

21. What is the main difference between Agile and Waterfall development?

Answer: B) Waterfall follows a linear approach, while Agile is iterative

22. Which phase of the DevOps lifecycle involves planning and coding?

Answer: B) Continuous Development

23. What tool is commonly used for Continuous Integration in DevOps?

Answer: A) Jenkins

24. What is the purpose of Continuous Monitoring in DevOps?

Answer: B) To identify and resolve issues in the system

25. Which of the following DevOps tools is used for automation?

Answer: A) Puppet

26. What does the 'Continuous Integration' phase in DevOps involve?

Answer: C) Regularly merging code changes with testing and integration

27. What is the main goal of DevOps?

Answer: C) To improve collaboration and automate processes

28. What is the main function of Docker in DevOps?

Answer: C. Automating software development and infrastructure management

29. What is the primary purpose of a code review?

Answer: B) To detect and eliminate errors/defects early in the software life cycle

30. Which of the following is NOT a type of review?

Answer: D) Debugging

31. What is a desk check?

Answer: B) An informal review performed by the author of the artifact

32. What is the main goal of a walkthrough?

Answer: B) To guide the progression of the review with the producer as the leader

33. What is an inspection in software reviews?

Answer: B) A formal evaluation technique to detect faults and violations of standards

34. What is the purpose of an audit in software development?

Answer: B) To evaluate conformance of software products and processes to regulations and standards

35. Which of the following is a key component of a review plan?

Answer: A) Review goals

36. What is the main focus of a requirements review?

Answer: A) To check progress and adherence to standards

37. Which of the following is a common tool used in inspections?

Answer: B) Checklist

38. What is the purpose of a code review checklist?

Answer: B) To ensure adherence to coding standards and detect errors

39. What is the main focus of a design review?

Answer: A) To check conformity with specifications and fitness for purpose

40. What is the purpose of a user documentation review?

Answer: B) To ensure the documentation is clear, correct, and supports understanding

41. What is the main goal of static code analysis?

Answer: B) To analyze the code without executing it to detect potential issues

42. Which of the following is a quality attribute to check in technical information?

Answer: B) Clarity and consistency

43. What is the purpose of a formal review report?

Answer: B) To document defects found, their severity, and the status of the reviewed item