Tuesday, September 01, 2015

ISTQB Foundation Sample Question Paper No. 20

Q. 1: The inputs for developing a test plan are taken from

A. Project plan
B. Business plan
C. Support plan
D. None of the above

Q. 2: To test a function, the programmer has to write a, which calls the function and
Passes it the test data.
A. Stub B. Driver C. Proxy
D. None of the above

Q. 3: Which of the following is not a static testing technique
A. Error guessing
B. Walkthrough
C. Data flow analysis
D. Inspections

Q. 4: Which of the following statements about component testing is not true?
A. Component testing should be performed by development
B. Component testing is also known as isolation or module testing
C. Component testing should have completion criteria planned
D. Component testing does not involve regression testing

Q. 5: Inspections can find all the following except
A. Variables not defined in the code
B. Spelling and grammar faults in the documents
C. Requirements that have been omitted from the design documents
D. How much of the code has been covered

Q. 6: Which of the following is not a characteristic for Testability?
A. Operability
B. Observability
C. Simplicity
D. Robustness

Q. 7: Software testing accounts to what percent of software development costs?
A. 10-20
B. 40-50
C. 70-80
D. 5-10

Q. 8: Equivalence partitioning is:
A. A black box testing technique used only by developers
B. A black box testing technique than can only be used during system testing
C. A black box testing technique appropriate to all levels of testing
D. A white box testing technique appropriate for component testing

Q. 9: If an expected result is not specified then:
A. We cannot run the test
B. It may be difficult to repeat the test
C. It may be difficult to determine if the test has passed or failed
D. We cannot automate the user inputs

Q. 10: How much testing is enough
A. This question is impossible to answer
B. The answer depends on the risks for your industry, contract and special requirements
C. The answer depends on the maturity of your developers
D. The answer should be standardized for the software development industry

Q. 11: The purpose of requirement phase is
A. To freeze requirements
B. To understand user needs
C. To define the scope of testing
D. All of the above

Q. 12: Which of these can be successfully tested using Loop Testing methodology?
A. Simple Loops
B. Nested Loops
C. Concatenated Loops
D. All of the above

Q. 13: Cyclomatic Complexity method comes under which testing method.
A. White box
B. Black box
C. Green box
D. Yellow box

Q. 14: A reliable system will be one that:
A. Is unlikely to be completed on schedule
B. Is unlikely to cause a failure
C. Is likely to be fault-free
D. Is likely to be liked by the users

Q. 15: Which, in general, is the least required skill of a good tester?
A. Being diplomatic
B. Able to write software
C. Having good attention to detail
D. Able to be relied on

Q. 16: A regression test:
A. Will always be automated
B. Will help ensure unchanged areas of the software have not been affected
C. Will help ensure changed areas of the software have not been affected
D. Can only be run during user acceptance testing

Q. 17: Function/Test matrix is a type of
A. Interim Test report
B. Final test report
C. Project status report
D. Management report

Q. 18: The process starting with the terminal modules is called:
A. Top-down integration
B. Bottom-up integration
C. None of the above
D. Module integration

Q. 19: Verification is:
A. Checking that we are building the right system
B. Checking that we are building the system right
C. Performed by an independent test team
D. Making sure that it is what the user really wants

Q. 20: The difference between re-testing and regression testing is
A. Re-testing is running a test again; regression testing looks for unexpected side effects
B. Re-testing looks for unexpected side effects; regression testing is repeating those tests
C. Re-testing is done after faults are fixed; regression testing is done earlier
D. Re-testing uses different environments, regression testing uses the same environment
E. Re-testing is done by developers, regression testing is done by independent testers

Q. 21: Testing should be stopped when:
A. All the planned tests have been run
B. Time has run out
C. All faults have been fixed correctly
D. Both A. and C.
E. I depends on the risks for the system being tested

Q. 22: Which of the following is the main purpose of the integration strategy for integration testing in the small?
A. To ensure that all of the small modules are tested adequately
B. To ensure that the system interfaces to other systems and networks
C. To specify which modules to combine when and how many at once
D. To ensure that the integration testing can be performed by a small team
E. To specify how the software should be divided into modules

Q.223: Which of the following is NOT part of configuration management:
A. Status accounting of configuration items
B. Auditing conformance to ISO9001
C. Identification of test versions
D. Record of changes to documentation over time
E. controlled library access

Q. 24: Regression testing should be performed:
v) Every week
w) After the software has changed
x) As often as possible
y) When the environment has changed
z) When the project manager says
A. v & w are true, x – z are false
B. w, x & y are true, v & z are false
C. w & y are true, v, x & z are false
D. w is true, v, x y and z are false
E. All of the above are true

Q. 25: A tool that supports traceability, recording of incidents or scheduling of tests is called:
A. A dynamic analysis tool
B. A test execution tool
C. A debugging tool
D. A test management tool
E. A configuration management tool

Q. 26: The cost of fixing a fault:
A. Is not important
B. Increases as we move the product towards live use
C. Decreases as we move the product towards live use
D. Is more expensive if found in requirements than functional design?
E. Can never be determined

Q. 27: Order numbers on a stock control system can range between 10000 and 99999 inclusive.
Which of the following inputs might be a result of designing tests for only valid equivalence classes and valid boundaries:
A. 1000, 5000, 99999
B. 9999, 50000, 100000
C. 10000, 50000, 99999
D. 10000, 99999
E. 9999, 10000, 50000, 99999, 10000

Q. 28: When what is visible to end-users is a deviation from the specific or expected behavior, this
is called:
A. An error
B. A fault
C. A failure
D. A defect
E. A mistake

Q. 29: Which expression best matches the following characteristics or review processes:
1. Led by author
2. Undocumented
3. No management participation
4. Led by a trained moderator or leader
5. Uses entry exit criteria
s) Inspection
t) Peer review
u) Informal review
v) Walkthrough
A. s = 4, t = 3, u = 2 and 5, v = 1
B. s = 4 and 5, t = 3, u = 2, v = 1
C. s = 1 and 5, t = 3, u = 2, v = 4
D. s = 5, t = 4, u = 3, v = 1 and 2
E. s = 4 and 5, t = 1, u = 2, v = 3

Q. 30: Given the following:
Switch PC on
Start "outlook"
IF outlook appears THEN Send an email
Close outlook
A. 1 test for statement coverage, 1 for branch coverage
B. 1 test for statement coverage, 2 for branch coverage
C. 1 test for statement coverage. 3 for branch coverage
D. 2 tests for statement coverage, 2 for branch coverage
E. 2 tests for statement coverage, 3 for branch coverage





Q. 31: Test managers should not:
A. Report on deviations from the project plan
B. Sign the system off for release
C. Re-allocate resource to meet original plans
D. Rise incidents on faults that they have found
E. Provide information for risk analysis and quality improvement

Q. 32: Which of the following is NOT part of system testing:
A. Business process-based testing
B. Performance, load and stress testing
C. Requirements-based testing
D. Usability testing
E. Top-down integration testing

Q. 33: When a new testing tool is purchased, it should be used first by:
A. A small team to establish the best way to use the tool
B. Everyone who may eventually have some use for the tool
C. The independent testing team
D. The managers to see what projects it should be used in
E. The vendor contractor to write the initial scripts

Q. 34: Which of the following is not part of performance testing:
A. Measuring response time
B. Measuring transaction rates
C. Recovery testing
D. Simulating many users
E. Generating many transactions

Q. 35: What is the purpose of test completion criteria in a test plan?
A. To know when a specific test has finished its execution
B. To ensure that the test case specification is complete
C. To set the criteria used in generating test inputs
D. To know when test planning is complete
E. To plan when to stop testing

Q. 36: Given the following code, which is true:
IF A > B THEN C = A – B
ELSE
C = A + B ENDIF Read D
IF C = D Then Print "Error" ENDIF
A. 1 test for statement coverage, 3 for branch coverage
B. 2 tests for statement coverage, 2 for branch coverage
C. 2 tests for statement coverage. 3 for branch coverage
D. 3 tests for statement coverage, 3 for branch coverage
E. 3 tests for statement coverage, 2 for branch coverage
Q. 37: Unreachable code would best be found using:
A. Code reviews
B. Code inspections
C. A coverage tool
D. A test management tool
E. A static analysis tool

Q. 38: What information need not be included in a test incident report?
A. How to fix the fault
B. How to reproduce the fault
C. Test environment details
D. Severity, priority
E. The actual and expected outcomes

Q. 39: Which of the following is NOT included in the Test Plan document of the Test
Documentation Standard:
A. Test items (i.e. software versions)
B. What is not to be tested?
C. Test environments
D. Quality plans
E. Schedules and deadlines

Q. 40: IEEE 829 test plan documentation standard contains all of the following except:
A. Test items
B. Test deliverables
C. Test tasks
D. Test environment
E. Test specification

Answers:
Q.1-A
Q.2-B
Q.3-A
Q.4-D
Q.5-D
Q.6-D
Q.7-B
Q.8-C
Q.9-C
Q.10-B
Q.11-D
Q.12-D
Q.13-A
Q.14-B
Q.15-B
Q.16-B
Q.17-C
Q.18-B
Q.19-B
Q.20-A
Q.21-E
Q.22-C
Q.23-B
Q.24-C
Q.25-E
Q.26-B
Q.27-C
Q.28-C
Q.29-B
Q.30-B
Q.31-C
Q.32-E
Q.33-A
Q.34-C
Q.35-E
Q.36-B
Q.37-A
Q.38-A
Q.39-D

Q.40-E

ISTQB Foundation Sample Question Paper No. 19

Q. 1: Drivers are tools used to control and operate the software being tested.

A. True
B. False

Q. 2: Typical defects discovered by static analysis includes
A. Programming standard violations
B. Referring a variable with an undefined value
C. Security vulnerabilities
D. All Above

Q. 3: EULA stands for
A. End Usability License Agreement
B. End User License Agreement
C. End User License Arrangement
D. End User License Attachment

Q. 4: is a very early build intended for limited distribution to a few key customers and
to marketing for demonstration purposes.
A. Alpha release
B. Beta release
C. Test release document
D. Build

Q. 5: CAST stands for
A. Computer Aided Software Testing
B. Computer Aided Software Tools
C. Computer Analysis Software Techniques
D. None

Q. 6: The tool modifies the program code or manipulates the operating environment in any way is considered non-invasive
A. True
B. False

Q. 7: Which test may not mimic real world situations?
A. Functional testing
B. Structural Testing
C. All of the above
D. None of the above



Q. 8: includes both Black box and White Box Testing features
A. Gray Box Testing
B. Hybrid Testing
C. A. & B.
D. None

Q. 9: Exhaustive testing is possible
A. True
B. False

Q. 10: Tool which stores requirement statements, check for consistency and allow requirements to
be prioritized and enable individual tests to be traceable to requirements, functions and features.

A. Incident management tools
B. Requirements management tools
C. Configuration management tools
D. None

Q. 11: The number of tests to test all control statements equals the cyclomatic complexity
A. True
B. False

Q. 12: Boundary value analysis can only be used during white-box testing.
A. True
B. False

Q. 13: Which of these are objectives for software testing?
A. Determine the productivity of programmers
B. Eliminate the need for future program maintenance
C. Eliminate every error prior to release
D. Uncover software errors

Q. 14: Failure is
A. Incorrect program behaviour due to a fault in the program
B. Bug found before product Release
C. Bug found after product Release
D. Bug found during Design phase

Q. 15: During the software development process, at what point can the test process start?
A. When the code is complete.
B. When the design is complete.
C. When the software requirements have been approved.
D. When the first code module is ready for unit testing

Q. 16: "How much testing is enough?"
A. This question is impossible to answer
B. This question is easy to answer
C. The answer depends on the risk for your industry, contract and special requirements
D. This answer depends on the maturity of your developers

Q. 17: Which of the following tools would be involved in the automation of regression test?
A. Data tester
B. Boundary tester
C. Capture/Playback
D. Output comparator.

Q. 18: Incorrect form of Logic coverage is:
A. Statement Coverage
B. Pole Coverage
C. Condition Coverage
D. Path Coverage

Q. 19: Code Coverage is used as a measure of what?
A. Defects
B. Trends analysis
C. Test Effectiveness
D. Time Spent Testing

Q. 20: Fault Masking is
A. Error condition hiding another error condition
B. Creating a test case which does not reveal a fault
C. Masking a fault by developer
D. Masking a fault by a tester

Q. 21: Which of the following is not a quality characteristic listed in ISO 9126
Standard?
A. Functionality
B. Usability
C. Supportability
D. Maintainability

Q. 22: One Key reason why developers have difficulty testing their own work is:
A. Lack of technical documentation
B. Lack of test tools on the market for developers
C. Lack of training
D. Lack of Objectivity
Q. 23: Statement Coverage will not check for the following.
A. Missing Statements
B. Unused Branches
C. Dead Code
D. Unused Statement

Q. 24: Given the Following program
IF X <>= Z
THEN Statement 2;
END
McCabe’s Cyclomatic Complexity is :
A. 2
B. 3
C. 4
D. 5

Q. 25: To test a function, the programmer has to write a , which calls the function to
be tested and passes it test data.
A. Stub
B. Driver
C. Proxy
D. None of the above

Q. 26: Pick the best definition of quality
A. Quality is job one
B. Zero defects
C. Conformance to requirements
D. Work as designed

Q. 27: Boundary value testing
A. Is the same as equivalence partitioning tests
B. Test boundary conditions on, below and above the edges of input and output equivalence classes
C. Tests combinations of input circumstances
D. Is used in white box testing strategy

Q. 28: An input field takes the year of birth between 1900 and 2004
The boundary values for testing this field are
A. 0,1900,2004,2005
B. 1900, 2004
C. 1899,1900,2004,2005
D. 1899, 1900, 1901,2003,2004,2005

Q. 29: How many test cases are necessary to cover all the possible sequences of statements (paths) for the following program fragment? Assume that the two conditions are independent of each other:
if (Condition 1) then statement 1 else statement 2 fi
if (Condition 2) then statement 3 fi
A. 2 Test Cases
B. 3 Test Cases
C. 4 Test Cases
D. Not achievable

Q. 30: A common test technique during component test is
A. Statement and branch testing
B. Usability testing
C. Security testing
D. Performance testing

Q. 31: In a review meeting a moderator is a person who
A. Takes minutes of the meeting
B. Mediates between people
C. Takes telephone calls
D. Writes the documents to be reviewed

Q. 32: Acceptance test cases are based on what?
A. Requirements
B. Design
C. Code
D. Decision table

Q. 33: Which one of the following are non-functional testing methods?
A. System testing
B. Usability testing
C. Performance testing
D. Both B & C

Q. 34: Independent Verification & Validation is
A. Done by the Developer
B. Done by the Test Engineers
C. Done By Management
D. Done by an Entity Outside the Project’s sphere of influence

Q. 35: Defect Management process does not include
A. Defect prevention
B. Deliverable base-lining
C. Management reporting
D. None of the above

Q. 36: Which of the following could be a reason for a failure
1) Testing fault
2) Software fault
3) Design fault
4) Environment Fault
5) Documentation Fault
A. 2 is a valid reason; 1,3,4 & 5 are not
B. 1,2,3,4 are valid reasons; 5 is not
C. 1,2,3 are valid reasons; 4 & 5 are not
D. All of them are valid reasons for failure

Q. 37: Test are prioritized so that:
A. You shorten the time required for testing
B. You do the best testing in the time available
C. You do more effective testing
D. You find more faults

Q. 38: When a new testing tool is purchased, it should be used first by:
A. A small team to establish the best way to use the tool
B. Everyone who may eventually have some use for the tool
C. The independent testing team
D. The vendor contractor to write the initial scripts

Q.39: During which test activity could faults be found most cost effectively?
A. Execution
B. Design
C. Planning
D. Check Exit criteria completion

Q. 40: What is the difference between testing software developed by contractor outside your
country, versus testing software developed by a contractor within your country?
A. Does not meet people needs
B. Cultural difference
C. Loss of control over reallocation of resources
D. Relinquishment of control
Answers:
Q.1-A
Q.2-C
Q.3-B
Q.4-B
Q.5-A
Q.6-B
Q.7-B
Q.8-A
Q.9-B
Q.10-B
Q.11-A
Q.12-B
Q.13-D
Q.14-A
Q.15-C
Q.16-C
Q.17-C
Q.18-B
Q.19-C
Q.20-A
Q.21-C
Q.22-D
Q.23-A
Q.24-B
Q.25-B
Q.26-C
Q.27-B
Q.28-C
Q.29-C
Q.30-A
Q.31-B
Q.32-A
Q.33-D
Q.34-D
Q.35-B
Q.36-D
Q.37-B
Q.38-A
Q.39-C

Q.40-B

ISTQB Foundation Sample Question Paper No. 18



Q. 1: 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.
A. i,ii,iii are true and iv is false
B. i,,iv are true and ii is false
C. i,ii are true and iii,iv are false
D. ii,iii,iv are true and i is false

Q. 2: 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 Equivalance class
A. 17
B. 19
C. 24
D. 21

Q. 3: Exhaustive Testing is
A. Is impractical but possible
B. Is practically possible
C. Is impractical and impossible
D. Is always possible

Q. 4: Hand over of Testware is a part of which Phase
A. Test Analysis and Design
B. Test Planning and control
C. Test Closure Activities
D. Evaluating exit criteria and reporting

Q. 5: Which one is not comes under international standard
A. IEC
B. IEEE
C. ISO
D. All of the above

Q. 6: In which phase static tests are used
A. Requirements
B. Design
C. Coding
D. All of the above

Q. 7: What's the disadvantage of Black Box Testing
A. Chances of having repetition of tests that are already done by programmer.
B. The test inputs needs to be from large sample space.
C. It is difficult to identify all possible inputs in limited testing time. So writing test cases is
slow and difficult
D. All above

Q. 8: Static analysis tools are typically used by
A. Testers
B. Developers
C. Testers & Developers
D. None

Q. 9: Majority of system errors occur in the phase
A. Requirements Phase.
B. Analysis and Design Phase
C. Development Phase
D. Testing Phase

Q. 10: The specification which describes steps required to operate the system and exercise test
cases in order to implement the associated test design
A. Test Case Specification
B. Test Design Specification
C. Test Procedure Specification
D. None

Q. 11: How much percentage of the life cycle costs of a software are spent on maintenance.
A. 10%
B. 30%
C. 50%
D. 70%

Q. 12: When a defect is detected and fixed then the software should be retested to confirm that the original defect has been successfully removed. This is called
A. Regression testing
B. Maintenance testing
C. Confirmation testing
D. None of the above


Q. 13: Equivalence testing divides the input domain into classes of data from which test cases can be derived to reduce the total number of test cases that must be developed.
A. True
B. False

Q. 14: When to stop Testing?
A. Stop when scheduled time for testing expires
B. Stop if 75% of the pre-defined number of errors is detected.
C. Stop when all the test cases execute with detecting few errors.
D. None above

Q. 15: With thorough testing it is possible to remove all defects from a program prior to delivery to the customer.
A. True
B. False

Q. 16: Structure is unknown for which type of development project
A. Traditional system development
B. Iterative development
C. System maintenance
D. Purchased/contracted software

Q. 17: indicates how important it is to fix the bug and when it should be fixed
A. Severity
B. Priority
C. All of the above
D. None of the above

Q. 18: The person who leads the review of the document(s), planning the review,running the
meeting and follow-up after the meeting
A. Reviewer
B. Author
C. Moderator
D. Auditor

Q. 19: Performs sufficient testing to evaluate every possible path and condition in the application system. The only test method that guarantees the proper functioning of the application system is called as
A. Regression Testing
B. Exhaustive Testing
C. Basic Path Testing
D. Branch Testing

Q. 20: Quality Assurance is the process by which product quality is compared with the application standards and the action taken when nonconformance is detected.
A. True
B. False

Q. 21: A formal assessment of a work product conducted by one or more qualified independent reviewer to detect defects.
A. Inspection.
B. Walkthrough.
C. Review
D. Non Conformance

Q. 22: Test Case are grouped into Manageable (and scheduled) units are called as
A. Test Harness
B. Test Suite
C. Test Cycle
D. Test Driver

Q. 23: Configuration and compatibility testing are typically good choices for outsourcing
A. True
B. False

Q. 24: What type of tools to be used for Regression Testing?
A. Performance
B. Record/Playback
C. A. & B.
D. None

Q. 25: System Integration testing should be done after
A. Integration testing
B. System testing
C. Unit testing
D. Component integration testing

Q. 26: During this event the entire system is tested to verify that all functional information
structural and quality requirements have been met. A predetermined combination of tests is
designed that when executed successfully satisfy management that the system meets specifications
A. Validation Testing
B. Integration Testing
C. User Acceptance Testing
D. System Testing


Q. 27: What is the normal order of activities in which software testing is organized?
A. Unit, integration, system, validation
B. System, integration, unit, validation
C. Unit, integration, validation, system
D. None of the above

Q. 28: The goal of a software tester is to find bugs, find them as early as possible and make sure they get fixed.
A. True
B. False

Q. 29: Beta testing is performed at developing organization's site where as Alpha testing is
performed by people at their own locations.
A. True
B. False

Q. 30: The principal attributes of tools and automation are
A. Speed & efficiency
B. Accuracy & precision
C. All of the above
D. None of the above

Q. 31: In testing doesn't know anything about the sofware being tested; it just clicks or
types randomly.
A. Random testing
B. Gorilla testing
C. Adhoc testing
D. Dumb monkey testing

Q. 32: A series of probing questions about the completeness and attributes of an application system
is called
A. Checklist
B. Checkpoint review
C. Decision table
D. Decision tree

Q. 33: The testing technique that requires devising test cases to demonstrate that each program function is operational is called
A. Black-box testing
B. Glass-box testing
C. Grey-box testing
D. White-box testing

Q. 34: A white box testing technique that measures the number of or percentage of decision
directions executed by the test case designed is called
A. Condition coverage
B. Decision/Condition coverage
C. Decision Coverage
D. Branch coverage

Q. 35: Which summarizes the testing activities associated with one or more test design
specifications.
A. Test Summary report
B. Test Log
C. Test Incident Report
D. Test Script

Q. 36: Testing without a real plan and test cases is called ---
A. Gorilla testing
B. Monkey testing
C. Adhoc testing
D. All of the above

Q. 37: Which rule should not be followed for reviews
A. Defects and issues are identified and corrected
B. The product is reviewed not the producer
C. All members of the reviewing team are responsible for the result of the review
D. Each review has a clear predefined objective

Q. 38: Verification can be termed as 'Are we building the product right?"
A. True
B. False

Q. 39: Which testing is used to verify that the system can perform properly when internal program or system limitations have been exceeded
A. Stress Testing
B. Load Testing
C. Performance Testing
D. Volume testing

Q. 40: Defects are recorded into three major purposes. They are:
1.To correct the defect
2.To report status of the application
3.To improve the software development process
A. True
B. False

Answers:
Q.1-A
Q.2-A
Q.3-A
Q.4-C
Q.5-B
Q.6-D
Q.7-D
Q.8-B
Q.9-A
Q.10-C
Q.11-D
Q.12-C
Q.13-A
Q.14-A
Q.15-B
Q.16-D
Q.17-C
Q.18-C
Q.19-C
Q.20-A
Q.21-A
Q.22-B
Q.23-A
Q.24-B
Q.25-C
Q.26-C
Q.27-A
Q.28-A
Q.29-B
Q.30-C
Q.31-D
Q.32-A
Q.33-C
Q.34-B
Q.35-C
Q.36-D
Q.37-C
Q.38-A
Q.39-A

Q.40-A