Ôn Testing
Ôn Testing
Ôn Testing
Q.8: Which of the following would you NOT usually find ona
softwareincident report?
A.The name and / or organisational position of theperson raising
the problem.
B. Version of the Software Under Test.
C. Suggestions as to how to fix the problem.
D. Actual and expected results.
Q.10: Some tools are geared more for developer use. For the 5
tools listed, which statement BEST details those for developers
i) Performance testing tools.
ii) Coverage measurement tools.
iii) Test comparators.
iv) Dynamic analysis tools.
v) Incident management tools.
A. i, iii. and iv. are more for developers.
B. ii. and iv. are more for developers.
C. ii, iii and iv. are more for developers.
D. ii. and iii. are more for developers.
Q. 16: Given the following fragment of code, how many tests are
required for 100% decision coverage?
Độ bao phủ quyết định:
TC1: Width > length và height > width -> True dòng 1 và 3
TC2: Width <= lenght và height > length -> False dòng 1 và True
dòng 8
TC3: height<=width -> False dòng 3
TC3: height <= length -> False dòng 8
A. 3
B. 4
C. 2
D. 1
Q. 26: What is the MAIN benefit of designing tests early in the life
cycle?
A. It is cheaper than designing tests during the test phases.
B. It helps prevent defects from being introduced into the
code.
C. Tests designed early are more effective than tests designed
later.
D. It saves time during the testing phases when testers are busy.
Q. 146: 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. 164: What test can be conducted for off - the - shelf software to
get market feedback?
A. Beta testing
B. Usability testing
C. Alpha testing
D. COTS testing
Q. 168: _______ includes both Black box and White Box Testing
features
A. Gray Box Testing
B. Hybrid Testing
C. A. & B.
D. None
Q. 189: 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:
A. 2 Test Cases
B. 3 Test Cases
C. 4 Test Cases
D. Not achievable
Q. 199: During which test activity could faults be found most cost
effectively?
A. Execution
B. Design
C. Planning
D. Check Exit criteria completion
Q. 201: 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. 258: The place to start if you want a (new) test tool is:
A. Attend a tool exhibition
B. Invite a vendor to give a demo
C. Analyse your needs and requirements
D. Find out what your budget would be for the tool
E. Search the internet
Q. 259: Error guessing is best used
A. As the first approach to deriving test cases
B. After more formal techniques have been applied
C. By inexperienced testers
D. After the system has gone live
E. Only by end users
A. Statement coverage is 4
B. Statement coverage is 1
C. Statement coverage is 3
D. Statement Coverage is 2
Q. 367: Why does the boundary value analysis provide good test
cases?
A. Because it is an industry standard
B. Because errors are frequently made during
programming of the different cases near the edges of the
range of values
C. Because only equivalence classes that are equal from a
functional point of view are considered in the test cases
D. Because the test object is tested under maximal load up to its
performance limits
Q. 374: In foundation level syllabus you will find the main basic
principles of testing. Which of the following sentences describes
one of these basic principles?
A. Complete testing of software is attainable if you have enough
resources and test tools
B. With automated testing you can make statements with more
confidence about the quality of a product than with manual
testing
C. For a software system, it is not possible, under normal
conditions, to test all input and output combinations.
D. A goal of testing is to show that the software is defect free.
Q. 386: What is the purpose of test exit criteria in the test plan?
A. To specify when to stop the testing activity
B. To set the criteria used in generating test inputs
C. To ensure that the test case specification is complete
D. To know when a specific test has finished its execution
Q. 388: Using the diagram below, which test suite will uncover
invalid state transitions for employee status reporting software?
A. Prospective - Active - Resigned -
Active - Terminated - Purged
B. Prospective - Active - On
Leave - Active - Resigned -
Retired
C. Prospective - Active - Retired -
Active - On Leave - Purged
D. Prospective - Active - On Leave - Active - Retired – Active
Q. 400: Using the diagram below, which test suite will check for
ALL valid state transitions using the LEAST effort?
A. SO-S1-S2-S4-S1-S4-S1-
S2-S3-S1
B. SO-S1-S2-S4-S1-S2-S3-S1
C. SO-S1-S4-S1-S2-S3-S1
D. SO-S1-S2-S4-S1-S4-S1-S2-
S3
Q. 411:
A. Decision coverage
B. Condition coverage
C. Statement coverage
D. Path Coverage
Q. 412: _________ reviews are often held with just the programmer
who wrote the code and one or two other programmers or testers.
A. Formal Reviews
B. Peer Reviews
C. Semi Formal Reviews
D. All of the above
Q. 413: In ________ testing test cases i.e input to the software are
created based on the specifications languages
A. State Transition Testing
B. Random Testing
C. Syntax Testing
D. Penetration testing
Q. 421: QC is
A. Phase building activity
B. Intermediate activity
C. End of Phase activity
D. Design activity
Q. 449: Which test is usually run many times and generally evolve
slowly?
A. Performance testing
B. Stress testing
C. Reliability testing
D. Regression testing
Q. 460: How are integration testing and use case testing similar
and dissimilar?
A. Both checks for interactions: integration for
components, use case for actions
B. Both are black-box techniques: integration is low-level, use
case is high-level
C. Both are static testing: developers perform integration, users
execute use case tests
C. Both are V&V techniques: integration is for validation, use case
is for verification
Q. 542: You are the test manager and you are about the start the
system testing. The developer team says that due to change in
requirements they will be able to deliver the system to you for
testing 5 working days after the due date. You can not change the
resources( work hours, test tools, etc.) What steps you will take to
be able to finish the testing in time.
A. Tell to the development team to deliver the system in time so
that testing activity will be finish in time.
B. Extend the testing plan, so that you can accommodate the slip
going to occur
C. Rank the functionality as per risk and concentrate more
on critical functionality testing
D. Add more resources so that the slippage should be avoided
A. 5
B. 4
C. 2
D. 3
Q. 569: You are a tester for testing a large system. The system
data model is very large with many attributes and there are a lot
of inter dependencies with in the fields. What steps would you use
to test the system and also what are the efforts of the test you
have taken on the test plan
A. Improve super vision, More reviews of artifacts or
program means stage containment of the defects.
B. Extend the test plan so that you can test all the inter
dependencies
C. Divide the large system in to small modules and test the
functionality
D. Test the interdependencies first, after that check the system as
a whole
A. S0-S1-S2-S3-S1-S4
B. S0-S1-S4-S1-S2-S3
C. S0-S1-S3-S1-S2-S1
D. S0-S1-S2-S3-S1-S2
Q. 578: How are (a) static analysis tools and (b) performance
testing tools different?
A. (a) helps in enforcing coding standards; (b) tests
system performance
B. (a) analyzes security vulnerabilities; (b) measures the
effectiveness of test cases
C. (a) prepares codes prior to testing; (b) prepares codes prior to
stress testing
D. (a) highlights unreachable conditions; (b) improves system
performance