Exam 1

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

12/6/2019 exam1.

html

01. 1. According to ISTQB Syllabus, A human being can make (A), which produces (B) in the program
code, or in a document. Which of the following combination is correct?...

A- Fault, B- Mistake
A- Fault, B- Error
A- Defect, B- Bug
A- Error, B- Fault

02. Which of following is NOT correct regarding of Testing and Quality?..

Testing can give confidence in the quality of the software if it finds few or no defect.
A properly designed test that passes reduces the overall level of risk in a system.
Testing should not be integrated as one of the quality assurance activities for independent.
By understanding the root cause of defects found in other project, testing processes can be
improved.

03. 3. As a test leader you are collecting measures about defects. You recognize that after the first test
cycle – covering all requirements – subsystem C has a defect density that 150% higher than the average.
Subsystem A on the other hand has a defect density that is 60% lower than the average. What conclusions
for the next test cycle could you draw from this fact?..[K3]

According to the testing principle “defect clustering” it is probable that subsystem C has still
more hidden defects. Therefore we need to test subsystem C in more detail.
We focus testing on subsystem A, because we have found fewest defects in that module so far.
Because we have already found many defects in subsystem C we do not need to test it much
more.
Observed defect density does not allow any conclusions about the amount of additional testing.

04. 4. Which of following is suitable explanation about testing principle,…[K2] One tester has tested
software applications running on mobile phone for 5 years. He has great deal of information for testing the
applications and is able to test faster than anyone else. However, he has not put sufficient efforts for
deriving new test cases and modifying them to find new defects any longer, which led to finding less and
less defects. What is the basic test principle that he has ignored?

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

05. Below shows several levels of independence defined. Which of following has lowest independence?

Tests designed by the person who wrote the software under test.
Tests designed by another person
Tests designed by a person from a different organizational group or test specialists.
Tests designed by a person from a different organizational or company

06. Which of following activity is NOT related with Test implementation and execution the fundamental
test process?

Creating test suites from the test procedures for efficient execution
Verifying that the test environment has been set up correctly
Identifying necessary test data to support test condition and test cases.
file:///C:/Users/Lane Than/Desktop/exam1.html 1/8
12/6/2019 exam1.html

Finalizing, implementing and prioritizing test case including the identification test data.

07. Which of the following test aspects is important for “maintainability”?..[K1]

Response time [in milliseconds]


Memory use [in kilo- or megabyte]
Robustness
Modularity

08. Which of following describes the testing level that tests interfaces between components, interaction
with different parts of a system such as the operating system, file system and hardware, and interfaces
between systems? [K2]

System Testing
Acceptance Testing
Component Testing
Integration Testing

09. In any life cycle model, there are several characteristics of good testing. Which of following is NOT
related?

Testers should be involved in reviewing documents as soon as drafts are available in the
development cycle.
For every development activity, there is a corresponding testing activity
Each test level has test objectives specific to that level
The analysis and design of tests for a given test level should not begin during the corresponding
development activity.

10. Developers of market, of COTS software often want to get feedback from potential existing customers
in their market before the software product is put up for sale commercially. This testing is performed at the
developing organization’s site but not by developing team. What is this testing?...[K2]

User Acceptance Testing


Operational Testing
Alpha Testing
Beta testing

11. Which of following may NOT be included in Component testing?..[K1]

Quality characteristic testing


Operational testing
Structural testing
Testing of functionality

12. This testing is one type of non-functional testing which evaluates the capability of the software
product to interact with one or more specified components or system. Which of following is correct about
this testing? [K2]

Interoperability testing
Security Testing
Integration Testing
System Testing

file:///C:/Users/Lane Than/Desktop/exam1.html 2/8


12/6/2019 exam1.html

13. Which of following is NOT a typical “Planning” activity of formal review? [K1]

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

14. Which of the statements about reviews are correct?...[K3] A. It is not useful to in review of
specifications because it can bias them B. Reviews are useful because they help management to assign
responsibility of failure on individual developers. C. Reviews can help find bugs early resulting in savings
of cost. D. Requirement of additional time for reviews is likely to result in longer development cycle.

C is true; A, B and D are false


A & C are true; B & D are false
D is true; A, B and C are false
A & C are true; B & D are false

15. Which alternative of following contains ONLY defects which can be discovered by static analysis?
[K3]

Referencing a variable with an undefined value, unreachable (dead) code, security


vulnerabilities, race conditions.
Violations of coding standards, referencing a variable with an undefined value, unreachable
(dead) code, security vulnerabilities
Referencing a variable with an undefined value, deadlocks, unreachable (dead) code, security
vulnerabilities.
Referencing a variable with an un-defined value, unreachable (dead) code, inconsistent interface
between modules and components, race conditions.

16. 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]

(Test1, invalid1, fail), (Test1, invalid1, fail)


(Test0, valid0, success) (Test1, invalid1, fail), (Test1, valid1, success), (Test2, invalid2, fail),
(Test2, invalid2, fail), (Test2, valid2, success)
(Test0, valid0, success)
(Test1, invalid1, fail), (Test1, valid1, success)

17. Which of following is a common characteristics of specification – based test design techniques? [K1]
file:///C:/Users/Lane Than/Desktop/exam1.html 3/8
12/6/2019 exam1.html

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

18. Inspect the following piece of code: How many test cases are needed at least to cover decision
coverage testing? [K3]

2
3
4
5

19. In below specification, how many different valid combinations of inputs exist for computing the price?
[Specification] Vietnam Railway company runs a train from Ho Chi Minh City to Hanoi. This train has
four different kinds of accommodation with different ticket prices: Hard seat, soft seat, hard sleeper, and
soft sleeper. For hard sleeper, there is a different price 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. High-speed trains exist, but have only hard and soft seat, and they have another price than “
normal” trains.

12
14
18

file:///C:/Users/Lane Than/Desktop/exam1.html 4/8


12/6/2019 exam1.html

36

20. Which of following describes the testing techniques that is concurrent test design, test execution, test
logging and learning, based on a test charter containing test objectives, and carried out within time-boxes?
[K2]

Error Guessing
Exploratory testing
Decision Table Testing
State Transition Testing

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

Prepare and acquire test data


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
Adapt planning based test results and progress

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

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

23. Which of following is NOT a Test Planning Activity in Test Planning? [K1]

Estimating the tasks based on estimates made by the owner of the tasks or by experts
Integrating and coordination the testing activities into the software life cycle activities
Determining the scope and risks and identifying the objectives of testing
Determining the scope and risks and identifying the objectives of testing

24. 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]

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

25. Which of following is NOT a typical Entry Criteria? [K1]

Test Tool readiness in test environment


Test environment availability and readiness
Estimates of defect density or reliability measures
Testable code availability

26. Which of following is NOT a Test control actions in Test Progress monitoring and control? [K1]

Re-prioritizing test when an identified risk occurs.


Making decisions based on information from test monitoring

file:///C:/Users/Lane Than/Desktop/exam1.html 5/8


12/6/2019 exam1.html

Setting an exit criterion requiring fixes to have been re-tested.


Change the test schedule due to availability or unavailability of test environment.

27. Which of following is a Product Risk?

Problem in defining the right requirements


Low quality of the design, code, … data, test data and tests
Test Environment not ready on time
Failure-prone software delivered

28. Which of following is not a Product Risk?

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

29. 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]

Incident
Defect
Risk
Failure

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

Provide ideas for test process improvement


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

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

Test Management Tools


Requirements Management Tools
Incident Management Tools
Configuration Management Tools

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

Test Harness/Unit Test Framework Tools


Test Comparators
Security Testing Tools
Coverage Measurement Tools

33. [Specification] Vietnam Railway company runs a train from Ho Chi Minh City to Hanoi. This train has
four different kinds of accommodation with different ticket prices: Hard seat, soft seat, hard sleeper, and
file:///C:/Users/Lane Than/Desktop/exam1.html 6/8
12/6/2019 exam1.html

soft sleeper. For hard sleeper, there is a different price 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. High-speed trains exist, but have only hard and soft seat, and they have another price than “
normal” trains. Which of the following testing technique is most likely to be selected to minimize testing
effort within limited time frame?

Equivalence Partitioning techniques


Pair Wise technique and Orthogonal Array techniques
State transition techniques
Condition- Decision coverage techniques

34. A simple gaming system has been specified as a set of use cases. It has been tested by the supplier and
is now ready for user acceptance testing. The system is assessed as low risk and there is pressure to release
the software into the market as soon as possible. Which of the following test techniques would be most
appropriate for this testing?

State transition testing and decision testing


Equivalence partitioning and statement testing
Use case testing and exploratory testing
Decision table testing and exploratory testing

35. Given the following sample of pseudo code: Input ExamScore If ExamScore <= 75 then Print
“Candidate has failed” Else Print “Candidate has passed” If ExamScore >= 120 then Print “Candidate has
achieved a distinction” EndIf EndIf. What is the minimum number of test cases required to guarantee
100% decision coverage?

1
2
3
4

36. The fundamental process for a formal review comprises the following main phases:

Initiate review- Reviewer selection- Individual review- Issue communication and analysis -
Rework
Planning& Preparation- Overview meeting- Individual review- FIx- Report
Planning- Initiate review- individual review- Issue communication and analysis- Fix defect and
report
Preparation- Issue Detection- Issue communication and analysis- Rework- Report

37. Which of the following is a difference between the contents of a test case specification and a test
procedure specification?

The test procedure specification is used only for automated test execution
The two terms are synonyms and have exactly the same contents
The test case specification specifics the sequence of action for the execution of a test
The test procedure specification specifics the sequence of action for the execution of a test

38. You are working on a project on which nay slippage in the test execution completion date would result
in financial penalties for your employer. Achieving the planned delivery date is seen as the highest single
priority. Which benefit of static techniques is likely to convince management to use them?

file:///C:/Users/Lane Than/Desktop/exam1.html 7/8


12/6/2019 exam1.html

Productivity improvements
Improved communication within the team
Reduce post-release support costs
Reduce testing cost and time

39. You are testing System Response Time under load testing. What test type are you performing?

Structural
Acceptance
Functional
Non-functional

40. You are brought in as the sole tester at the end of a project. You are were selected because of your
understanding of the system and its intended behavior, user, customers, and other project stakeholders
consider the software low-risk. You are give one week to execute tests to see if any show-stopping defects
are present

Specification based
Experience based
Structure based
Static testing

file:///C:/Users/Lane Than/Desktop/exam1.html 8/8

You might also like