Docsity

Computer Science — Software Testing and Quality Assurance., Exams of Software Engineering

Toggle sidebar
bg1
SOFTWARE TESTING AND QUALITY ASSURANCE
EXAMINATION.
Test Design, Verification, Validation, Automation, and Defect
Management.
Computer Science — Software Testing and Quality Assurance.
Questions and Answers
1. What is software testing?
Answer: Software testing is the systematic evaluation of software to detect defects
and determine whether it satisfies specified requirements and quality expectations.
2. What is verification?
Answer: Verification checks whether software work products are being built
according to specified requirements, standards, and design.
3. What is validation?
Answer: Validation checks whether the completed software satisfies user needs
and intended purposes.
4. What is a defect?
Answer: A defect is a flaw or error in software or documentation that may cause
incorrect, unexpected, or undesirable behaviour.
5. What is a failure?
Answer: A failure occurs when software executes and produces an incorrect result
or does not perform an expected function.
6. What is an error?
Answer: An error is a human mistake that may introduce a defect into a software
work product.
7. What is a test case?
pf3
pf4
pf5

Partial preview of the text

Download Computer Science — Software Testing and Quality Assurance. and more Exams Software Engineering in PDF only on Docsity!

SOFTWARE TESTING AND QUALITY ASSURANCE

EXAMINATION.

Test Design, Verification, Validation, Automation, and Defect

Management.

Computer Science — Software Testing and Quality Assurance.

Questions and Answers

  1. What is software testing? Answer: Software testing is the systematic evaluation of software to detect defects and determine whether it satisfies specified requirements and quality expectations.
  2. What is verification? Answer: Verification checks whether software work products are being built according to specified requirements, standards, and design.
  3. What is validation? Answer: Validation checks whether the completed software satisfies user needs and intended purposes.
  4. What is a defect? Answer: A defect is a flaw or error in software or documentation that may cause incorrect, unexpected, or undesirable behaviour.
  5. What is a failure? Answer: A failure occurs when software executes and produces an incorrect result or does not perform an expected function.
  6. What is an error? Answer: An error is a human mistake that may introduce a defect into a software work product.
  7. What is a test case?

Answer: A test case defines inputs, preconditions, actions, expected results, and actual results used to evaluate software behaviour.

  1. What is a test condition? Answer: A test condition is a feature, transaction, requirement, risk, or aspect of a system that can be tested.
  2. What is a test plan? Answer: A test plan describes the scope, objectives, strategy, resources, schedule, responsibilities, risks, and deliverables of testing. 10.What is a test oracle? Answer: A test oracle is a source or mechanism used to determine whether the actual result of a test is correct. 11.What is unit testing? Answer: Unit testing tests individual functions, classes, methods, or modules in isolation. 12.What is integration testing? Answer: Integration testing evaluates interactions and interfaces between combined components or subsystems. 13.What is system testing? Answer: System testing evaluates the complete integrated system against specified functional and non-functional requirements. 14.What is acceptance testing? Answer: Acceptance testing determines whether the system meets customer, user, business, or contractual requirements. 15.What is regression testing? Answer: Regression testing checks that changes or fixes have not introduced new defects into previously working functionality.

Answer: State-transition testing evaluates how a system responds to events and moves between defined states. 25.What is use-case testing? Answer: Use-case testing derives scenarios from user goals and system interactions. 26.What is statement coverage? Answer: Statement coverage measures the proportion of executable statements exercised by a test suite. 27.What is branch coverage? Answer: Branch coverage measures the proportion of decision outcomes or branches exercised by tests. 28.What is path coverage? Answer: Path coverage attempts to execute possible control-flow paths through a program, subject to practical limitations. 29.What is code coverage? Answer: Code coverage measures the extent to which program code is executed during testing. 30.What is a test-driven development? Answer: Test-driven development writes an automated test before implementing the code needed to satisfy that test. 31.What is behaviour-driven development? Answer: Behaviour-driven development describes software behaviour in examples understandable to technical and non-technical stakeholders and uses them to guide development and testing. 32.What is automated testing?

Answer: Automated testing uses tools and scripts to execute tests, compare results, and report outcomes with limited manual intervention. 33.State one benefit of test automation. Answer: Test automation supports repeatability, rapid execution, regression coverage, consistency, and efficient testing of repetitive tasks. 34.State one limitation of test automation. Answer: Automation requires development and maintenance effort and may not effectively evaluate subjective qualities such as usability or user experience. 35.What is exploratory testing? Answer: Exploratory testing combines learning, test design, and execution as the tester investigates the system and follows evidence-based ideas. 36.What is usability testing? Answer: Usability testing evaluates how easily, effectively, efficiently, and satisfactorily users can interact with a system. 37.What is performance testing? Answer: Performance testing evaluates speed, responsiveness, throughput, resource use, and stability under specified workloads. 38.What is load testing? Answer: Load testing assesses system behaviour under expected or specified user and transaction loads. 39.What is stress testing? Answer: Stress testing evaluates system behaviour beyond normal operating conditions to identify failure points and recovery characteristics. 40.What is security testing? Answer: Security testing identifies vulnerabilities and evaluates the confidentiality, integrity, authentication, authorization, and availability of a system.

Answer: Quality assurance consists of planned process activities designed to prevent defects and provide confidence in product and process quality. 50.What is the central purpose of software testing? Answer: The central purpose is to provide evidence about software quality, reveal risks and defects, verify requirements, support improvement, and reduce the likelihood of failure in use.