[go: up one dir, main page]

0% found this document useful (0 votes)
24 views11 pages

Manual Testing Keys Ans

The document outlines various concepts and techniques related to software testing, including inspection methods, test case automation, testing definitions, and principles. It covers topics such as test coverage, risk management, and the importance of different testing types like system and acceptance testing. Additionally, it discusses the roles of testers and moderators, testing metrics, and the significance of static analysis and cyclomatic complexity.

Uploaded by

cediro9076
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views11 pages

Manual Testing Keys Ans

The document outlines various concepts and techniques related to software testing, including inspection methods, test case automation, testing definitions, and principles. It covers topics such as test coverage, risk management, and the importance of different testing types like system and acceptance testing. Additionally, it discusses the roles of testers and moderators, testing metrics, and the significance of static analysis and cyclomatic complexity.

Uploaded by

cediro9076
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

1) Inspection is led by Trained Moderator

2) We need to call a component in Component testing Either from Drivers or stubs

3) What is checklist-based testing. An experience-based test technique whereby the experienced


tester uses a high-level list of items to be noted, checked, or remembered, or a set of rules pr
criteria against which a product has to be verified.

4) Which of the below test cases are best candidates to be automated? Repetitive Testcases and
Regression suit

5) Which one of the following is the BEST definition of an incremental model? Defining
requirements, designing software and testing are done in a series with added pieces.

6) Who documents all the issues, problems and open points that were identified during the
meeting? Scribe

7) What is test condition? Something that can be tested

8) Which of the below is true about Coverage measurement? It is a partial measure if test
thoroughness.

9) Which of the following is/are the objectives of reviews? Find defects, gain understanding

10) The following statement refers to decision coverage.


“When the code contains only a single “if statement and no loops or CASE statements, any single
testcase we run will result in 50% decision coverage”.
Which of the following sentences is correct?
The sentence is true. Any single test case would case the outcome of the “if” statement to be
either true or false.

11) Which of the following is a static test? Code inspection

12) System testing is where product as a whole is tested against requirement specifications,
business processes and use cases.
13) A program with high cyclomatic complexity is almost likely to be: Difficult to test.

14) Given 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. 1 test for statement coverage, 2 for branch coverage.

15) Pesticide Paradox testing principle addresses: A. If the same tests are repeated over and over,
eventually the same set of tests will no longer find any new defects. B. Test cases need to be
regularly reviewed, revised and updated- consider data, order of execution, etc to exercise
different paths.

16) Fault Masking is Error condition hiding another error condition.

17) Consider the following. i. 100% statement coverage guarantees 100% branch coverage iii.
100% branch coverage guarantees 100% decision coverage iv. 100% decision coverage
guarantees 100% branch coverage.

18) 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? C. 10000,50000,99999

19) What is the difference between failure and defect? Failure is an anomaly, unexpected event.
Defect is a fault in code or doc.

20) Code coverage is used to measure which of the below? Test effectiveness.

21) White Box testing is conducted. At all levels of testing.


22) When should we stop testing? When the test completion criteria has been met.

23) Risk = Likelihood X impact.

24) In prioritizing what to test, the important objective is to Test high risk areas.

25) 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
2 Tests for statement coverage, 2 for branch coverage.

26) Below you find a list of descriptions of problems that can be observed during testing or
operation. Which is most likely a failure?
The product crashed when the user selected an option in a dialog box.

27) Below is pseudocode. Switch pc on Start Outlook IF outlook appears THEN Send an email Close
outlook. Which of the below is correct.
1 test for statement coverage, 2 for branch coverage.

28) What is McCabe’s Cyclomatic Complexity for below module IF X<>= Z THEN statement 2; END
3

29) Rahim doing the system integration testing for a module, during the testing of a module Rahim
finds a bug and report it to the developer. But developer rejects the same, saying that it is not a
bug. What Rahim should do?
Send the detailed information along with screenshot of the bug encountered and check the
reproducibility.

30) Choose the correct statement about testing within a life cycle model.1) For every development
activity we need not be a corresponding testing activity. 2) Each test level has a specific test
objective. 3) The analysis and design of tests for a given test level should begin during the
corresponding development activity. 4) Testers should not be involved in reviewing documents
as soon as drafts are available.
1,4
31) The testing team has started writing test cases based on the SRS. Which of the following
options is most appropriate for equivalence partitioning?
A testing technique appropriate to all levels of testing.

32) Choice of the technique should depend on the below. I) Level of risk of the project ii) Skill and
expertise of the testers iii) Documentation available iv) Size of the testing team.
I, ii, iii are true, iv is false

33) Which of the following is the correct order?


Unit testing, system testing, maintenance testing, acceptance testing.

34) Select all true statement from the following. A. Testing of systems and documentation can help
reduce the Risk of problems. B. Testing of systems and documentation can reduce Quality. C.
Testing may be required for Contractual, Legal or Industry-specific standards. D. Testing can
give Confidence in the quality of the software.
A, C, D

35) 1) Analytical – Critical functionality


2) Model based - Monkey testing using random information
3) Consultative - Coverage is driven primarily by the advice of technology
4)Regression averse - Reuse of existing test material

36) Which of the below is true about Cyclomatic complexity We need to execute the program to
find the Cyclomatic Complexity.

37) Risk management involves 1) Accessing what can go wrong 2) Determine what risks are
important to deal with 3) Implement actions to deal with those risks 1, 2, 3

38) What is typically the MOST important reason to use risk to drive testing efforts. Because
testing everything is not feasible.

39) Find the correct flow if phases of formal reviews. A typical formal review process consists of six
main steps. They are in sequence 1. Kick-off 2. Review meeting 3. Preparation 4. Planning 5.
Rework 6. Follow-up 4,1,3,2,5,6

40) Which of the following are typical exit criteria from testing? Reliability measures, test cost,
schedule and unresolved defects.
41) Below you find a list of descriptions of problems that can be observed during testing or
operation. Which is most likely a failure? The developer misinterpreted the computational
requirements for that algorithm.

42) Which of the following is NOT true of test coverage criteria?


a) Test coverage criteria can be measured in terms of items exercised by a test suite.
b) A measure of test coverage criteria is the percentage of user requirements covered.
c) A measure of test coverage criteria is the percentage of faults found.
d) Test coverage criteria are often used when specifying test completion criteria.
Ans: A measure of test coverage criteria is the percentage of faults found.

43) A flaw in a component or system that can cause the component or system to fail to perform its
required function.
Ans: Defect

44) Which of the following not a part of a test plan?


a) Features to be tested
b) Testing Environment
c) Budget and schedule
d) Incident Reports
Ans: Incident Reports

45) Select the correct statement about non- functional testing.


Ans: Talks about how the system works.

46) Which of the following qualifies for project risk?


Ans: 1) Logistic issues
2) Shortage of people, skill or training.

47) The application has been developed by a team as per the standard and now it is ready for
acceptance testing, once acceptance testing is approved then the team and client are readyto
send the product into production. What could be the main focus of acceptance testing?
Ans: Testing for a business perspective.
48) Rashmi is working in a critical Trading application testing project. To decide how much testing is
enough should take account of A. Level of Business Risk B. Project Constraints C. Level of Skill
set of testers.
Ans: A and B only.

49) Dynamic testing shows failures, which may be caused by defects.

50) Which of the below is not a correct test level?


Ans: Structural.

51) Which of the following is the highest degree of independence of testing organization?
Ans: Test designed by someone from another group (eg. Independent test team) or test
specialists (eg. Usability or performance).

52) The person who leads the review of the document or set of documents, including the running
the meeting, resolving disagreements and following-up after the meeting.
Ans: Moderator.

53) Which TWO of the following can affect and be part of the (initial) test planning?
Ans. 1) Budget limitation 2) Test Objectives.

54) Potential infinite loops can be detected using


Ans. Static Analysis.

55) Typical defects that are easier to find in reviews than in dynamic testing are
A. deviations from standards,
B. requirement defects,
C. design defects,
D. insufficient maintainability and incorrect interface specifications.
E. All the above.
Ans. All the above.
56) Which of the following should NOT be a trigger for maintenance testing?
a) Decision to test the maintainability of the software.
b) Decision to test the system after migration to a new operating platform.
c) Decision to test if archived data is possible to be retrieved.
d) Decision to test after “hot fixes”.
Ans: Decision to test the maintainability of the software.

57) Which of the following below are defect metrics?


Ans: 1) Failure rate 2) Results of re -testing the defects.

58) In a library any book is issued.


Ans: 20, 25, 35, 40

59) State Transition testing is basically a black box testing technique.

60) Bug or incident report is closed by Tester

61) Difference between testing and debugging

Ans: Testing shows failures that are caused by defects. Debugging finds, analyzes, and
removes the causes of failure in the software.

62) which one of the following examples describes a typical benefit of static analysis supported by
tools?
Ans: Static analysis may find defects prior to manual test execution.

63) Pick the best definition of quality


A. quality is job one
B. zero defects
C. work as designed
D. conformance to requirements
Ans: conformance to requirements
64) Unreachable code would best be found using
A) code inspections
B) a static analysis tool
C) code reviews
D) a test management tool
Ans: code reviews

65) A bank application determines the creditworthiness of customer


Ans: Decision table testing

66) Choose one correct:


Ans: Experience based testing is best used after other formal testing have been completed.

67) What is McCabe’s Cyclomatic Complexity for the below module


IF X <>= Z
THEN Statement 2;
END
a. 2
b. 3
c. 4
d. 5
Ans: 3

68) the new type of review which is led by the author of the document is
Ans: Walk through

69) Is where product as a whole is tested against requirements specifications, business processes
and use cases:
Ans: System Testing
70) You are a test manager and have joined a project recently. The project manager has set up a
meeting with you and the development manager to provide an update on the project status.
Ans: The team is doing integration testing.

71) Jack is testing an online movie portal. While testing the portal …….. fixing the bug. Which type
of testing should be performed by jack once the developer fixes the bug and releases build 2.0
for testing?
Ans: Sanity Testing.

72) A program validates numeric fields as follows: values less than 10 are rejected, values between
10 and 21 are accepted, values greater than or equal to 22 are rejected. Which of the following
input values cover all of the equivalence partitions?
a. 10,11,21
b. 3,20,21
c. 3,10,22
d. 10,21,22
Ans: 3,10,22

73) Error guessing is best used:


Ans: After more formal techniques have been applied

74) Which is not a testing principle?


A) Probe effect
B) Defect clustering
C) Pesticide paradox
D) Exhaustive testing is not possible.
Ans: Probe effect

75) We split testing into different stages because


Ans: Each testing stage will have a different objective.
76) Which of the below task is applicable for a test leader?
Ans: Gather and report test progress metrics.

77) Cyclomatic complexity is defined with the following equation:


Ans: L – N + 2P

78) Which of the following techniques is NOT a black box technique?


A) state transition testing
B) boundary value analysis
C) Linear code sequence and jump (LCS)
D) Error guessing
Ans: Linear code sequence and jump (LCS)

79) Functional Point Analysis (FP) is used to


Ans: to measure the size of the functionality of an information system.
To measure the effort during estimation

80) Software testing should start


Ans: As soon as possible in software development lifecycle.

You might also like