SWT301 P1 EXAM QUESTIONS AND
ANSWERS
1. What is failure?
A. Deviation from expected result to actual result
B. Defect in the software.
C. Error in the program code.
D. Fault in the system. - Correct Answers -A
2. People who don't participate in technical reviews
A. Analysts
B. Management
C. Developers
D. Testers - Correct Answers -B
3. What type of testing is done to supplement the rigorous testing?
A. Regression testing.
B. Integration testing.
C. Error Guessing
D. System testing. - Correct Answers -C
4. Capture and replay facilities are least likely to be used to ....
A. Performance testing
B. Recovery testing
C. GUI testing
D. User requirements. - Correct Answers -D
5. What is the smallest number of test cases required to Provide 100% branch
coverage?
If(x>y) x=x+1;
else y=y+1;
while(x>y)
{
y=x*y; x=x+1;
}
A. 1
B. 2
C. 3
D. 4 - Correct Answers -B
, 6. Cyclomatic complexity is used to calculate
A. number of independent paths in the basis set of a program
B. number of binary decisions + 1
C. upper bound for the number of tests that must be conducted to ensure that all
statements have been executed at least once
D. number of branches and decisions - Correct Answers -B
7. If a candidate is given an exam of 40 questions, should get 25 marks to pass (61%)
and should get 80% for distinction, what is equivalence class.
A. 23, 24, 25
B. 0, 12, 25
C. 30, 36, 39
D. 32,37,40 - Correct Answers -D
8. Match the following:
1. Test estimation
2. Test control
3. Test monitoring
a. measures of tracking process
b. effort required to perform activities
c. reallocation of resources
A. 1-b, 2-c, 3-a
B. 1-b, 2-a, 3-c
C. 1-c, 2-a, 3-b
D. 1-a, 2-b, 3-c - Correct Answers -A
9. One of the following is not a part of white box testing as per BS7925-II standards.
A. Random testing
B. Data Flow testing.
C. Statement testing.
D. Syntax testing. - Correct Answers -C
9. One of the following is not a part of white box testing as per BS7925-II standards.
A. Random testing
B. Data Flow testing.
C. Statement testing.
D. Syntax testing. - Correct Answers -C
11. Match the following.
1. Configuration identification
2. Configuration control
3. Status reporting
4. Configuration auditing
a. Maintains of CI's in a library
b. Checks on the contents of the library
ANSWERS
1. What is failure?
A. Deviation from expected result to actual result
B. Defect in the software.
C. Error in the program code.
D. Fault in the system. - Correct Answers -A
2. People who don't participate in technical reviews
A. Analysts
B. Management
C. Developers
D. Testers - Correct Answers -B
3. What type of testing is done to supplement the rigorous testing?
A. Regression testing.
B. Integration testing.
C. Error Guessing
D. System testing. - Correct Answers -C
4. Capture and replay facilities are least likely to be used to ....
A. Performance testing
B. Recovery testing
C. GUI testing
D. User requirements. - Correct Answers -D
5. What is the smallest number of test cases required to Provide 100% branch
coverage?
If(x>y) x=x+1;
else y=y+1;
while(x>y)
{
y=x*y; x=x+1;
}
A. 1
B. 2
C. 3
D. 4 - Correct Answers -B
, 6. Cyclomatic complexity is used to calculate
A. number of independent paths in the basis set of a program
B. number of binary decisions + 1
C. upper bound for the number of tests that must be conducted to ensure that all
statements have been executed at least once
D. number of branches and decisions - Correct Answers -B
7. If a candidate is given an exam of 40 questions, should get 25 marks to pass (61%)
and should get 80% for distinction, what is equivalence class.
A. 23, 24, 25
B. 0, 12, 25
C. 30, 36, 39
D. 32,37,40 - Correct Answers -D
8. Match the following:
1. Test estimation
2. Test control
3. Test monitoring
a. measures of tracking process
b. effort required to perform activities
c. reallocation of resources
A. 1-b, 2-c, 3-a
B. 1-b, 2-a, 3-c
C. 1-c, 2-a, 3-b
D. 1-a, 2-b, 3-c - Correct Answers -A
9. One of the following is not a part of white box testing as per BS7925-II standards.
A. Random testing
B. Data Flow testing.
C. Statement testing.
D. Syntax testing. - Correct Answers -C
9. One of the following is not a part of white box testing as per BS7925-II standards.
A. Random testing
B. Data Flow testing.
C. Statement testing.
D. Syntax testing. - Correct Answers -C
11. Match the following.
1. Configuration identification
2. Configuration control
3. Status reporting
4. Configuration auditing
a. Maintains of CI's in a library
b. Checks on the contents of the library