Answers 2023/2024 VERIFIED
HashSet<T> correct answers unordered
no duplicates
3 A's of Unit Testing correct answers Arrange
Act
Assert
Software Validation correct answers Checking if software conforms to specs
Steps in software validation correct answers Testing
Code Review
Formal Reasoning
Testing correct answers running carefully selected test cases
Code Review correct answers Have someone else read your code
Formal Reasoning correct answers Verification - formal proof of correctness (beyond scope)
Exhaustive Testing correct answers Testing every valid case - unfeasible
Haphazard Testing correct answers Just try and see if it works
Statistical Testing correct answers Pick a few samples and look at fail rate (like manufacturing) - does not
work for software
Blackbox Testing correct answers Choose test cases only from specifications - internal implementation
unknown
Whitebox Testing correct answers Choosing tests with knowledge of implementation
Coverage correct answers How thoroughly tests exercise program
Statement Coverage correct answers Is each statement executed at least once?
Branch Coverage correct answers For every if or while statement, is every true or false exercised?
Path Coverage correct answers Is every combination of statement exercised?
Partitioning correct answers Dividing input space into subdomains
Delegates correct answers A type used to pass functions as method arguments
public delegate double Function (double x);