Quiz
Foundation Level Book Mock Exam
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (137)
1What is a key characteristic of specification-based testing techniques?
- ATests are derived from information about how the software is constructed.
- BTests are derived from models (formal or informal) that specify the problem to be solved by the software or its components.
- CTests are derived based on the skills and experience of the tester.
- DTests are derived from the extent of the coverage of structural elements of the system or components.
2An exhaustive test suite would include:
- AAll combinations of input values and preconditions.
- BAll combinations of input values and output values.
- CAll pairs of input value and preconditions.
- DAll states and state transitions.
3Which statement about testing is true?
- ATesting is started as early as possible in the life cycle.
- BTesting is started after the code is written so that we have a system with which to work.
- CTesting is most economically done at the end of the life cycle.
- DTesting can only be done by an independent test team.
4For a test procedure that is checking modifications of customers on a database, which two steps below would be the lowest priority if we didn't have time to execute all of the steps?
1. Open database and confirm existing customer
2. Change customer's marital status from single to married
3. Change customer's street name from Parks Road to Park Road
4. Change customer's credit limit from 500 to 750
5. Replace customer's first name with exactly the same first name
6. Close the customer record and close the database- ATests 1 and 4
- BTests 2 and 3
- CTests 5 and 6
- DTests 3 and 5
5Consider the following list of either product or project risks:
I. An incorrect calculation of fees might shortchange the organization.
II. A vendor might fail to deliver a system component on time.
III. A defect might allow hackers to gain administrative privileges.
IV. A skills gap might occur in a new technology used in the system.
V. A defect-prioritization process might overload the development team.
Which of the following statements is true?- AI is primarily a product risk and II, III, IV and V are primarily project risks.
- BII and V are primarily product risks and I, III and V are primarily project risks.
- CI and III are primarily product risks, while II, IV and V are primarily project risks.
- DIll and V are primarily product risks, while I, II and IV are primarily project risks
6Consider the following statements about regression tests:
I. They may usefully be automated if they are well designed.
II. They are the same as confirmation tests (re-tests).
III. They are a way to reduce the risk of a change having an adverse affect elsewhere in the system.
IV. They are only effective if automated.
Which pair of statements is true?- AI and II
- BI and III
- CII and III
- DII and IV
7Which of the following could be used to assess the coverage achieved for structure-based (white-box) test techniques?
V. Decision outcomes exercised
W. Partitions exercised
X. Boundaries exercised
Y. Conditions or multiple conditions exercised
Z. Statements exercised- AV, W or Y
- BW, X or Y
- CV, Y or Z
- DW, X or Z
8Review the following portion of an incident report.
1. I place any item in the shopping cart.
2. I place any other (different) item in the shopping cart.
3. I remove the first item from the shopping cart, but leave the second item in the cart.
4. I click the < Checkout > button.
5. I expect the system to display the first checkout screen. Instead, it gives the pop-up error message, 'No items in shopping cart. Click <Okay> to continue shopping.'
6. I click < Okay >.
7. I expect the system to return to the main window to allow me to continue adding and removing items from the cart. Instead, the browser terminates.
8. The failure described in steps 5 and 7 occurred in each of three attempts to perform steps 1,2,3,4 and 6.
Assume that no other narrative information is included in the report. Which of the following important aspects of a good incident report is missing from this incident report?- AThe steps to reproduce the failure.
- BThe summary.
- CThe check for intermittence.
- DThe use of an objective tone.
9Which of the following are benefits and which are risks of using tools to support testing?
1. Over-reliance on the tool
2. Greater consistency and repeatability
3. Objective assessment
4. Unrealistic expectations
5. Underestimating the effort required to maintain the test assets generated by the tool
6. Ease of access to information about tests or testing
7. Repetitive work is reduced- ABenefits: 3, 4 ,6 and 7. Risks: 1, 2 and 5
- BBenefits: 1, 2, 3 and 7, Risks: 4, 5 and 6
- CBenefits: 2, 3, 6 and 7. Risks: 1, 4 and 5
- DBenefits: 2, 3, 5 and 6. Risks: 1, 4 and 7
10Which of the following encourages objective testing?
- AUnit testing
- BSystem testing
- CIndependent testing
- DDestructive testing
11Of the following statements about reviews of specifications, which statement is true?
- AReviews are not generally cost effective as the meetings are time consuming and require preparation and follow up.
- BThere is no need to prepare for or follow up on reviews.
- CReviews must be controlled by the author.
- DReviews are a cost effective early static test on the system.
12Consider the following list of test process activities:
I. Analysis and design
II. Test closure activities
III. Evaluating exit criteria and reporting
IV. Planning and control
V. Implementation and execution
Which of the following places these in their logical sequence?- AI, II, III, IV and V.
- BIV, I, V, III and II.
- CIV, I, V,II and III.
- DI, IV, V HI and II.
13Test objectives vary between projects and so must be stated in the test plan. Which one of the following test objectives might conflict with the proper tester mindset?
- AShow that the system works before we ship it.
- BFind as many defects as possible.
- CReduce the overall level of product risk.
- DPrevent defects through early involvement.
14Which test activities are supported by test data preparation tools?
- ATest management and control
- BTest specification and design
- CTest execution and logging
- DPerformance and monitoring
15Consider the following types of tools:
V. Test management tools
W. Static analysis tools
X. Modeling tools
Y. Dynamic analysis tools
Z. Performance testing tools
Which of the following of these tools is most likely to be used by developers?- AW, X and Y
- BV, Y and Z
- CV, W and Z
- DX, Y and Z
16What is a test condition?
- AAn input, expected outcome, precondition and postcondition
- BThe steps to be taken to get the system to a given point
- CSomething that can be tested
- DA specific state of the software, e.g. before a test can be run
17Which of the following is the most important difference between the metricsbased approach and the expert-based approach to test estimation?
- AThe metrics-based approach is more accurate than the expert-based approach.
- BThe metrics-based approach uses calculations from historical data while the expert-based approach relies on team wisdom.
- CThe metrics-based approach can be used to verify an estimate created using the expert-based approach, but not vice versa.
- DThe expert-based approach takes longer than the metrics-based approach.
18If the temperature falls below 18 degrees, the heating is switched on. When the temperature reaches 21 degrees, the heating is switched off. What is the minimum set of test input values to cover all valid equivalence partitions?
- A15,19 and 25 degrees
- B17,18, 20 and 21 degrees
- C18, 20 and 22 degrees
- D16 and 26 degrees
19Which of these statements about functional testing is true?
- AStructural testing is more important than functional testing as it addresses the code.
- BFunctional testing is useful throughout the life cycle and can be applied by business analysts, testers, developers and users.
- CFunctional testing is more powerful than static testing as you actually run the system and see what happens.
- DInspection is a form of functional testing.
20What is the purpose of confirmation testing?
- ATo confirm the users' confidence that the system will meet their business needs.
- BTo confirm that a defect has been fixed correctly.
- CTo confirm that no unexpected changes have been introduced or uncovered as a result of changes made.
- DTo confirm that the detailed logic of a component conforms to its specification.
21Which success factors are required for good tool support within an organization?
- AAcquiring the best tool and ensuring that all testers use it.
- BAdapting processes to fit with the use of the tool and monitoring tool use and benefits.
- CSetting ambitious objectives for tool benefits and aggressive deadlines for achieving them.
- DAdopting practices from other successful organizations and ensuring that initial ways of using the tool are maintained.
22Which of the following best describes integration testing?
- ATesting performed to expose faults in the interfaces and in the interaction between integrated components.
- BTesting to verify that a component is ready for integration.
- CTesting to verify that the test environment can be integrated with the product.
- DIntegration of automated software test suites with the product.
23According to the ISTQB Glossary, debugging:
- A. Is part of the fundamental testing process.
- BIncludes the repair of the cause of a failure.
- CInvolves intentionally adding known defects.
- DFollows the steps of a test procedure.
24Which of the following could be a root cause of a defect in financial software in which an incorrect interest rate is calculated?
- AInsufficient funds were available to pay the interest rate calculated.
- BInsufficient calculations of compound interest were included.
- CInsufficient training was given to the developers concerning compound interest calculation rules.
- DInaccurate calculators were used to calculate the expected results.
25Consider the following decision table.
Given this decision table, what is the expected result for the following test cases?
TCI: A 26-year-old on business but with violations or accidents on his driving record
TC2: A 62-year-old tourist with a clean driving record- ATCI: Don't supply car; TC2: Supply car with premium charge.
- BTCI: Supply car with premium charge; TC2: Supply car with no premium charge.
- CTCI: Don't supply car; TC2: Supply car with no premium charge.
- DTCI: Supply car with premium charge; TC2: Don't supply car.
26What is exploratory testing?
- AThe process of anticipating or guessing where defects might occur.
- BA systematic approach to identifying specific equivalent classes of input.
- CThe testing carried out by a chartered engineer.
- DConcurrent test design, test execution, test logging and learning.
27What does it mean if a set of tests has achieved 90% statement coverage?
- A9 out of 10 decision outcomes have been exercised by this set of tests.
- B9 out of 10 statements have been exercised by this set of tests.
- C9 out of 10 tests have been run on this set of software.
- D9 out of 10 requirements statements about the software are correct.
28A test plan is written specifically to describe a level of testing where the primary goal is establishing confidence in the system. Which of the following is a likely name for this document?
- AMaster test plan
- BSystem test plan
- CAcceptance test plan
- DProject plan
29Requirement 24.3. A 'Postage Assistant' will calculate the amount of postage due for letters and small packages up to 1 kilogram in weight. The inputs are: the type of item (letter, book or other package) and the weight in grams.
Which of the following conform to the required contents of a test case?- ATest the three types of item to post and three different weights [Req 24.3]
- BTest 1: letter, 10 grams, postage €0.25. Test 2: book, 500 grams, postage €1.00. Test 3: package, 999 gram, postage €2.53 [Req 24.3]
- CTest 1: letter, 10 grams to Belgium. Test 2: book 500 grams to USA. Test 3: package, 999 grams to South Africa [Req 24.3]
- DTest 1: letter 10 grams, Belgium, postage €0.25. Test 2: package 999 grams to South Africa, postage €2.53
30What is the best description of static analysis?
- AThe analysis of batch programs.
- BThe reviewing of test plans.
- CThe analysis of program code or other software artifacts.
- DThe use of black-box testing.
31System test execution on a project is planned for eight weeks. After a week of testing, a tester suggests that the test objective stated in the test plan of 'finding as many defects as possible during system test' might be more closely met by redirecting the test effort according to which test principle?
- AImpossibility of exhaustive testing.
- BImportance of early testing.
- CThe absence of errors fallacy.
- DDefect clustering.
32Consider the following activities that might relate to configuration management:
I. Identify and document the characteristics of a test item
II. Control changes to the characteristics of a test item
III. Check a test item for defects introduced by a change
IV. Record and report the status of changes to test items
V. Confirm that changes to a test item fixed a defect
Which of the following statements is true?- AOnly I is a configuration management task.
- BAll are configuration management tasks.
- CI, II and III are configuration management tasks.
- DI, II and IV are configuration management tasks.
33A test plan included the following a clauses among the exit criteria:
• System test shall continue until all significant product risks have been covered to the extent specified in the product risk analysis document.
• System test shall continue until no must-fix defects remain against any significant product risks specified in the product risk analysis document.
During test execution, the test team detects 430 mustfix defects prior to release and all must-fix defects are resolved. After release, the customers find 212 new defects, none of which were detected during testing. This means that only 67% of the important defects were found prior to release, a percentage which is well below average in your industry. You are asked to find the root cause for the high number of field failures. Consider the following list of explanations:
I. Not all the tests planned for the significant product risks were executed.
II. The organization has unrealistic expectations of the percentage of defects that testing can find.
III. A version-control issue has resulted in the release of a version of the software that was used during early testing.
IV. The product risk analysis failed to identify all the important risks from a customer point of view.
V. The product risk analysis was not updated during the project as new information became available.
Which of the following statements indicate which explanations are possible root causes?- AII, III and IV are possible explanations, but I and V are not possible.
- BAll five are possible explanations.
- CI, IV and V are possible explanations, but II and III are not possible.
- DIll, IV and V are possible explanations, but I and II are not possible.
34What is the most important factor for successful performance of reviews?
- AA separate scribe during the logging meeting.
- BTrained participants and review leaders.
- CThe availability of tools to support the review process.
- DA reviewed test plan.
35Consider the following statements about maintenance testing:
I. It requires both re-test and regression test and may require additional new tests.
II. It is testing to show how easy it will be to maintain the system.
III. It is difficult to scope and therefore needs careful risk and impact analysis.
IV. It need not be done for emergency bug fixes.
Which of the statements are true?- AI and III
- BI and IV
- CII and III
- DII and IV
36Which two specification-based testing techniques are most closely related to each other?
- ADecision tables and state transition testing.
- BEquivalence partitioning and state transition testing.
- CDecision tables and boundary value analysis.
- DEquivalence partitioning and boundary value analysis.
37Which of the following is an advantage of independent testing?
- AIndependent testers don't have to spend time communicating with the project team.
- BProgrammers can stop worrying about the quality of their work and focus on producing more code.
- CThe others on a project can pressure the independent testers to accelerate testing at the end of the schedule.
- DIndependent testers sometimes question the assumptions behind requirements, designs and implementations.
38When what is visible to end-users is a deviation from the specific or expected behavior, this is called:
- Aan error
- Ba fault
- Ca failure
- Da defect
- Ea mistake
39Regression 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- Av & w are true, x – z are false
- Bw, x & y are true, v & z are false
- Cw & y are true, v, x & z are false
- Dw is true, v, x y and z are false
- Eall of the above are true
40IEEE 829 test plan documentation standard contains all of the following except:
- Atest items
- Btest deliverables
- Ctest tasks
- Dtest environment
- Etest specification
41Testing should be stopped when:
- Aall the planned tests have been run
- Btime has run out
- Call faults have been fixed correctly
- Dboth a) and c)
- Eit depends on the risks for the system being tested
42Order 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:
- A1000, 5000, 99999
- B9999, 50000, 100000
- C10000, 50000, 99999
- D10000, 99999
- E9999, 10000, 50000, 99999, 10000
43Consider the following statements about early test design:
i. early test design can prevent fault multiplication
ii. faults found during early test design are more expensive to fix
iii. early test design can find faults
iv. early test design can cause changes to the requirements
v. early test design takes more effort- Ai, iii & iv are true. Ii & v are false
- Biii is true, I, ii, iv & v are false
- Ciii & iv are true. i, ii & v are false
- Di, iii, iv & v are true, ii us false
- Ei & iii are true, ii, iv & v are false
44Non-functional system testing includes:
- Atesting to see where the system does not function properly
- Btesting quality attributes of the system including performance and usability
- Ctesting a system feature using only the software required for that action
- Dtesting a system feature using only the software required for that function
- Etesting for functions that should not exist
45Which of the following is NOT part of configuration management:
- Astatus accounting of configuration items
- Bauditing conformance to ISO9001
- Cidentification of test versions
- Drecord of changes to documentation over time
- Econtrolled library access
46Which of the following is the main purpose of the integration strategy for integration testing in the small?
- Ato ensure that all of the small modules are tested adequately
- Bto ensure that the system interfaces to other systems and networks
- Cto specify which modules to combine when and how many at once
- Dto ensure that the integration testing can be performed by a small team
- Eto specify how the software should be divided into modules
47What is the purpose of test completion criteria in a test plan:
- Ato know when a specific test has finished its execution
- Bto ensure that the test case specification is complete
- Cto set the criteria used in generating test inputs
- Dto know when test planning is complete
- Eto plan when to stop testing
48Consider the following statements:
i. an incident may be closed without being fixed
ii. incidents may not be raised against documentation
iii. the final stage of incident tracking is fixing
iv. the incident record does not include information on test environments
v. incidents should be raised when someone other than the author of the software performs the test- Aii and v are true, I, iii and iv are false
- Bi and v are true, ii, iii and iv are false
- Ci, iv and v are true, ii and iii are false
- Di and ii are true, iii, iv and v are false
- Ei is true, ii, iii, iv and v are false
49Given the following code, which is true about the minimum number of test cases required for full statement and branch coverage:
Read P
Read Q
IF P+Q > 100 THEN
Print “Large”
ENDIF
If P > 50 THEN
Print “P Large”
ENDIF- A1 test for statement coverage, 3 for branch coverage
- B1 test for statement coverage, 2 for branch coverage
- C1 test for statement coverage, 1 for branch coverage
- D2 tests for statement coverage, 3 for branch coverage
- E2 tests for statement coverage, 2 for branch coverage
50Given the following:
Switch PC on
Start “outlook”
IF outlook appears THEN
Send an email
Close outlook- A1 test for statement coverage, 1 for branch coverage
- B1 test for statement coverage, 2 for branch coverage
- C1 test for statement coverage. 3 for branch coverage
- D2 tests for statement coverage, 2 for branch coverage
- E2 tests for statement coverage, 3 for branch coverage
51Given 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- A1 test for statement coverage, 3 for branch coverage
- B2 tests for statement coverage, 2 for branch coverage
- C2 tests for statement coverage. 3 for branch coverage
- D3 tests for statement coverage, 3 for branch coverage
- E3 tests for statement coverage, 2 for branch coverage
52Consider the following:
Pick up and read the newspaper
Look at what is on television
If there is a program that you are interested in watching then
switch the television on and watch the program
Otherwise
Continue reading the newspaper
If there is a crossword in the newspaper then try and complete the crossword- ASC = 1 and DC = 1
- BSC = 1 and DC = 2
- CSC = 1 and DC = 3
- DSC = 2 and DC = 2
- ESC = 2 and DC = 3
53The place to start if you want a (new) test tool is:
- AAttend a tool exhibition
- BInvite a vendor to give a demo
- CAnalyse your needs and requirements
- DFind out what your budget would be for the tool
- ESearch the internet
54When a new testing tool is purchased, it should be used first by:
- AA small team to establish the best way to use the tool
- BEveryone who may eventually have some use for the tool
- CThe independent testing team
- DThe managers to see what projects it should be used in
- EThe vendor contractor to write the initial scripts
55What can static analysis NOT find?
- AThe use of a variable before it has been defined
- BUnreachable (“dead”) code
- CWhether the value stored in a variable is correct
- DThe re-definition of a variable before it has been used
- EArray bound violations
56Which of the following is NOT a black box technique:
- AEquivalence partitioning
- BState transition testing
- CLCSAJ
- DSyntax testing
- EBoundary value analysis
57Beta testing is:
- APerformed by customers at their own site
- BPerformed by customers at their software developer’s site
- CPerformed by an independent test team
- DUseful to test bespoke software
- EPerformed as early as possible in the lifecycle
58Given the following types of tool, which tools would typically be used by developers and which by an independent test team:
i. static analysis
ii. performance testing
iii. test management
iv. dynamic analysis
v. test running
vi. test data preparation- Adevelopers would typically use i, iv and vi; test team ii, iii and v
- Bdevelopers would typically use i and iv; test team ii, iii, v and vi
- Cdevelopers would typically use i, ii, iii and iv; test team v and vi
- Ddevelopers would typically use ii, iv and vi; test team I, ii and v
- Edevelopers would typically use i, iii, iv and v; test team ii and vi
59The main focus of acceptance testing is:
- Afinding faults in the system
- Bensuring that the system is acceptable to all users
- Ctesting the system with other systems
- Dtesting for a business perspective
- Etesting by an independent test team
60Which of the following statements about the component testing standard is false:
- Ablack box design techniques all have an associated measurement technique
- Bwhite box design techniques all have an associated measurement technique
- Ccyclomatic complexity is not a test measurement technique
- Dblack box measurement techniques all have an associated test design technique
- Ewhite box measurement techniques all have an associated test design technique
61Which of the following statements is NOT true:
- Ainspection is the most formal review process
- Binspections should be led by a trained leader
- Cmanagers can perform inspections on management documents
- Dinspection is appropriate even when there are no written documents
- Einspection compares documents with predecessor (source) documents
62A typical commercial test execution tool would be able to perform all of the following EXCEPT:
- Agenerating expected outputs
- Breplaying inputs according to a programmed script
- Ccomparison of expected outcomes with actual outcomes
- Drecording test inputs
- Ereading test values from a data file
63The difference between re-testing and regression testing is
- Are-testing is running a test again; regression testing looks for unexpected side effects
- Bre-testing looks for unexpected side effects; regression testing is repeating those tests
- Cre-testing is done after faults are fixed; regression testing is done earlier
- Dre-testing uses different environments, regression testing uses the same environment
- Ere-testing is done by developers, regression testing is done by independent testers
64Expected results are:
- Aonly important in system testing
- Bonly used in component testing
- Cnever specified in advance
- Dmost useful when specified in advance
- Ederived from the code
65Test managers should not:
- Areport on deviations from the project plan
- Bsign the system off for release
- Cre-allocate resource to meet original plans
- Draise incidents on faults that they have found
- Eprovide information for risk analysis and quality improvement
66 Unreachable code would best be found using:
- Acode reviews
- Bcode inspections
- Ca coverage tool
- Da test management tool
- Ea static analysis tool
67A tool that supports traceability, recording of incidents or scheduling of tests is called:
- Aa dynamic analysis tool
- Ba test execution tool
- Ca debugging tool
- Da test management tool
- Ea configuration management tool
68What information need not be included in a test incident report:
- Ahow to fix the fault
- Bhow to reproduce the fault
- Ctest environment details
- Dseverity, priority
- Ethe actual and expected outcomes
69 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- As = 4, t = 3, u = 2 and 5, v = 1
- Bs = 4 and 5, t = 3, u = 2, v = 1
- Cs = 1 and 5, t = 3, u = 2, v = 4
- Ds = 5, t = 4, u = 3, v = 1 and 2
- Es = 4 and 5, t = 1, u = 2, v = 3
70Which of the following is NOT part of system testing:
- Abusiness process-based testing
- Bperformance, load and stress testing
- Crequirements-based testing
- Dusability testing
- Etop-down integration testing
71What statement about expected outcomes is FALSE:
- Aexpected outcomes are defined by the software’s behaviour
- Bexpected outcomes are derived from a specification, not from the code
- Cexpected outcomes include outputs to a screen and changes to files and databases
- Dexpected outcomes should be predicted before a test is run
- Eexpected outcomes may include timing constraints such as response times
72The standard that gives definitions of testing terms is:
- AISO/IEC 12207
- BBS7925-1
- CBS7925-2
- DANSI/IEEE 829
- EANSI/IEEE 729
73The cost of fixing a fault:
- AIs not important
- BIncreases as we move the product towards live use
- CDecreases as we move the product towards live use
- DIs more expensive if found in requirements than functional design
- ECan never be determined
74Which of the following is NOT included in the Test Plan document of the Test Documentation Standard:
- ATest items (i.e. software versions)
- BWhat is not to be tested
- CTest environments
- DQuality plans
- ESchedules and deadlines
75Could reviews or inspections be considered part of testing:
- ANo, because they apply to development documentation
- BNo, because they are normally applied before testing
- CNo, because they do not apply to the test documentation
- DYes, because both help detect faults and improve quality
- EYes, because testing includes all non-constructive activities
76Which of the following is not part of performance testing:
- AMeasuring response time
- BMeasuring transaction rates
- CRecovery testing
- DSimulating many users
- EGenerating many transactions
77Error guessing is best used
- AAs the first approach to deriving test cases
- BAfter more formal techniques have been applied
- CBy inexperienced testers
- DAfter the system has gone live
- EOnly by end users
78An input field takes the year of birth between 1900 and 2004.
The boundary values for testing this field are:- A0,1900,2004,2005
- B1900, 2004
- C1899,1900,2004,2005
- D1899, 1900, 1901,2003,2004,2005
79Which one of the following are non-functional testing methods?
- ASystem testing
- BUsability testing
- CPerformance testing
- DBoth b & c
80Which of the following tools would be involved in the automation of regression test?
- AData tester
- BBoundary tester
- CCapture/Playback
- DOutput comparator
81Incorrect form of Logic coverage is:
- AStatement Coverage
- BPole Coverage
- CCondition Coverage
- DPath Coverage
82Which of the following is not a quality characteristic listed in ISO 9126 Standard?
- AFunctionality
- BUsability
- CSupportability
- DMaintainability
83To test a function, the programmer has to write a _________, which calls the function to be tested and passes it test data.
- AStub
- BDriver
- CProxy
- DNone of the above
84Boundary value testing:
- AIs the same as equivalence partitioning tests
- BTest boundary conditions on, below and above the edges of input and output equivalence classes
- CTests combinations of input circumstances
- DIs used in white box testing strategy
85Pick the best definition of quality:
- AQuality is job one
- BZero defects
- CConformance to requirements
- DWork as designed
86Fault Masking is:
- AError condition hiding another error condition
- BCreating a test case which does not reveal a fault
- CMasking a fault by developer
- DMasking a fault by a tester
87One Key reason why developers have difficulty testing their own work is :
- ALack of technical documentation
- BLack of test tools on the market for developers
- CLack of training
- DLack of Objectivity
88During the software development process, at what point can the test process start?
- AWhen the code is complete.
- BWhen the design is complete.
- CWhen the software requirements have been approved.
- DWhen the first code module is ready for unit testing
89In a review meeting a moderator is a person who:
- ATakes minutes of the meeting
- BMediates between people
- CTakes telephone calls
- DWrites the documents to be reviewed
90Given the Following program
IF X <>= Z
THEN Statement 2;
END
McCabe’s Cyclomatic Complexity is :- A2
- B3
- C4
- D5
91How 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
…………- A2 Test Cases
- B3 Test Cases
- C4 Test Cases
- DNot achievable
92Acceptance test cases are based on what?
- ARequirements
- BDesign
- CCode
- DDecision table
93“How much testing is enough?”
- AThis question is impossible to answer
- BThis question is easy to answer
- CThe answer depends on the risk for your industry, contract and special requirements
- DThis answer depends on the maturity of your developers
94A common test technique during component test is:
- AStatement and branch testing
- BUsability testing
- CSecurity testing
- DPerformance testing
95Statement Coverage will not check for the following.
- AMissing Statements
- BUnused Branches
- CDead Code
- DUnused Statement
96Independent Verification & Validation is:
- ADone by the Developer
- BDone by the Test Engineers
- CDone By Management
- DDone by an Entity Outside the Project’s sphere of influence
97Code Coverage is used as a measure of what?
- ADefects
- BTrends analysis
- CTest Effectiveness
- DTime Spent Testing
98We split testing into distinct stages primarily because:
- AEach test stage has a different purpose.
- BIt is easier to manage testing in stages.
- CWe can run different tests in different environments.
- DThe more stages we have, the better the testing.
99Which of the following is likely to benefit most from the use of test tools providing test capture and replay facilities?
- ARegression testing
- BIntegration testing
- CSystem testing
- DUser acceptance testing
100Which of the following statements is NOT correct?
- AA minimal test set that achieves 100% LCSAJ coverage will also achieve 100% branch coverage.
- BA minimal test set that achieves 100% path coverage will also achieve 100% statement coverage.
- CA minimal test set that achieves 100% path coverage will generally detect more faults than one that achieves 100% statement coverage.
- DA minimal test set that achieves 100% statement coverage will generally detect
more faults than one that achieves 100% branch coverage.
101Which of the following requirements is testable?
- AThe system shall be user friendly
- BThe safety-critical parts of the system shall contain 0 faults.
- CThe response time shall be less than one second for the specified design load.
- DThe system shall be built to be portable.
102Analyse the following highly simplified procedure:
Ask: “What type of ticket do you require, single or return?”
IF the customer wants ‘return’
Ask: “What rate, Standard or Cheap-day?”
IF the customer replies ‘Cheap-day’
Say: “That will be £11:20”
ELSE
Say: “That will be £19:50”
ENDIF
ELSE
Say: “That will be £9:75”
ENDIF
Now decide the minimum number of tests that are needed to ensure that all the questions have been asked, all combinations have occurred and all replies given.- A3
- B4
- C5
- D6
103Error guessing:
- Asupplements formal test design techniques.
- Bcan only be used in component, integration and system testing.
- Cis only performed in user acceptance testing.
- Dis not repeatable and should not be used.
104Which of the following is NOT true of test coverage criteria?
- ATest coverage criteria can be measured in terms of items exercised by a test suite.
- BA measure of test coverage criteria is the percentage of user requirements covered.
- CA measure of test coverage criteria is the percentage of faults found.
- DTest coverage criteria are often used when specifying test completion criteria.
105In prioritising what to test, the most important objective is to:
- Afind as many faults as possible.
- Btest high risk areas.
- Cobtain good test coverage.
- Dtest whatever is easiest to test.
106Given the following sets of test management terms (v-z), and activity descriptions (1-5), which one of the following best pairs the two sets?
v – test control
w – test monitoring
x - test estimation
y - incident management
z - configuration control
1 - calculation of required test resources
2 - maintenance of record of test results
3 - re-allocation of resources when tests overrun
4 - report on deviation from test plan
5 - tracking of anomalous test results- Av-3,w-2,x-1,y-5,z-4
- Bv-2,w-5,x-1,y-4,z-3
- Cv-3,w-4,x-1,y-5,z-2
- Dv-2,w-1,x-4,y-3,z-5
107Which one of the following statements about system testing is NOT true?
- ASystem tests are often performed by independent teams.
- BFunctional testing is used more than structural testing.c
- CFaults found during system tests can be very expensive to fix.
- DEnd-users should be involved in system tests.
108Which of the following is false?
- AIncidents should always be fixed.
- BAn incident occurs when expected and actual results differ.
- CIncidents can be analysed to assist in test process improvement.
- DAn incident can be raised against documentation.
109Enough testing has been performed when:
- Atime runs out.
- Bthe required level of confidence has been achieved.
- Cno more faults are found.
- Dthe users won’t find any serious faults.
110Which of the following is NOT true of incidents?
- AIncident resolution is the responsibility of the author of the software under test.
- BIncidents may be raised against user requirements.
- CIncidents require investigation and/or correction.
- DIncidents are raised when expected and actual results differ.
111Which of the following is not described in a unit test standard?
- Asyntax testing
- Bequivalence partitioning
- Cstress testing
- Dmodified condition/decision coverage
112Which of the following is false?
- AIn a system two different failures may have different severities.
- BA system is necessarily more reliable after debugging for the removal of a fault.
- CA fault need not affect the reliability of a system.
- DUndetected errors may lead to faults and eventually to incorrect behaviour.
113Which one of the following statements, about capture-replay tools, is NOT correct?
- AThey are used to support multi-user testing.
- BThey are used to capture and animate user requirements.
- CThey are the most frequently purchased types of CAST tool.
- DThey capture aspects of user behaviour.
114How would you estimate the amount of re-testing likely to be required?
- AMetrics from previous similar projects
- BDiscussions with the development team
- CTime allocated for regression testing
- Da & b
115Which of the following is true of the V-model?
- AIt states that modules are tested against user requirements.
- BIt only models the testing phase.
- CIt specifies the test techniques to be used.
- DIt includes the verification of designs.
116 The oracle assumption:
- Ais that there is some existing system against which test output may be checked.
- Bis that the tester can routinely identify the correct outcome of a test.
- Cis that the tester knows everything about the software under test.
- Dis that the tests are reviewed by experienced testers.
117Which of the following characterizes the cost of faults?
- AThey are cheapest to find in the early development phases and the most expensive to fix in the latest test phases.
- BThey are easiest to find during system testing but the most expensive to fix then.
- CFaults are cheapest to find in the early development phases but the most expensive to fix then.
- DAlthough faults are most expensive to find during early development phases,
they are cheapest to fix then.
118Which of the following should NOT normally be an objective for a test?
- ATo find faults in the software.
- BTo assess whether the software is ready for release.
- CTo demonstrate that the software doesn’t work.
- DTo prove that the software is correct.
119Which of the following is a form of functional testing?
- ABoundary value analysis
- BUsability testing
- CPerformance testing
- DSecurity testing
120Which of the following would NOT normally form part of a test plan?
- AFeatures to be tested
- BIncident reports
- CRisks
- DSchedule
121Which of these activities provides the biggest potential cost saving from the use of CAST?
- ATest management
- BTest design
- CTest execution
- DTest planning
122Which of the following is NOT a white box technique?
- AStatement testing
- BPath testing
- CData flow testing
- DState transition testing
123Data flow analysis studies:
- Apossible communications bottlenecks in a program.
- Bthe rate of change of data values as a program executes.
- Cthe use of data on paths through the code.
- Dthe intrinsic complexity of the code.
124In a system designed to work out the tax to be paid:
An employee has £4000 of salary tax free. The next £1500 is taxed at 10%
The next £28000 is taxed at 22%
Any further amount is taxed at 40%
To the nearest whole pound, which of these is a valid Boundary Value Analysis test case?- A£1500
- B£32001
- C£33501
- D£28000
125 An important benefit of code inspections is that they:
- Aenable the code to be tested before the execution environment is ready.
- Bcan be performed by the person who wrote the code.
- Ccan be performed by inexperienced staff.
- Dare cheap to perform.
126Which of the following is the best source of Expected Outcomes for User Acceptance Test scripts?
- AActual results
- BProgram specification
- CUser requirements
- DSystem specification
127What is the main difference between a walkthrough and an inspection?
- AAn inspection is lead by the author, whilst a walkthrough is lead by a trained moderator.
- BAn inspection has a trained leader, whilst a walkthrough has no leader.
- CAuthors are not present during inspections, whilst they are during walkthroughs.
- DA walkthrough is lead by the author, whilst an inspection is lead by a trained moderator.
128Which one of the following describes the major benefit of verification early in the life cycle?
- AIt allows the identification of changes in user requirements.
- BIt facilitates timely set up of the test environment.
- CIt reduces defect multiplication.
- DIt allows testers to become involved early in the project
129Integration testing in the small:
- Atests the individual components that have been developed.
- Btests interactions between modules or subsystems.
- Conly uses components that form part of the live system.
- Dtests interfaces to other systems.
130Static analysis is best described as:
- Athe analysis of batch programs.
- Bthe reviewing of test plans.
- Cthe analysis of program code.
- Dthe use of black box testing.
131Alpha testing is:
- Apost-release testing by end user representatives at the developer’s site.
- Bthe first testing that is performed.
- Cpre-release testing by end user representatives at the developer’s site.
- Dpre-release testing by end user representatives at their sites.
132A failure is:
- Afound in the software; the result of an error.
- Bdeparture from specified behaviour.
- Can incorrect step, process or data definition in a computer program.
- Da human action that produces an incorrect result.
133In a system designed to work out the tax to be paid:
An employee has £4000 of salary tax free. The next £1500 is taxed at 10%
The next £28000 is taxed at 22%
Any further amount is taxed at 40%
Which of these groups of numbers would fall into the same equivalence class?- A£4800; £14000; £28000
- B£5200; £5500; £28000
- C£28001; £32000; £35000
- D£5800; £28000; £32000
134The most important thing about early test design is that it:
- Amakes test preparation easier.
- Bmeans inspections are not required.
- Ccan prevent fault multiplication.
- Dwill find all faults.
135Which of the following statements about reviews is true?
- AReviews cannot be performed on user requirements specifications.
- BReviews are the least effective way of testing code.
- CReviews are unlikely to find faults in test plans.
- DReviews should be performed on specifications, code, and test plans.
136Test cases are designed during:
- Atest recording.
- Btest planning.
- Ctest configuration.
- Dtest specification.
137A configuration management system would NOT normally provide:
- Alinkage of customer requirements to version numbers.
- Bfacilities to compare test results with expected results.
- Cthe precise differences in versions of software component source code.
- Drestricted access to the source code library.
Information
- Description
- Medium ISTQB Foundation Level Quiz on Foundation Level Book Mock Exam, created by Maximo Malirong on 17/04/2016.
- Author
- Maximo Malirong
- Language
- English
- Views
- 34
- Tags
- Rating
- No ratings yet Rate this quiz
More on Test Design Techniques