0% found this document useful (0 votes)
8 views

MID 2 Objective

This document is a question bank for a Software Testing Methodologies course at Malla Reddy Engineering College. It includes multiple-choice questions covering various topics such as regression testing, test suite management, and software quality metrics. Each question is accompanied by the correct answer, aimed at helping students prepare for their mid-term exams.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

MID 2 Objective

This document is a question bank for a Software Testing Methodologies course at Malla Reddy Engineering College. It includes multiple-choice questions covering various topics such as regression testing, test suite management, and software quality metrics. Each question is accompanied by the correct answer, aimed at helping students prepare for their mid-term exams.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 17

MALLA REDDY ENGINEERING COLLEGE (AUTONOMOUS)

IV B.Tech. II Sem (MR21) II -Mid Objective Question Bank-2024-2025 (Objective)


Subject: SOFTWARE TESTING METHODOLOGIES
Branch: Department of Information Technology
Name of the Faculty: D.pratyusha

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

3 Progressive regression testing focuses on: A


A. Validating that new features work as expected
B. Re-running old test cases
C. Ensuring that recent changes have not broken existing functionality
D. Testing for potential future risks

4 What is regressive testing concerned with? C


A. Adding new test cases for untested code
B. Confirming the correctness of new features
C. Ensuring that changes or fixes have not introduced new issues
D. Developing new software components

5 When should regression testing be performed? C


A. Only before final release
B. After every minor change
C. After any significant code modification or bug fix
D. During initial software planning

6 Regression testability refers to: C


A. The ease with which the software can be modified
B. The ability to write new test cases for the software
C. The ease of performing effective regression testing
D. The ability of the system to recover from errors

7 A key factor affecting regression testability is: C


A. The complexity of the user interface
B. The quality of the test data
C. The modularity and clarity of the software code
D. The availability of developers
8 One of the primary objectives of regression testing is: C
A. To reduce the number of test cases
B. To minimize the testing time
C. To ensure that new bugs are not introduced
D. To ensure compatibility with new hardware

9 Regressive testing typically involves: B


A. A full retesting of the system
B. Selecting and re-running specific test cases that are likely to be affected by recent changes
C. Only testing the most critical components
D. Retesting unrelated modules

10 Which of the following is NOT a type of regression testing? D


A. Selective regression testing
B. Complete regression testing
C. Unit regression testing
D. Random regression testing

11 What is one advantage of progressive regression testing? B


A. It requires fewer resources than regressive testing
B. It focuses on enhancing the overall quality of the system
C. It quickly detects issues in newly added code
D. It eliminates the need for automated testing

12 Regression testing is typically conducted: B


A. Before system testing
B. After integration testing
C. After the system is in production
D. During the planning phase

13 What is the main challenge in regression testing? A


A. Identifying suitable test cases for automation
B. Defining system requirements
C. Managing large sets of test data
D. Keeping track of all code modifications

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

15 The primary benefit of automated regression testing is: A


A. Reduced testing time and effort
B. Increased manual test coverage
C. Reduced number of test cases
D. Improved software development processes
16 Regression testing helps to identify: C
A. Only performance issues
B. Security vulnerabilities
C. Bugs introduced by code changes
D. Database migration issues

17 In regression testing, the retest-all strategy involves: A


A. Running all test cases from the test suite
B. Selecting specific test cases that cover critical paths
C. Running only failed test cases
D. Randomly selecting test cases

18 Which of the following is a regression testing technique? B


A. Exploratory testing
B. Test case prioritization
C. Fuzz testing
D. Equivalence partitioning

19 When should regression testing be automated? A


A. When the test cases are frequently used and stable
B. When the test cases are new and untested
C. When manual testing has failed
D. When the development process is just starting

20 A regression test suite should: B


A. Only contain new test cases
B. Cover critical functionalities affected by recent changes
C. Be updated only after major releases
D. Include test cases that are no longer relevant

21 What is a disadvantage of manual regression testing? B


A. It is faster than automated testing
B. It is more prone to human error
C. It provides more accurate results than automation
D. It can cover a larger number of test cases

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

23 The objective of regression testing can be summarized as: C


A. Identifying untested functionalities in the software
B. Ensuring that the software meets all user requirements
C. Verifying that recent code changes do not introduce new bugs
D. Confirming that the software can handle more load
24 Regression testing types do NOT include: C
A. Partial regression testing
B. Complete regression testing
C. Smoke testing
D. Progressive 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

28 Test suite prioritization is used to: C


A. Increase the cost of testing
B. Randomly select test cases for execution
C. Execute the most important test cases first
D. Decrease the importance of test cases

29 A benefit of minimizing the test suite is: B


A. It increases the time required to test
B. It reduces redundancy and improves efficiency
C. It decreases the coverage of the system
D. It increases the number of irrelevant test cases

30 Which of the following is NOT a reason for test suite growth? C


A. Adding new features
B. Modifying existing functionality
C. Removing unnecessary test cases
D. Fixing bugs

31 Test suite minimization focuses on: B


A. Adding more test cases
B. Removing duplicate and unnecessary test cases
C. Increasing test execution time
D. Creating new test cases for every feature

32 Test case prioritization is important because: C


A. It ensures the least important test cases are executed first
B. It reduces the number of bugs found
C. It optimizes test execution based on business and technical priorities
D. It increases the complexity of the testing process

33 Which of the following is a type of test case prioritization? A


A. Requirement-based prioritization
B. Module-based testing
C. Random prioritization
D. Hybrid integration testing

34 The primary goal of test case prioritization techniques is to: B


A. Ensure that all test cases are executed equally
B. Maximize early fault detection
C. Minimize the total number of test cases
D. Avoid testing new features

35 Measuring the effectiveness of a prioritized test suite involves: B


A. Counting the total number of test cases
B. Analyzing the rate of fault detection
C. Ignoring the importance of test cases
D. Randomly executing test cases

36 What is one advantage of test suite minimization? B


A. It ensures that redundant test cases are prioritized
B. It reduces the time and cost associated with test execution
C. It increases the number of bugs found
D. It increases the complexity of testing

37 Test case design is important because: C


A. It creates confusion in the testing process
B. It ensures that test cases are random and disorganized
C. It defines the structure and objectives of the tests
D. It reduces test coverage

38 Prioritization techniques can be categorized into: A


A. Objective and subjective techniques
B. Sequential and iterative techniques
C. Algorithmic and manual techniques
D. None of the above

39 Which of the following is NOT a benefit of test suite minimization? B


A. Reduced maintenance costs
B. Increased redundancy in test cases
C. Faster test execution
D. Improved focus on critical test cases

40 Effective test suite prioritization is measured by: B


A. How many test cases are skipped
B. The rate at which critical bugs are detected
C. The number of test cases minimized
D. The number of bugs ignored

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

42 A well-prioritized test suite should: C


A. Test every feature equally
B. Focus on irrelevant functionality
C. Maximize the detection of critical bugs early in the process
D. Avoid testing the most critical features

43 Which of the following is NOT a prioritization technique? C


A. Fault-based prioritization
B. Random prioritization
C. Sequential prioritization
D. Requirements-based prioritization
44 How can the effectiveness of test suite prioritization be measured? C
A. By the number of bugs missed
B. By the number of non-critical bugs found
C. By the rate of fault detection and coverage achieved
D. By the number of test cases executed

45 Test suite growth can be controlled by: A


A. Removing redundant and obsolete test cases
B. Adding random test cases to the suite
C. Ignoring any changes in the software
D. Decreasing test execution frequency

46 Which of the following is a key factor in minimizing a test suite? C


A. Increasing the number of test cases
B. Ensuring all test cases are executed randomly
C. Identifying and removing duplicate or obsolete test cases
D. Ignoring the coverage achieved by test cases

47 Prioritization techniques can be based on: C


A. Time of execution
B. Performance metrics
C. Criticality of requirements
D. Random selection

48 Test case prioritization ensures that: A


A. The most critical test cases are executed first
B. All test cases are executed equally
C. Test cases are executed in random order
D. Only a few test cases are executed

49 Effective prioritization of a test suite results in: B


A. Reduced test coverage
B. Enhanced early bug detection and reduced risk
C. Increased redundancy in testing
D. Lower software quality

50 Which of the following is a commonly used test case prioritization technique? B


A. Test minimization
B. Code coverage-based prioritization
C. Random execution
D. Exploratory testing

51 Software Quality Management primarily focuses on: B


A. Writing new code
B. Managing the quality of the software development process
C. Reducing the cost of software development
D. Increasing the number of developers

52 Software quality metrics are used to: B


A. Measure the time taken for testing
B. Quantify various aspects of software quality
C. Determine the cost of the software
D. Ignore the quality of the software

53 A key software quality metric is: C


A. Lines of code
B. Number of developers
C. Code coverage
D. Development time

54 SQA models are designed to: B


A. Develop new features in software
B. Define and ensure adherence to software quality standards
C. Increase the time taken for software testing
D. Eliminate the need for software testing

55 Which of the following is NOT a software quality metric? D


A. Code complexity
B. Test case execution time
C. Defect density
D. Number of comments in code

56 One of the primary goals of Software Quality Management (SQM) is: B


A. To increase the number of defects
B. To improve the quality of software products
C. To decrease the efficiency of the testing process
D. To focus solely on new feature development

57 Which metric is used to measure the defect removal efficiency? C


A. Code coverage
B. Number of test cases executed
C. Defect removal rate
D. Test case prioritization
58 SQA models emphasize: B
A. Automation of testing processes
B. Documenting quality procedures and ensuring adherence to them
C. Minimizing the number of tests conducted
D. Ignoring software quality during development

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

60 A software quality metric that measures customer satisfaction is: B


A. Mean time to failure (MTTF)
B. Customer reported bugs
C. Lines of code written
D. Code complexity

61 The purpose of software quality metrics is to: A


A. Quantify the quality of software through measurable indicators
B. Randomly select test cases
C. Measure the number of software developers
D. Reduce the amount of testing done

62 An important aspect of SQA models is: A


A. Establishing guidelines and procedures for ensuring quality
B. Increasing development speed at the cost of quality
C. Ignoring quality metrics
D. Focusing solely on code generation

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

66 Debugging is the process of: B


A. Writing new test cases
B. Identifying and fixing bugs in the software
C. Deleting test cases
D. Increasing the complexity of the software

67 Which of the following is NOT a debugging technique? D


A. Breakpoint debugging
B. Print statement debugging
C. Code inspection
D. Random code generation

68 The first step in the debugging process is to: B


A. Write new code
B. Identify the bug or issue in the software
C. Fix the bug immediately
D. Delete the problematic code

69 A common technique used in debugging is: C


A. Random code modification
B. Performance testing
C. Step-through debugging
D. Stress testing

70 Correcting a bug during debugging involves: A


A. Identifying the cause of the bug and fixing it
B. Deleting the entire codebase
C. Writing new requirements
D. Ignoring the bug

71 What is one of the key challenges in debugging? B


A. Writing new test cases
B. Locating the exact cause of the issue in the code
C. Deleting bugs
D. Increasing software complexity

72 Which debugging technique involves manually examining the source code? B


A. Automated debugging
B. Code review or code inspection
C. Random testing
D. Exploratory testing

73 The purpose of debugging is to: A


A. Ensure that the software runs correctly by fixing identified issues
B. Add new bugs to the software
C. Avoid testing and validation
D. Increase the execution time of the software

74 Which of the following is an automated debugging technique? C


A. Breakpoint debugging
B. Print statement debugging
C. Dynamic analysis tools
D. Manual code walkthrough

75 The debugging process typically ends when: B


A. The bug is identified but not fixed
B. The bug has been located and successfully fixed
C. New features are added to the software
D. The software is rewritten from scratch

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

81 Commercial testing tools typically provide: B


A. Manual testing support only
B. Automation frameworks, reporting, and integration capabilities
C. Tools for software design only
D. No support for mobile testing

82 A key benefit of test automation is: B


A. Reduced number of test cases
B. Increased testing speed and coverage
C. Increased need for manual testers
D. Lower quality of software

83 Which type of tool is used for testing the performance of a system? B


A. Static code analysis tools
B. Load and stress testing tools
C. Debugging tools
D. Code coverage tools

84 A major disadvantage of automated testing is: B


A. Increased efficiency
B. High upfront costs and maintenance overhead
C. Reduced test coverage
D. Higher quality outcomes

85 When selecting a testing tool, it is important to consider: B


A. Only the cost of the tool
B. Tool compatibility with the existing technology stack and team expertise
C. The reputation of the vendor
D. The number of features the tool offers, regardless of project needs
86 A primary consideration in the cost of automation is: B
A. The number of developers
B. The cost of maintaining and updating test scripts over time
C. The marketing of the automation tool
D. The number of test cases automated

87 Which of the following is an example of a functional testing tool? B


A. JUnit
B. Selenium
C. LoadRunner
D. SonarQube
88 Automation guidelines suggest that: B
A. All test cases should be automated without analysis
B. High-priority and frequently repeated tests should be prioritized for automation
C. Manual testing should be eliminated completely
D. Only complex test cases should be automated

89 Which of the following is a commercial test automation tool? C


A. Selenium
B. JMeter
C. QTP (UFT)
D. JUnit

90 The ROI (Return on Investment) in test automation is measured by: C


A. The number of tests automated
B. The amount of money spent on automation tools
C. The reduction in time and resources required for regression testing
D. The complexity of the automation framework

91 What is an essential feature of any test automation tool? C


A. It must be open-source
B. It must support only one programming language
C. It must have robust reporting and integration capabilities
D. It should not be user-friendly
92 Test automation is most beneficial for: B
A. One-time tests
B. Repeated regression tests
C. Exploratory testing
D. Non-repetitive tasks
93 Load and performance testing tools help in: B
A. Testing the user interface
B. Identifying bottlenecks under stress conditions
C. Testing the security of the software
D. Debugging code issues

94 One of the main challenges in automated testing is: B


A. Developing manual test cases
B. Maintaining and updating automated scripts as the software evolves
C. Running tests on a small scale
D. Performing initial test execution

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

97 Which of the following is NOT an element of object-oriented testing? C


A. Testing object interactions
B. Testing method inheritance
C. Testing procedural code execution
D. Testing encapsulation
98 In object-oriented testing, inheritance testing ensures: A
A. That child classes properly inherit functionality from parent classes
B. That the user interface is tested
C. That the database schema is intact
D. That all global variables are removed

99 Which testing technique is specific to object-oriented software? B


A. Regression testing
B. Encapsulation testing
C. Performance testing
D. Stress testing

100 Object-oriented testing requires additional focus on: B


A. Testing non-functional requirements
B. Validating interactions between different objects and classes
C. Testing code without classes
D. Ignoring object dependencies

101 Testing polymorphism in object-oriented software involves: B


A. Ensuring objects can be extended
B. Validating that objects can behave differently based on their type
C. Removing inheritance from the system
D. Avoiding object interactions

102 What is one key challenge of testing object-oriented software? B


A. Testing global variables
B. Testing the tight coupling between objects
C. Ensuring procedural code executes correctly
D. Avoiding method testing

103 Object-oriented testing techniques include: B


A. Random test case generation
B. Method and class testing
C. Ignoring object interactions
D. Only testing public methods

104 In object-oriented software, encapsulation testing ensures: B


A. That all objects are exposed globally
B. That object internals are hidden and only the interfaces are tested
C. That all objects are linked directly
D. That inheritance is disabled

105 Which of the following is a unique aspect of object-oriented software testing? A


A. Testing object interactions and class hierarchies
B. Testing the procedural flow of the program
C. Testing database transactions
D. Testing system hardware integration

106 In object-oriented testing, method testing ensures: B


A. That all functions work independently
B. That methods are integrated correctly within their respective classes
C. That no method is tested
D. That only global variables are modified

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

108 One of the challenges in testing object-oriented software is: B


A. Ensuring tight coupling between classes
B. Managing and testing complex relationships between objects and classes
C. Avoiding testing altogether
D. Focusing only on isolated functions

109 A significant challenge in testing web-based systems is: B


A. Testing database structures
B. Handling the variability in user environments (e.g., browsers, devices)
C. Testing hardware components
D. Debugging procedural code

110 Quality aspects of web-based systems include: A


A. Security, performance, and usability
B. Testing only for functional bugs
C. Ignoring non-functional requirements
D. Testing only the backend code

111 Web engineering focuses on: B


A. The hardware configuration of web servers
B. The disciplined and systematic development of web-based applications
C. Writing random test scripts
D. Ignoring user experience design
112 Which of the following is a key aspect of testing web-based systems? B
A. Functional testing only
B. Cross-browser and cross-device compatibility testing
C. Testing database schemas only
D. Ignoring security vulnerabilities

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

114 Security testing in web-based systems includes: B


A. Ensuring the interface is user-friendly
B. Validating that user data is protected from vulnerabilities
like SQL injection
C. Ignoring encryption mechanisms
D. Testing page loading times only

115 Web-based system testing should focus on: B


A. Only backend logic
B. Both functional and non-functional requirements like performance, security, and usability
C. Ignoring cross-browser compatibility
D. Reducing the number of test cases

116 Performance testing for web-based systems ensures: A


A. Proper functionality under various load conditions
B. Secure database transactions
C. Proper alignment of UI elements
D. Avoiding testing under peak traffic

117 A key challenge in testing mobile systems is: A


A. Testing for cross-device compatibility across various screen sizes and operating systems
B. Ignoring user interface concerns
C. Testing only backend processes
D. Reducing the number of test cases

118 Web engineering practices aim to: B


A. Ignore performance optimization
B. Ensure the systematic development and maintenance of web applications
C. Develop applications without planning
D. Randomly generate test cases

119 Which of the following is crucial for testing mobile systems? B


A. Testing only on one device
B. Ensuring compatibility with various screen sizes, operating systems, and networks
C. Ignoring performance concerns
D. Testing only the backend code

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

121 One of the main security concerns in web-based systems is: B


A. The design of the user interface
B. Protecting user data against threats like Cross-Site Scripting (XSS)
C. Ensuring the software is not user-friendly
D. Ignoring encryption mechanisms

122 Load testing of web-based systems helps to: A


A. Identify bottlenecks and performance issues under varying traffic conditions
B. Validate the correctness of UI elements
C. Test backend logic exclusively
D. Ignore non-functional requirements

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

125 Which of the following is crucial in testing web-based systems?


A. Ignoring performance and security issues
B. Testing both functional and non-functional aspects, such as security, usability, and scalability B
C. Testing only the backend processes
D. Reducing the number of test cases

Signature of the Faculty Signature of the HOD

You might also like