DATE: REG.NO.
Department of Computer Science and Engineering
MULTIPLE CHOICE QUESTIONS
Academic Year 2024-25 (Odd Semester) – Nov/Dec 2024
3rd Year / 5th Semester (Regulations 2021)
CCS366 SOFTWARE TESTING AND AUTOMATION
UNIT 1
Q.NO ANSWER ALL QUESTIONS (10x2) =20 Marks OPTION MARKS
Which of the following best describes the purpose of
software testing?
1
a) Finding broken code
b) Evaluating deliverables to find errors
c) A stage of all projects
d) None of the mentioned
What type of testing focuses on the internal workings of an
application?
2
a) Black box testing
b) White box testing
c) Regression testing
d) User acceptance testing
In which phase of the software development life cycle is
testing typically performed?
3
a) Requirements gathering
b) Design
c) Implementation
d) All of the above
Which of the following is NOT a type of non-functional
testing?
4
a) Performance testing
b) Load testing
c) Unit testing
d) Security testing
What is the main goal of regression testing?
a) To test new features
5
b) To ensure that existing functionalities work after
changes
c) To find defects in the software
d) To validate the software against requirements
Which testing technique involves testing the software
without any knowledge of the internal code structure?
6
a) White box testing
b) Black box testing
c) Gray box testing
d) Static testing
What is the primary purpose of user acceptance testing
(UAT)?
7
a) To find bugs in the software
b) To verify that the software meets business needs
c) To test the performance of the software
d) To ensure the software is secure
Which of the following is not a valid phase of SDLC
(Software Development Life Cycle)?
8
a. Testing Phase
b. Requirement Phase
c. Deployment phase
d. Testing closure
Which methodology is used to perform Maintenance
testing?
9
a. Breadth test and depth test
b. Confirmation testing
c. Retesting
d. Sanity testing
Which term is used to define testing?
a. Evaluating deliverable to find errors
10 b. Finding broken code
c. A stage of all projects
d. None of the above
Total Marks (20 Marks)
UNIT 2
Q.NO ANSWER ALL QUESTIONS (10x2) =20 Marks OPTION MARKS
What is the primary purpose of a test plan?
a) To define the scope and approach of testing
1 b) To execute test cases
c) To report defects
d) To develop software
Which of the following is NOT typically included in a test
plan?
2
a) Test objectives
b) Test deliverables
c) Test case execution results
d) Resource requirements
Who is primarily responsible for creating the test plan?
a) Developers
3 b) Testers
c) Project managers
d) Business analysts
What does the term "test strategy" refer to in the context of
test planning?
4
a) The specific test cases to be executed
b) The overall approach to testing
c) The tools used for testing
d) The schedule for testing
Which of the following best describes "risk-based testing"?
a) Testing based on the number of test cases
5 b) Testing focused on high-risk areas of the application
c) Testing that is performed after all other testing
d) Testing that does not require a test plan
In a test plan, what does the term "scope" refer to?
a) The types of tests to be performed
6 b) The features to be tested and not tested
c) The timeline for testing
d) The resources allocated for testing
Which of the following is a key component of a test plan?
a) Test case design
7 b) Test execution
c) Test environment setup
d) All of the above
What is the significance of defining "entry and exit criteria"
in a test plan?
a) To determine when to start and stop testing
8
b) To outline the test case design process
c) To identify the testing tools required
d) To allocate resources for testing
Which document is often used as a reference for creating a
test plan?
9
a) Requirements specification
b) User manual
c) Design document
d) All of the above
What is the role of "test deliverables" in a test plan?
a) To outline the testing schedule
10
b) To specify the documents and artifacts produced during
testing
c) To define the testing tools used
d) To identify the testing team members
Total Marks (20 Marks)
UNIT 3
Q.NO ANSWER ALL QUESTIONS (10x2) =20 Marks OPTION MARKS
What is the primary goal of test design?
a) To execute test cases
1
b) To identify defects in the software
c) To create a set of test cases that effectively validate the
software
d) To document the testing process
Which of the following techniques is used to design test
cases based on the input and output of the software?
2
a) Boundary value analysis
b) Equivalence partitioning
c) State transition testing
d) All of the above
What does the term "test execution" refer to?
a) The process of designing test cases
3 b) The process of running the test cases on the software
c) The process of reporting defects
d) The process of planning the testing activities
Which of the following is a characteristic of a good test
case?
4
a) It is vague and open to interpretation
b) It is easy to execute and understand
c) It requires extensive documentation
d) It is not reusable
What is "test coverage"?
a) The percentage of test cases executed
5
b) The extent to which the test cases cover the
requirements
c) The number of defects found during testing
d) The time taken to execute the tests
Which of the following is NOT a type of test execution
environment?
6
a) Development environment
b) Testing environment
c) Production environment
d) Design environment
What is the purpose of a "test execution report"?
a) To document the test design process
7 b) To summarize the results of the test execution
c) To outline the testing strategy
d) To list all the test cases designed
Which of the following best describes "automated testing"?
a) Testing performed manually by testers
8 b) Testing that uses scripts and tools to execute test cases
c) Testing that is done after the software is released
d) Testing that does not require a test plan
What is the main advantage of using "test case
management tools"?
a) They eliminate the need for testing
9 b) They help in organizing and tracking test cases and their
execution
c) They automatically find defects in the software
d) They are only useful for automated testing
Which of the following is a common challenge in test
execution?
10
a) Lack of test cases
b) Inconsistent test environments
c) Unclear requirements
d) All of the above
Total Marks (20 Marks)
UNIT 4
Q.NO ANSWER ALL QUESTIONS (10x2) =20 Marks OPTION MARKS
What is "exploratory testing"?
a) Testing based on predefined test cases
1
b) Testing without a formal test plan, focusing on
discovering defects
c) Automated testing using scripts
d) Testing performed after the software is released
Which of the following best describes "test automation"?
a) The process of manually executing test cases
2
b) The use of software tools to execute tests and compare
actual outcomes with predicted outcomes
c) The process of writing test cases
d) The documentation of test results
What is "performance testing" primarily concerned with?
a) Finding security vulnerabilities
3
b) Evaluating the speed, scalability, and stability of the
application under load
c) Ensuring the application meets user requirements
d) Testing the user interface
Which of the following is a key benefit of using "continuous
testing" in a DevOps environment?
4
a) It eliminates the need for manual testing
b) It allows for faster feedback on code changes
c) It reduces the overall testing effort
d) It ensures 100% test coverage
What does "test-driven development" (TDD) emphasize?
a) Writing test cases after the code is developed
5
b) Writing test cases before writing the corresponding
code
c) Manual testing of the application
d) Automated testing only
Which of the following is NOT a type of non-functional
testing?
6
a) Load testing
b) Usability testing
c) Unit testing
d) Security testing
What is the purpose of "static testing"?
a) To execute the code and find defects
7
b) To review and analyze the code or documentation
without executing it
c) To test the performance of the application
d) To validate the user interface
In the context of risk-based testing, what is a "risk"?
a) A potential problem that could affect the project
8 b) A defect found during testing
c) A test case that has not been executed
d) A requirement that is not met
What is "mutation testing"?
a) A technique to test the performance of an application
9
b) A method of modifying the code to create test cases that
can detect faults
c) A type of regression testing
d) A technique for testing user interfaces
Which of the following best describes "behavior-driven
development" (BDD)?
a) A testing approach that focuses on the behavior of the
10
application from the user's perspective
b) A method of writing test cases after the application is
developed
c) A type of performance testing
d) A technique for static code analysis
Total Marks (20 Marks)
UNIT 5
Q.NO ANSWER ALL QUESTIONS (10x2) =20 Marks OPTION MARKS
What is the primary benefit of test automation?
a) It eliminates the need for testing
1
b) It speeds up the testing process and increases test
coverage
c) It requires no initial investment
d) It is only useful for performance testing
Which of the following is a popular open-source test
automation tool?
2
a) Selenium
b) QTP
c) TestComplete
d) LoadRunner
What type of testing is primarily automated using tools like
JUnit and TestNG?
3
a) Performance testing
b) Unit testing
c) User acceptance testing
d) Integration testing
Which of the following tools is specifically designed for
performance testing?
4
a) Selenium
b) JMeter
c) Cucumber
d) Appium
What does the term "keyword-driven testing" refer to?
a) A testing approach that uses keywords to represent
5
actions in test cases
b) A method of testing based on user requirements
c) A type of performance testing
d) A technique for manual testing
Which of the following is NOT a benefit of using
automation testing tools?
6
a) Increased accuracy
b) Reduced testing time
c) Elimination of all defects
d) Reusability of test scripts
What is "Continuous Integration" (CI) in the context of test
automation?
a) A process where code changes are automatically tested
7 and integrated into the main branch
b) A method of manual testing
c) A type of performance testing
d) A tool for managing test cases
8
Which tool is commonly used for behavior-driven
development (BDD)?
a) Selenium
b) Cucumber
c) QTP
d) LoadRunner
What is the main purpose of using a test management tool?
a) To execute test cases
9 b) To manage test cases, test execution, and reporting
c) To automate performance testing
d) To write code
Which of the following is a key consideration when
selecting a test automation tool?
a) The programming language used by the development
10 team
b) The cost of the tool
c) The tool's compatibility with the application under test
d) All of the above
Total Marks (20 Marks)
Faculty InCharge HoD/CSE