MTA Software Testing Fundamentals 1 — Questions and Answers
Question 1: Which testing method tests software without any knowledge of its internal code structure?
- White-box testing
- Black-box testing (Correct answer)
- Gray-box testing
- Static testing
Correct answer: Black-box testing
Black-box testing focuses entirely on inputs and expected outputs without any knowledge of the internal implementation.
Question 2: Which type of testing validates the smallest individually testable units of code in isolation?
- Integration testing
- System testing
- Unit testing (Correct answer)
- Acceptance testing
Correct answer: Unit testing
Unit testing validates individual functions, methods, or components in isolation from the rest of the system.
Question 3: Which testing approach requires the tester to have full knowledge of the internal code structure?
- Black-box testing
- Acceptance testing
- Smoke testing
- White-box testing (Correct answer)
Correct answer: White-box testing
White-box testing (also called glass-box or structural testing) requires knowledge of the internal workings of the code being tested.
Question 4: What is the primary purpose of regression testing?
- Testing brand-new features only
- Verifying that existing functionality still works after code changes (Correct answer)
- Measuring system performance under load
- Evaluating the user interface design
Correct answer: Verifying that existing functionality still works after code changes
Regression testing re-runs existing tests to confirm that recent changes have not broken previously working functionality.
Question 5: Which testing phase typically occurs after unit testing and before system testing?
- Acceptance testing
- Integration testing (Correct answer)
- Performance testing
- Exploratory testing
Correct answer: Integration testing
Integration testing follows unit testing and verifies that individual modules interact and work correctly together.
Question 6: What does a formal test plan document typically include?
- Only a list of test cases
- Test scope, objectives, schedule, resources, and approach (Correct answer)
- Only a log of discovered defects
- Only pass/fail results from previous releases
Correct answer: Test scope, objectives, schedule, resources, and approach
A test plan is a formal document outlining the scope, approach, resources, schedule, and objectives of testing activities.
Question 7: What is a test case?
- A report documenting discovered bugs
- A set of inputs, preconditions, and expected results to verify a specific behavior (Correct answer)
- An automated testing framework
- A performance benchmark measurement
Correct answer: A set of inputs, preconditions, and expected results to verify a specific behavior
A test case specifies the inputs, execution conditions, and expected results needed to verify one particular aspect of software behavior.
Which testing method tests software without any knowledge of its internal code structure?