INF 115 MT Exam Questions With Correct Answers
When does QA happen in software development? How has our view of this changed over time? - Answer QA has slowly been recognized as something needed early in the design process Validation vs. verification? What questions are they answering? - Answer VAL-idation: check software with the users to ensure user satisfaction. Usability testing, user feedback, etc. Are we building the machine right? VER-ification: check test cases to ensure consistency. Testing, inspection, static analysis,etc. Are we building the right machine? What is a mistake? - Answer a human action that produces the wrong result What is a fault? - Answer aka a bug. Anomaly in code that MAY lead to an error What is an error? - Answer runtime effect of executing a fault, which causes a deviation from normal behavior. Errors MAY result in failures What is a failure? - Answer externally observable manifestation of an error What is a test case? - Answer defined set of input values that result in a defined action with an expected output What is a test suite? - Answer collection of test cases What is an oracle? - Answer mechanism to determine if actual test case behavior matches expected What is a test plan? - Answer doc describing the details (scope, approach, schedule, etc.) of the test activity Black box vs. white box testing? - Answer Black box: testing that focuses on outputs as a result of inputs. Tests validity. White box: testing that focuses on the internal mechanisms of a system. List at least 5 types of black box testing. - Answer - domain - boundary - performance - reliability - acceptance - configuration - recovery - security - safety - usability - installation What is black box testing also known as? What is white box also known as? - Answer black: functional / specification testing. Deriving test caes from program specifications. white: structural / glass box testing grey: hybrid testing What is functional testing also known as? (2 other names) - Answer - black box testing - specification testing List 3 forms of functional models? - Answer - diagrams - formal logic - dynamic invariants - statistical descriptions What are the 4 common coverage criteria? Describe them. - Answer - statement coverage: test each code statement
Document information
- Uploaded on
- October 24, 2023
- Number of pages
- 10
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers