McqMate
Chapters
1. |
Which of the following is not White box testing? |
A. | structural testing |
B. | code-based testing |
C. | glass box testing. |
D. | closed box testing |
Answer» D. closed box testing |
2. |
Sandwich/hybrid strategy is--- |
A. | top down |
B. | bottom up |
C. | combination of top down & bottom up |
D. | none of the above |
Answer» C. combination of top down & bottom up |
3. |
System Testing is ---- |
A. | black box testing |
B. | white box testing |
C. | smoke testing |
D. | both a) and b) |
Answer» A. black box testing |
4. |
Which is required skill of a Tester? |
A. | good programmer |
B. | reliable |
C. | attention to details |
D. | being diplomatic |
Answer» A. good programmer |
5. |
What is the main goal of software testing? |
A. | testing |
B. | bug prevention |
C. | study |
D. | execution |
Answer» B. bug prevention |
6. |
Which of the following is not a level in testing? |
A. | system testing |
B. | black box testing. |
C. | integration testing |
D. | functional testing |
Answer» D. functional testing |
7. |
Following is not a Software Test Life Cycle Phase. |
A. | requirements gathering |
B. | test planning |
C. | test closure |
D. | test design |
Answer» A. requirements gathering |
8. |
Following is not a technique of black box. |
A. | equivalence portioning |
B. | boundary value analysis |
C. | cause effect graphing |
D. | statement coverage |
Answer» D. statement coverage |
9. |
Smoke Testing is ……..approach |
A. | integration testing |
B. | unit testing |
C. | stress testing |
D. | none of the above. |
Answer» A. integration testing |
10. |
In which level testing is performed |
A. | unit,acceptance,integration,system |
B. | unit,integration,system, acceptance |
C. | unit,system,integration,acceptance |
D. | it is on the nature of software project. |
Answer» D. it is on the nature of software project. |
11. |
It is one principal of testing is that Exhausting Testing is….. |
A. | impractical but possible |
B. | possible |
C. | impractical and impossible |
D. | impossible |
Answer» C. impractical and impossible |
12. |
Which of the following is not a type of incremental testing approach? |
A. | unit testing |
B. | top down |
C. | bottom up |
D. | big bang |
Answer» D. big bang |
13. |
Beta Testing is done at: |
A. | developer site |
B. | user end |
C. | both developers site & users end |
D. | none of the above |
Answer» B. user end |
14. |
Unit testing is carried out by: |
A. | system user |
B. | client |
C. | customers |
D. | developers |
Answer» D. developers |
15. |
The formula of cyclometric complexity |
A. | n-e+2 |
B. | e-n-2 |
C. | n-2-e |
D. | n-e+3 |
Answer» A. n-e+2 |
16. |
In software testing Verification is ….. |
A. | are we building the product right? |
B. | to checks what we are developing is the right product. |
C. | are we building the right product? |
D. | none of the above. |
Answer» A. are we building the product right? |
17. |
……………testing checks performance of system |
A. | white box testing |
B. | black box testing |
C. | performance testing |
D. | smoke testing |
Answer» C. performance testing |
18. |
LoadRunner create load by running …… |
A. | load creator |
B. | virtual users |
C. | load user |
D. | none of the above |
Answer» B. virtual users |
19. |
In static testing--------- |
A. | code is not executed |
B. | code executed twice |
C. | code executed repeatedly |
D. | none of the above. |
Answer» A. code is not executed |
20. |
Cyclomatic complexity is carried out in…. |
A. | black box testing |
B. | load testing |
C. | white box testing |
D. | green box testing |
Answer» C. white box testing |
21. |
Boundary value analysis is the technique comes under…… |
A. | white box testing |
B. | black box testing |
C. | gray box testing |
D. | none of the above. |
Answer» B. black box testing |
22. |
The word ‘Error’ is synonymous with which of the following words? |
A. | Incident |
B. | Defect |
C. | Mistake |
D. | Bug |
Answer» C. Mistake |
23. |
Which of the statements below is the best assessment of how the test principles apply across the test life cycle? |
A. | Test principles only affect the preparation for testing. |
B. | Test principles only affect test execution activities. |
C. | Test principles only affect the early test activities such as review. |
D. | Test principles affect activities throughout the test life cycle. |
Answer» D. Test principles affect activities throughout the test life cycle. |
24. |
Software Testing is the process of |
A. | Demonstrating that errors are not present. |
B. | Executing the program with the intent of finding errors. |
C. | Executing the program to show that it executes as per SRS. |
D. | All of the above. |
Answer» B. Executing the program with the intent of finding errors. |
25. |
Programmers make mistakes during coding. These mistakes are known as |
A. | Failures |
B. | Defects |
C. | Bugs |
D. | Errors |
Answer» C. Bugs |
26. |
Software Testing is nothing else but |
A. | Verification only |
B. | Validation only |
C. | Both verification & validation |
D. | None of the above. |
Answer» C. Both verification & validation |
27. |
Test suite is |
A. | Set of test cases |
B. | Set of inputs |
C. | Set of outputs |
D. | None of the above |
Answer» A. Set of test cases |
28. |
Which one is not the verification activity? |
A. | Reviews |
B. | Path Testing |
C. | Walk throughs |
D. | Acceptance Testing |
Answer» D. Acceptance Testing |
29. |
A break in the working of a system is called |
A. | Defect |
B. | Failure |
C. | Fault |
D. | Error |
Answer» B. Failure |
30. |
One fault may lead to |
A. | One failure |
B. | No failure |
C. | Many failures |
D. | All of the above |
Answer» D. All of the above |
31. |
The best reason for using Independent software test teams is that |
A. | Software developers do not need to do any testing |
B. | A test team will test the software more thoroughly |
C. | Testers do not get involved with the project until testing begins |
D. | Arguments between developers and testers are reduced |
Answer» B. A test team will test the software more thoroughly |
32. |
The goal of software testing is to |
A. | Debug the system |
B. | Validate that the system behaves as expected |
C. | Let the developer know the defects injected by him |
D. | Execute the program with the intent of finding errors |
Answer» D. Execute the program with the intent of finding errors |
33. |
Defects are least costly to correct at what stage of the development cycle? |
A. | Requirements |
B. | Analysis & Design |
C. | Construction |
D. | Implementation |
Answer» A. Requirements |
34. |
_________must be developed to describe when and how testing will occur. |
A. | Test Strategy |
B. | Test Plan |
C. | Test Design |
D. | High Level document |
Answer» A. Test Strategy |
35. |
Testing Process comprised of |
A. | Test Plan and Test Cases |
B. | Test log and Test Status |
C. | Defect Tracking |
D. | All of the above |
Answer» D. All of the above |
36. |
As a tester, what is your main objective in reviewing a requirement document? |
A. | To ascertain that each requirement is traceable to a business need |
B. | To ascertain that each requirement is both testable and uniquely identifiable |
C. | To ascertain that each requirement is traceable to a business need, testable, and uniquely identifiable |
D. | To ascertain that each requirement is uniquely identifiable |
Answer» C. To ascertain that each requirement is traceable to a business need, testable, and uniquely identifiable |
37. |
We split testing into distinct stages primarily because: |
A. | Each test stage has a different purpose. |
B. | It is easier to manage testing in stages. |
C. | We can run different tests in different environments. |
D. | The more stages we have, the better the testing. |
Answer» A. Each test stage has a different purpose. |
38. |
Which of the following characterizes the cost of faults? |
A. | They are cheapest to find in the early development phases and the most expensive to fix in the latest test phases. |
B. | They are easiest to find during system testing but the most expensive to fix then. |
C. | Faults are cheapest to find in the early development phases but the most expensive to fix then. |
D. | Although faults are most expensive to find during early development phases, they are cheapest to fix then. |
Answer» A. They are cheapest to find in the early development phases and the most expensive to fix in the latest test phases. |
39. |
A failure is: |
A. | Found in the software; the result of an error. |
B. | Departure from specified behavior. |
C. | An incorrect step, process or data definition in a computer program. |
D. | A human action that produces an incorrect result. |
Answer» B. Departure from specified behavior. |
40. |
Enough testing has been performed when |
A. | Time runs out. |
B. | The required level of confidence has been achieved. |
C. | No more faults are fou |
Answer» B. The required level of confidence has been achieved. |
41. |
Test design mainly emphasizes all the following except |
A. | Data planning |
B. | Test procedures planning |
C. | Mapping the data and test cases |
D. | Data synchronization |
Answer» D. Data synchronization |
42. |
Which one of the following describes the major benefit of verification early in the life cycle? |
A. | It allows the identification of changes in user requirements. |
B. | It facilitates timely set up of the test environment. |
C. | It reduces defect multiplication. |
D. | It allows testers to become involved early in the project. |
Answer» C. It reduces defect multiplication. |
43. |
Which of the following is NOT a reasonable testing objective? |
A. | To find faults in the software |
B. | To prove that the software has no faults |
C. | To give confidence in the software |
D. | To find performance problems |
Answer» B. To prove that the software has no faults |
44. |
In Life cycle approach to testing, test execution occurs _______ |
A. | During testing phase |
B. | During requirement phase |
C. | During coding phase |
D. | None of the above. |
Answer» D. None of the above. |
45. |
A deviation from the specified or expected behavior that is visible to end-users is called: |
A. | An error |
B. | A fault |
C. | A failure |
D. | A defect |
Answer» C. A failure |
46. |
What is the important criterion in deciding what testing technique to use? |
A. | How well you know a particular technique |
B. | The objective of the test |
C. | How appropriate the technique is for testing the application |
D. | Whether there is a tool to support the technique |
Answer» B. The objective of the test |
47. |
Which of the following are characteristics of testable software? |
A. | Observability |
B. | Simplicity |
C. | Stability |
D. | All of the above |
Answer» D. All of the above |
48. |
The Planning phase of a formal review includes the following: |
A. | Explaining the objectives |
B. | Selecting the personnel, allocating roles. |
C. | Follow up |
D. | Individual Meeting preparations |
Answer» B. Selecting the personnel, allocating roles. |
49. |
A Person who documents all the issues, problems and open points that were identified during a formal review. |
A. | Moderator. |
B. | Scribe |
C. | Author |
D. | Manager |
Answer» B. Scribe |
50. |
Who are the persons involved in a Formal Review?
|
A. | i,ii,iii,iv are true |
B. | i,ii,iii are true and iv is false. |
C. | ii,iii,iv are true and i is false. |
D. | i,iv are true and ii, iii are false. |
Answer» C. ii,iii,iv are true and i is false. |
51. |
Which of the following is a Key Characteristics of Walk Through? |
A. | Scenario, Dry Run, Peer Group |
B. | Pre Meeting Preparations |
C. | Formal Follow Up Process |
D. | Includes Metrics |
Answer» A. Scenario, Dry Run, Peer Group |
52. |
Which of the following term describes testing? |
A. | Finding broken code |
B. | Evaluating deliverable to find errors |
C. | A stage of all projects |
D. | None of the mentioned |
Answer» B. Evaluating deliverable to find errors |
53. |
What type of fault remains in the system for some period and then disappears? |
A. | Permanent |
B. | Transient |
C. | Intermittent |
D. | Non-Permanent |
Answer» B. Transient |
54. |
Which of the following approaches are used to achieve reliable systems? |
A. | Fault prevention |
B. | Fault removal |
C. | Fault tolerance |
D. | All of the mentioned |
Answer» D. All of the mentioned |
55. |
A system maintaining its integrity while accepting a temporary halt in its operation is said to be in a state of |
A. | Full Fault Tolerance |
B. | Graceful Degradation |
C. | Fail Soft |
D. | Fail Safe |
Answer» D. Fail Safe |
56. |
Which of the following Error Detection checks is not a part of Application detection? |
A. | Hardware checks |
B. | Timing checks |
C. | Reversal checks |
D. | Coding checks |
Answer» A. Hardware checks |
57. |
Exception handling is a type of |
A. | Forward error recovery mechanism |
B. | Backward error recovery mechanism |
C. | Top recovery mechanism |
D. | Bottom recovery mechanism |
Answer» A. Forward error recovery mechanism |
58. |
All fault-tolerant techniques rely on |
A. | Integrity |
B. | Dependability |
C. | Redundancy |
D. | Inter-dependability |
Answer» C. Redundancy |
59. |
It is imperative for communicating processes to reach consistent recovery points to avoid the _________ effect, with backward error recovery mechanism. |
A. | Static |
B. | Dynamic |
C. | Domino |
D. | Whirlpool |
Answer» C. Domino |
60. |
What do you understand by V&V in software testing? |
A. | Verified Version |
B. | Version Validation |
C. | Verification and Validation |
D. | Version Verification |
Answer» C. Verification and Validation |
61. |
When does the testing process stops? |
A. | When resources (time and budget) are over |
B. | When some coverage is reached |
C. | When quality criterion is reached |
D. | Testing never ends. |
Answer» C. When quality criterion is reached |
62. |
Quality also can be looked at in terms of user satisfaction which includes |
A. | A compliant product |
B. | Good quality output |
C. | Delivery within budget and schedule |
D. | All of the mentioned |
Answer» D. All of the mentioned |
63. |
Inspections and testing are what kinds of Quality Costs |
A. | Prevention |
B. | Internal Failure |
C. | External Failure |
D. | Appraisal |
Answer» D. Appraisal |
64. |
According to ISO 9001, inspection and testing comes under which management responsibility? |
A. | Process control |
B. | Document control |
C. | Control of non-conforming products |
D. | Servicing |
Answer» A. Process control |
65. |
The degree to which the design specifications are followed during manufacturing is known as |
A. | Quality of design |
B. | Quality of conformance |
C. | Quality of testing |
D. | None of the mentioned |
Answer» B. Quality of conformance |
66. |
What kind of quality cost is incurred when an error is detected in a product prior to shipment? |
A. | Prevention |
B. | Internal Failure |
C. | External Failure |
D. | Appraisal |
Answer» B. Internal Failure |
67. |
Non-conformance to software requirements is known as |
A. | Software availability |
B. | Software reliability |
C. | Software failure |
D. | None of the mentioned |
Answer» C. Software failure |
68. |
Software project manager is engaged with software management activities. He is responsible for ______. |
A. | Project planning. |
B. | Monitoring the progress |
C. | Communication among stakeholders |
D. | All mentioned above |
Answer» D. All mentioned above |
69. |
Which quality deals with the maintaining the quality of the software product? |
A. | Quality assurance |
B. | Quality control |
C. | Quality Efficiency |
D. | None of the above |
Answer» B. Quality control |
70. |
The interviews, which are held between two persons across the table is ______. |
A. | Written |
B. | Non-structured |
C. | Group |
D. | One-to- one |
Answer» D. One-to- one |
71. |
Which of these primary objectives have to be achieved for the requirement model? |
A. | To describe what the customer requires |
B. | To establish a basis for the creation of a software design |
C. | To define a set of requirements that can be validated once the software |
D. | All mentioned above |
Answer» D. All mentioned above |
72. |
Which of the following is not a functional testing technique? |
A. | Boundary-Value Analysis |
B. | Decision Table |
C. | Regression Testing |
D. | None of the above |
Answer» C. Regression Testing |
73. |
Decision tables are useful in situations where |
A. | An action is taken under varying sets of conditions. |
B. | Number of combinations of actions is taken under varying sets of conditions. |
C. | No action is taken under varying sets of conditions. |
D. | None of the above. |
Answer» B. Number of combinations of actions is taken under varying sets of conditions. |
74. |
‘Causes’ and ‘Effects’ are related to |
A. | Input and Output |
B. | Output and Input |
C. | Destination and Source |
D. | Source and Destination |
Answer» A. Input and Output |
75. |
If ‘n’ represents the number of variables in a program then Boundary Value analysis yields how many test cases |
A. | 4n+2 |
B. | 4n+1 |
C. | n+2 |
D. | n+1 |
Answer» B. 4n+1 |
76. |
For a function of ‘n’ variables, the robustness testing will yield how many cases |
A. | 6n+1 |
B. | 6n+2 |
C. | 6n+4 |
D. | None of above |
Answer» A. 6n+1 |
77. |
In decision tables, which of the following is true? |
A. | Number of test cases is equal to number of rules (columns) |
B. | No. of test cases is not equal to number of rules (or column) |
C. | Both (a) and (b) |
D. | None of the above. |
Answer» A. Number of test cases is equal to number of rules (columns) |
78. |
Cyclomatic complexity is equal to |
A. | Number of independent paths |
B. | Number of paths |
C. | Number of edges |
D. | None of the above |
Answer» A. Number of independent paths |
79. |
Data flow testing is related to |
A. | DFD |
B. | ERD |
C. | Data Dictionary |
D. | None of the above |
Answer» D. None of the above |
80. |
In data flow testing, objective is to find |
A. | All dc-paths that are not du-paths |
B. | All du-paths |
C. | All du-paths that are not dc-paths |
D. | All dc-paths |
Answer» C. All du-paths that are not dc-paths |
81. |
Every node is represented by |
A. | One row and one column in graph matrix |
B. | Two rows and two columns in graph matrix |
C. | One row and two columns in graph matrix |
D. | None of the above. |
Answer» A. One row and one column in graph matrix |
82. |
The testing technique that requires devising test cases to demonstrate that each program function is operational is called |
A. | black-box testing |
B. | glass-box testing |
C. | grey-box testing |
D. | white-box testing |
Answer» A. black-box testing |
83. |
What types of errors are missed by black-box testing and can be uncovered by whitebox testing? |
A. | Behavioral errors |
B. | Logic errors |
C. | Performance errors |
D. | Typographical errors |
Answer» D. Typographical errors |
84. |
Black-box testing attempts to find errors in which of the following categories |
A. | Incorrect or missing functions |
B. | Interface errors |
C. | Performance errors |
D. | All of the above |
Answer» D. All of the above |
85. |
What is an equivalence partition (also known as an equivalence class)? |
A. | A set of test cases for testing classes of objects |
B. | An input or output range of values such that only one value in the range becomes a test case |
C. | An input or output range of values such that each value in the range becomes a test case |
D. | An input or output ranges of values such that every tenth value in the range becomes a test case. |
Answer» B. An input or output range of values such that only one value in the range becomes a test case |
86. |
Functional system testing is: |
A. | Testing that the system functions with other systems |
B. | Testing that the components that comprise the system function together |
C. | Testing the end to end functionality of the system as a whole |
D. | Testing the system performs functions within specified response times |
Answer» C. Testing the end to end functionality of the system as a whole |
87. |
One of the fields on a form contains a text box which accepts alpha numeric values. Identify the Valid Equivalence class |
A. | BOOK |
B. | Book |
C. | Boo01k |
D. | Book |
Answer» C. Boo01k |
88. |
Which of the following techniques is not a White box technique? |
A. | Statement Testing and coverage |
B. | Decision Testing and coverage |
C. | Condition Coverage |
D. | Boundary value analysis |
Answer» D. Boundary value analysis |
89. |
What is the relationship between equivalence partitioning and boundary value analysis techniques? |
A. | Structural testing |
B. | Opaque testing |
C. | Compatibility testing |
D. | All of the above |
Answer» B. Opaque testing |
90. |
White Box Techniques are also called as |
A. | Structural Testing |
B. | Design Based Testing |
C. | Error Guessing Technique |
D. | Experience Based Technique |
Answer» A. Structural Testing |
91. |
The cyclomatic complexity metric provides the designer with information regarding the number of |
A. | Cycles in the program |
B. | Errors in the program |
C. | Independent logic paths in the program |
D. | Statements in the program |
Answer» D. Statements in the program |
92. |
Condition testing is a control structure testing technique where the criteria used to design test cases is that they |
A. | Rely on basis path testing |
B. | Exercise the logical conditions in a program module |
C. | Select test paths based on the locations and uses of variables |
D. | Focus on testing the validity of loop constructs |
Answer» C. Select test paths based on the locations and uses of variables |
93. |
Data flow testing is a control structure testing technique where the criteria used to design test cases is that they |
A. | Rely on basis path testing |
B. | Exercise the logical conditions in a program module |
C. | Select test paths based on the locations and uses of variables |
D. | Focus on testing the validity of loop constructs |
Answer» B. Exercise the logical conditions in a program module |
94. |
Loop testing is a control structure testing technique where the criteria used to design test cases is that they |
A. | Rely basis path testing |
B. | Exercise the logical conditions in a program module |
C. | Select test paths based on the locations and uses of variables |
D. | Focus on testing the validity of loop constructs |
Answer» C. Select test paths based on the locations and uses of variables |
95. |
An independent path is |
A. | Any path through DD path graph that introduces at least one new set of process statement or new condition |
B. | Any path through DD path graph that introduces at most one new set of process statement or new condition |
C. | Any path through DD path graph that introduces one and only one new set of process statement or new condition |
D. | None of the above |
Answer» A. Any path through DD path graph that introduces at least one new set of process statement or new condition |
96. |
Cyclomatic complexity was developed by |
A. | B.W.Bohem |
B. | T.J.McCabe |
C. | B.W.Little wood |
D. | Victor Basili |
Answer» B. T.J.McCabe |
97. |
Cyclomatic complexity is denoted by |
A. | e-n+2P |
B. | Number of regions of graph |
C. | No of predicate nodes + 1 |
D. | All of the above |
Answer» D. All of the above |
98. |
The equation V(G)= No. of predicated nodes+1 is applicable only when node has |
A. | Two outgoing edges |
B. | Three outgoing edges |
C. | No outgoing edges |
D. | None of the above |
Answer» A. Two outgoing edges |
99. |
The size of the graph matrix is |
A. | Number of edges in the flow Graph |
B. | Number of nodes in the flow Graph |
C. | Number of paths in the flow Graph |
D. | Number of independent paths in the flow Graph |
Answer» B. Number of nodes in the flow Graph |
100. |
Data flow testing is related to |
A. | DFD |
B. | ER diagram |
C. | Data dictionaries |
D. | None of these |
Answer» D. None of these |
Done Reading?