MID 2 Objective
MID 2 Objective
S. No Questions Ans
Module-3
1 What is the main objective of regression testing? B
A. To test new functionality in a software system
B. To ensure that recent code changes have not adversely affected the existing functionality
C. To test for performance improvements
D. To identify new bugs in the system
2 Regression testing is primarily done: B
A. After every iteration of development
B. After major code changes or enhancements
C. Only during the first phase of testing
D. Before the deployment of software
14 Which regression testing technique focuses on running a minimal set of test cases? C
A. Complete regression testing
B. Unit regression testing
C. Regression test selection
D. Retest-all strategy
22 Which of the following regression testing types is focused on testing individual units of code? A
A. Unit regression testing
B. Complete regression testing
C. Smoke testing
D. System regression testing
25 Which regression testing technique involves ranking test cases based on their importance? A
A. Test case prioritization
B. Unit regression testing
C. Retest-all strategy
D. Smoke testing
Module 4
26 Why does a test suite grow over time? A
A. New features are added to the software
B. Old test cases are deleted
C. The system is static and unchanging
D. Test suites remain constant over time
27 One of the main reasons for minimizing a test suite is: B
A. To increase the number of test cases
B. To reduce the execution time and resources required
C. To delete important test cases
D. To ensure no new test cases are added
41 Which test case prioritization technique focuses on executing test cases based on the likelihood of A
finding faults?
A. Fault-based prioritization
B. Code coverage prioritization
C. Random prioritization
D. Requirements-based prioritization
59 What does the term "defect density" refer to in software quality management? C
A. The number of defects per module
B. The number of developers fixing defects
C. The number of defects per size of code (e.g., per KLOC)
D. The cost of fixing defects
63 What does the term "test coverage" measure in software quality metrics? B
A. The number of defects found
B. The percentage of code executed by tests
C. The number of test cases executed
D. The cost of testing
64 Software Quality Management (SQM) ensures that: A
A. All software meets quality standards throughout its lifecycle
B. Only new software features are developed
C. The cost of development is increased
D. Software quality is ignored
65 Which software quality metric measures how long the software operates before failing? C
A. Defect density
B. Test coverage
C. Mean time to failure (MTTF)
D. Lines of code
Module 5
76 What is the primary need for test automation? B
A. To increase manual intervention in testing
B. To improve testing efficiency and coverage
C. To reduce the cost of developing software
D. To avoid testing altogether
77 Which of the following is NOT a categorization of testing tools? D
A. Functional testing tools
B. Unit testing tools
C. Debugging tools
D. Design tools
78 The selection of a testing tool should primarily depend on: B
A. The popularity of the tool
B. The features of the software being tested and project requirements
C. The number of developers in the team
D. The marketing strategy of the tool provider
79 Which of the following costs is typically NOT incurred in test automation? C
A. Tool acquisition cost
B. Maintenance cost of automated scripts
C. Cost of hiring new developers
D. Initial training and setup costs
80 One guideline for effective automated testing is: B
A. Automate every possible test case
B. Only automate tests that will be repeated frequently
C. Avoid maintaining automated scripts
D. Randomly select tests to automate
95 Which type of tool is used to check for code quality issues like vulnerabilities and code smells? B
A. Load testing tools
B. Static code analysis tools
C. Functional testing tools
D. Performance testing tools
96 Object-Oriented Testing primarily focuses on: B
A. Procedural code testing
B. Testing objects, classes, and their interactions
C. Testing only the user interface
D. Testing the database schema
107 Which of the following should be a focus when testing object-oriented software? B
A. Testing methods in isolation without considering class interactions
B. Testing class inheritance, polymorphism, and method interactions
C. Avoiding the use of test cases for object-oriented components
D. Randomly testing features unrelated to objects
113 One of the primary concerns when testing web-based applications is: B
A. Testing hardware integration
B. Ensuring proper scalability and performance under varying loads
C. Ignoring user input validation
D. Testing backend logic only
120 B
In testing web-based systems, usability testing ensures:
A. That the software performs only its core functionality
B. That the application is user-friendly and easy to
navigate
C. That only backend processes are tested
D. That security vulnerabilities are ignored
123 What is a unique challenge in testing web-based applications compared to desktop applications?
A. Need for cross-browser and cross-platform testing
B. Testing the hardware components
C. Ignoring user input validation
D. Reducing the number of test cases
124 A
Testing the security of
web-based systems
includes:
A. Ensuring no
vulnerabilities are present
in the code and protecting
user data
B. Ignoring the front-end
C. Focusing only on UI
design
D. Reducing the security
tests