Exam 3

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

12/7/2019 exam3.

html

01. According to ISTQB syllabus, A human being can make (P) which produces (Q) in the program code,
or in a document. If (Q) in code is executed, the system may fail to do that it should do, causing (R).
which of following is correct? [K1]

P: Failure, Q: Defect, R: Error


P: Error, Q: Failure, R: Defect
P: Error, Q: Defect, R: Failure
P: Failure, Q: Error, R: Defect

02. Deciding how much testing is enough should take account of followings except? [K2]

Level of Risk
Project constraints
Safety
Decision Table

03. Under limited project time and budget, Testing effort shall be focused proportionally to the expected
and later observed defect density of modules so that project constraints are properly managed. Which
testing principle is explained? [K2]

Pesticide paradox
Defect clustering
Absence-of-errors fallacy
Early testing

04. Which of following is Not “Test Analysis and Design ” activity in “Fundamental Test Process” ? [K2]

Identifying and prioritizing test conditions based on analyses of test items, the specification,
behavior and structure of the software
Identifying necessary test data to support the test conditions and test cases
Creating test suites from the test procedures for efficient test execution
Creating bi-directional traceability between test basis and test cases

05. Which of following is correct about regression testing? [K2]

During regression test all already executed tests are repeated after the unit, build or system
under test is modified in order to assure that changes of the test object have NOT created new defect
During regression test all part of the already executed tests are repeated after the unit, build or
system under test is modified in order to check if the defect found so far are corrected
During regression test a part of the already executed tests are repeated after the unit, build or
system under test is modified in order to check if the defects found so far are corrected
During regression test a part of the already executed tests are repeated after the unit, build or
system under test is modified, in order to check that the changes have NOT created new defects

06. Which of following is NOT correct regarding of Iterative – incremental Development Models? [K1]

A system that is produced using this model is tested at several test levels during each iteration
This is the process of establishing requirements, designing, building and testing a system in a
series of short development cycles
This model demonstrates the relationships between each phase of the life cycles and its
associated phase of testing
Regression testing is increasing important on all iterations after the first one.
file:///C:/Users/Lane Than/Desktop/exam3.html 1/6
12/7/2019 exam3.html

07. One approach to “this testing” is to prepare and automate test cases before coding. This is called a test-
first approach or test-driven development. What is this testing? [K1]

Integration testing
System testing
Component testing
Acceptance testing

08. Which is following is Not about System testing ? [K1]

The test environment should correspond to the final target or production environment
May include tests based on risks and/or on requirements specification, business process, use
cases
Tests the interactions between different system or between hardware and software
Should investigate functional and non-functional requirements of the system and data quality
characteristics

09. Which of following is Not about functional testing? [K2]

This testing is considers the external behavior of the software (black – box testing)
Security testing investigates the functions relating to detection of threats
Interoperability testing evaluates the capability of the software product to interact with one or
more specified components or systems
This testing describes the tests required to measure characteristics of systems and software that
can be quantified on a varying scale

10. This testing includes regression testing to parts of the system that have not been changed. The scope of
this testing is related to the risk of the change, the size of the existing system and to the size of the change.
What is this testing? [K1]

Structural testing
Maintenance testing
Re-testing
Interoperability testing

11. What is the fundamental difference between “static analysis” and test? [K2]

Static analysis is applied only in the early phase, test only in the late phases of the software life
cycle
Static analysis is done without executing the test object. A test is an examination during “run
time”
Static analysis checks only documents without a formal structure. Test checks software systems
Static analysis can be applied at any time during the software life cycle. Test can only be applied
after implementation

12. Which of following statement is true about Static Analysis? [K1]

Static analysis is the precondition for executing the dynamic analysis


Static analysis serves for creating test case
Static analysis is an analysis without execution of the test object (under analysis)
Static analysis is the check of the program code for compliance with the documentation rules

13. Which of following is NOT a typical “Planning” activity of formal review? [K1]
file:///C:/Users/Lane Than/Desktop/exam3.html 2/6
12/7/2019 exam3.html

Defining the review criteria


Defining the entry and exit criteria for more formal review types
Selecting which parts of documents to review
Preparing for the review meeting by reviewing the documents

14. Which of following is related a typical “Fixing” activity of formal review ? [K1]

Gathering metrics
Checking on exit criteria for more formal review type
Checking that defects have been addressed
Recording updated status of defect in formal review

15. In a typical formation review, who is the person in charge of leading the review of the document or set
of documents including planning the review, running the meeting, and following – up after the meeting ?
[K1]

Moderator
Author
Reviewer
Manager

16. Which of the statements about reviews are correct? [K3]

Reviews can help find bugs early resulting in saving of cost


It is not useful to involve testers in review of specifications because it can bias them.
Reviews are useful because they help management to assign responsibility of failure on
individual developers.
Requirement of additional time for reviews is likely to result in longer development cycle

17. Which alternative is not defect which can be discovered by static analysis? [K3]

Violations of coding standards


race conditions
Referencing a variable with an undefined value
security vulnerabilities

18. Which of following is a common characteristic of specification-based test design techniques? [K1]

Information about how the software is constructed is used to derive the test cases
The extent of coverage of software can be measured for existing test case
Models, either formal or informal, are used for the specification of the problem to be solved, the
software or its component
The knowledge and experience of people are used to derive the test case

19. In below specification, how many different valid combinations of inputs exist for computing the price?
[K4] Vietnam Railway Company runs a train from Hanoi to Ho Chi Minh city. This train has four different
kinds of accommodation with different ticket prices: “Hard seat”, “soft seat”, “hard sleeper”, “soft
sleeper”. For “hard sleeper”, there are different prices for lower, middle and upper berth. For “soft
sleeper”, there is a different price for lower and upper berth. For sleeping accommodation, different prices
apply for non-air-condition and air-condition. For soft sleeper, a higher price applies for compartments
with own bathroom. Higher-speed trains exist, but have only hard and soft seat, and they have another
price than “normal” trains.

file:///C:/Users/Lane Than/Desktop/exam3.html 3/6


12/7/2019 exam3.html

18
24
36
48

20. The system shall allow the customer three attempts to enter a valid user ID and password at the
welcome screen. If three invalid use ID/password combinations have been entered, the system shall
temporarily lock the user’s account. You have written a test design specification that includes, among
others, the following two test conditions: 1) Test successful user ID/password login with: zero failed
attempts before success; one failed attempt before success; and , two failed attempts before success 2) Test
unsuccessful user ID/password login Which of the following is a set of test cases that has clear traceability
to, and complete coverage of, exactly one of the test conditions listed? Assume the inputs are the first two
items in each triple, and the expected result the third. [K3]

(Test 0, valid0, success)


(Test 1, invalid 1, fail), (Test 1, invalid 1, fail)
(Test 0, valid 0, success), (Test 1, invalid 1, fail), (Test 1, valid1, success), (Test 2, invalid 2,
fail), (Test 2, invalid 2, fail), (Test 2, valid 2, success)
(Test 1, invalid 1, fail), (Test1, valid 1, success)

21. Which of following is Not true about Multiple condition coverage? ..[K3]

In this coverage, all possible combinations of true/false conditions are identified.


100% multiple condition coverage implies 100% condition determination coverage
The percentage of combinations of all multi condition outcomes within one statement that have
been exercised by a test suite
White box test design technique

22. Which of following is NOT true about Condition Determination Testing and Coverage? [K3]

100% decision condition coverage implies 100% condition determination coverage


A white box test design technique in which test case are independently affect a decision
outcome that have been exercised by a test case suite
The percentage of all single condition outcomes that independently affect a decision outcome
that have been exercised by a test case suite
The possible combination of true/false conditions that can affect decisions are identified

23. Which of following is a typical test leader’s tasks? [K1]

Prepare and acquire test data


Adapt planning based test result and progress
Set up the test environment often coordinating with system administration and network
management
Use test administration or management tools and test monitoring tools as required

24. Which of following is a typical tester’s tasks? [K1]

Write test summary reports based on the information gathered during testing
Contribute the testing perspective to other project activities, such as integration planning.
Select tools to support testing and organize any training in tool use for testers
Analyze, review and assess user requirements, specifications and models for testability

25. Which of following is NOT a test planning activity in test planning? [K1]
file:///C:/Users/Lane Than/Desktop/exam3.html 4/6
12/7/2019 exam3.html

Assigning resources for the different activities defined


Estimating the tasks based on estimates made by the owner of the tasks or by experts
Adapt planning based test result and progress
Determining the scope and risks and identifying the objectives into the software life cycle
activities

26. Which of following Test Approach includes Exploratory testing where testing is more reactive to
events than pre-planned, and where execution and evaluation are concurrent tasks? [K2]

Model-based approach
Analytical approach
Re-active approach
Regression-averse approach

27. Which of following is Not a typical Entry Criteria? [K1]

Estimates of defect density or reliability measures


Test environment availability and readiness
Test tool readiness in test environment
Testable code availability

28. Which of following is a Product Risk? [K1]

Test environment not ready on time


Problems in defining the right requirements
Failure-prone software delivered
Low quality of the design, code, configuration data, test data and tests

29. Which of following is a Project Risk? [K1]

The potential that the software/hardware could cause harm to an individual or company
Poor data integrity and quality
Improper attitude toward or expectations of testing
Software that does not perform its intended functions

30. Which of following is correct to be defined as the chance of an event, hazard, threat or situation
occurring and resulting in undesirable consequences or a potential problem ? [K1]

Defect
Risk
Incident
Failure

31. Which of following is NOT objectives of incident report? [K1]

Provide developers and other parties with feedback about the problem to enable identification,
isolation and correction as necessary
Provide test leaders a means of tracking the quality of the system under test and the progress of
the testing
Provide evidence of tester’s worthiness
Provide ideas for test process improvement

file:///C:/Users/Lane Than/Desktop/exam3.html 5/6


12/7/2019 exam3.html

32. Which of following tools are necessary for storage and version management of test-ware and related
software especially when configuring more than on hardware/software environment in terms of operating
system versions compilers browsers? [K1]

Test management tools


Configuration management tools
Incident management tools
Requirements management tools

33. Which of following tools measure the percentage of specific types of code that have been exercised?
[K1]

Security testing tools


Coverage measurement tools
Test Harness/Unit Test Framework Tools
Test comparators

34. Which of following is Not risks of using tools? [K1]

Greater consistency and repeatability


Unrealistic expectations for the tool
Neglecting version control of test assets within the tool.
Underestimating the time, cost and effort needs to achieve significant and continuing benefits
form the tool

35. The most visible part of testing is test execution. But to be effective and efficient, test plans should
also include time to be spent on planning on planning the tests, designing test cases, preparing for
execution and evaluation results. Which of the following is a major task of test planning?

Preparing test specifications


Evaluating exit criteria and reporting
Determine the test approach
Measuring and analyzing results

36. Unlike dymamic testing, which requires the execution of software, static testing techniques rely on the
manual execution (reviews) and atomated analysis (static analysis) of the code or other project
documentation without the execution of the code. Which of the following is a benefit of using static
techniques?

Productivity improvements in the development process


Fewer performance defects
More effectiveness regression testing
Quick return on investment in static analysis tools

file:///C:/Users/Lane Than/Desktop/exam3.html 6/6

You might also like