Software Testing Fundamentals
Covers fundamental software testing concepts including equivalence partitioning, static testing, verification, performance testing, and security considerations.
Questions
Leaving comments in HTML source code when an application leaves the development environment
- Is a good programming practice
- Is very useful during code reviews
- Is the recommended practice for secure code maintenance
- May give the attacker valuable information to perform an exploit
- Designing the test environment set-up and identifying any required infrastructure and tools are a part of which phase
- Test Implementation and execution
- Test Analysis and Design
- Evaluating the Exit Criteria and reporting
- Test Closure Activities
- Designing the test environment set-up and identifying any required infrastructure and tools are a part of which phase
- Test Implementation and execution
- Test Analysis and Design
- Evaluating the Exit Criteria and reporting
- Test Closure Activities
- Designing the test environment set-up and identifying any required infrastructure and tools are a part of which phase
- Test Implementation and execution
- Test Analysis and Design
- Evaluating the Exit Criteria and reporting
- Test Closure Activities
- Test Implementation and execution has which of the following major tasks? i. Developing and prioritizing test cases, creating test data, writing test procedures and optionally preparing the test harnesses and writing automated test scripts. ii. Creating the test suite from the test cases for efficient test execution. iii. Verifying that the test environment has been set up correctly. iv. Determining the exit criteria.
- i,ii,iii are true and iv is false
- i,,iv are true and ii is false
- i,ii are true and iii,iv are false
- ii,iii,iv are true and i is false
3 One of the fields on a form contains a text box which accepts numeric values in the range of 18 to 25. Identify the invalid Equivalence class
- 17
- 19
- 24
- 21
4 In an Examination a candidate has to score minimum of 24 marks in order to clear the exam. The maximum that he can score is 40 marks. Identify the Valid Equivalence values if the student clears the exam.
- 22,23,26
- 21,39,40
- 29,30,31
- 0,15,22
6)Link Testing is also called as
- Component Integration testing
- Component System Testing
- Component Sub System Testing
- Maintenance testing
The cost of fixing a fault:
- Is not important
- Increases as we move the product towards live use
- Decreases as we move the product towards live use
- Is more expensive if found in requirements than functional design
Verification involves which of the following:- i. Helps to check the Quality of the built product ii. Helps to check that we have built the right product. iii. Helps in developing the product iv. Monitoring tool wastage and obsoleteness.
- Options i,ii,iii,iv are true
- i is true and ii,iii,iv are false
- i,ii,iii are true and iv is false
- ii is true and i,iii,iv are false.
Could reviews or inspections be considered part of testing:
- No, because they apply to development documentation
- No, because they are normally applied before testing
- No, because they do not apply to the test documentation
- Yes, because both help detect faults and improve quality
Which of the following is not part of performance testing:
- Measuring response time
- Measuring transaction rates
- Recovery testing
- Simulating many users
5)Which of the following statements regarding static testing is false:
- static testing requires the running of tests through the code
- static testing includes desk checking
- static testing includes techniques such as reviews and inspections
- static testing can give measurements such as cyclomatic complexity
- One of the fields on a form contains a text box which accepts numeric values in the range of 18 to 25. Identify the invalid Equivalence class
- 17
- 19
- 24
- 21
- In an Examination a candidate has to score minimum of 24 marks in order to clear the exam. The maximum that he can score is 40 marks. Identify the Valid Equivalence values if the student clears the exam.
- 22,23,26
- 21,39,40
- 29,30,31
- 0,15,22
9)Which of the following is not part of performance testing:
- Measuring response time
- Measuring transaction rates
- Recovery testing
- Simulating many users
7)Verification involves which of the following:- i. Helps to check the Quality of the built product ii. Helps to check that we have built the right product. iii. Helps in developing the product iv. Monitoring tool wastage and obsoleteness.
- Options i,ii,iii,iv are true
- i is true and ii,iii,iv are false
- i,ii,iii are true and iv is false
- ii is true and i,iii,iv are false.
10)The cost of fixing a fault:
- Is not important
- Increases as we move the product towards live use
- Decreases as we move the product towards live use
- Is more expensive if found in requirements than functional design
8)Could reviews or inspections be considered part of testing:
- No, because they apply to development documentation
- No, because they are normally applied before testing
- No, because they do not apply to the test documentation
- Yes, because both help detect faults and improve quality
In an Examination a candidate has to score minimum of 24 marks in order to clear the exam. The maximum that he can score is 40 marks. Identify the Valid Equivalence values if the student clears the exam.
- 22,23,26
- 21,39,40
- 29,30,31
- 0,15,22