本文共 14114 字,大约阅读时间需要 47 分钟。
51. Explain how does a test coverage tool works?
The code coverage testing tool runs parallel while performing testing on the actual product. The code coverage tool monitors the executed statements of the source code. When the final testing is done we get a complete report of the pending statements and also get the coverage percentage.
52. Mention what is the difference between a "defect" and a "failure" in software testing?
In simple terms when a defect reaches the end customer it is called a failure while the defect is identified internally and resolved then it is referred as defect.
53. Explain how to test documents in a project that span across the software development lifecycle?
The project span across the software development lifecycle in following manner
54. Explain which test cases are written first black boxes or white boxes?
Black box test cases are written first as to write black box test cases; it requires project plan and requirement document all these documents are easily available at the beginning of the project. While writing white box test cases requires more architectural understanding and is not available at the start of the project.
55. Explain what is the difference between latent and masked defects?
56. Mention what is bottom up testing?
Bottom up testing is an approach to integration testing, where the lowest level components are tested first, then used to facilitate the testing of higher level components. The process is repeated until the component at the top of the hierarchy is tested.
57. Mention what are the different types of test coverage techniques?
Different types of test coverage techniques include
58. Mention what is the meaning of breadth testing?
Breadth testing is a test suite that exercises the full functionality of a product but does not test features in detail
59. Explain what is the meaning of Code Walk Through?
Code Walk Through is the informal analysis of the program source code to find defects and verify coding techniques
60. Mention what are the basic components of defect report format?
The basic components of defect report format includes
61. Mention what is the purpose behind doing end-to-end testing?
End-to end testing is done after functional testing. The purpose behind doing end-to-end testing is that
62. Explain what it means by test harness?
A test harness is configuring a set of tools and test data to test an application in various conditions, it involves monitoring the output with expected output for correctness.
63. Explain in a testing project what testing activities would you automate?
In a testing project testing activities you would automate are
64. What is the MAIN benefit of designing tests early in the life cycle?
It helps prevent defects from being introduced into the code.65. What is risk-based testing?
Risk-basedTesting is the term used for an approach to creating aTest Strategy that is based on prioritizing tests by risk. The basis of the approach is a detailed risk analysis and prioritizing of risks by risk level. Tests to address each risk are then specified, starting with the highest risk first.
66. What is the KEY difference between preventative and reactive approaches to testing?
Preventative tests are designed early; reactive tests are designed after the software has been produced.
67. What is the purpose of exit criteria?
The purpose of exit criteria is to define when a test level is completed.
68. What determines the level of risk?
The likelihood of an adverse event and the impact of the event determine the level of risk.
69. When is used Decision table testing?
Decision table testing is used for testing systems for which the specification takes the form of rules or cause-effect combinations. In a decision table the inputs are listed in a column, with the outputs in the same column but below the inputs. The remainder of the table explores combinations of inputs to define the outputs produced.
70. Why we use decision tables?
The techniques of equivalence partitioning and boundary value analysis are often applied to specific situations or inputs. However, if different combinations of inputs result in different actions being taken, this can be more difficult to show using equivalence partitioning and boundary value analysis, which tend to be more focused on the user interface. The other two specification-based techniques, decision tables and state transition testing are more focused on business logic or business rules. A decision table is a good way to deal with combinations of things (e.g. inputs). This technique is sometimes also referred to as a 'cause-effect' table. The reason for this is that there is an associated logic diagramming technique called 'cause-effect graphing' which was sometimes used to help derive the decision table
71. What is the MAIN objective when reviewing a software deliverable?
To identify defects in any software work product.
72. Which of the following defines the expected results of a test? Test case specification or test design specification.
Test case specification defines the expected results of a test.
73. What is the benefit of test independence?
It avoids author bias in defining effective tests.
74. As part of which test process do you determine the exit criteria?
The exit criteria is determined on the bases of 'Test Planning'.
75. What is Alpha testing?
Pre-release testing by end user representatives at the developer's site.
76. What is beta testing?
Testing performed by potential customers at their own locations.
77. Mention what is the difference between Pilot and Beta testing?
The difference between pilot and beta testing is that pilot testing is actually done using the product by the group of user before the final deployment and in beta testing we do not input real data, but it is installed at the end customer to validate if the product can be used in production.
78. Given the following fragment of code, how many tests are required for 100% decision coverage?
if width > length thenbiggest_dimension = width if height > width thenbiggest_dimension = height end_ifelsebiggest_dimension = length if height > length thenbiggest_dimension = height end_ifend_if
4
79. You have designed test cases to provide 100% statement and 100% decision coverage for the following fragment of code. if width > length then biggest_dimension = width else biggest_dimension = length end_if The following has been added to the bottom of the code fragment above. print "Biggest dimension is " &biggest_dimensionprint "Width: " & width print "Length: " & length How many more test cases are required?
None, existing test cases can be used.
80. What is the difference between Testing Techniques and Testing Tools?
Testing technique: – Is a process for ensuring that some aspects of the application system or unit functions properly there may be few techniques but many tools.
Testing Tools: – Is a vehicle for performing a test process. The tool is a resource to the tester, but itself is insufficient to conduct testing
81. We use the output of the requirement analysis, the requirement specification as the input for writing …
User Acceptance Test Cases
82. Repeated Testing of an already tested program, after modification, to discover any defects introduced or uncovered as a result of the changes in the software being tested or in another related or unrelated software component:
Regression Testing
83. A wholesaler sells printer cartridges. The minimum order quantity is 5. There is a 20% discount for orders of 100 or more printer cartridges. You have been asked to prepare test cases using various values for the number of printer cartridges ordered. Which of the following groups contain three test inputs that would be generated using Boundary Value Analysis?
4, 5, 99
84. What is component testing?
Component testing, also known as unit, module and program testing, searches for defects in, and verifies the functioning of software (e.g. modules, programs, objects, classes, etc.) that are separately testable. Component testing may be done in isolation from the rest of the system depending on the context of the development life cycle and the system. Most often stubs and drivers are used to replace the missing software and simulate the interface between the software components in a simple manner. A stub is called from the software component to be tested; a driver calls a component to be tested.
85. What is functional system testing?
Testing the end to end functionality of the system as a whole is defined as a functional system testing.
86. What are the benefits of Independent Testing?
Independent testers are unbiased and identify different defects at the same time.
87. In a REACTIVE approach to testing when would you expect the bulk of the test design work to be begun?
The bulk of the test design work begun after the software or system has been produced.
88. What are the different Methodologies in Agile Development Model?
There are currently seven different agile methodologies that I am aware of:
89. Which activity in the fundamental test process includes evaluation of the testability of the requirements and system?
A 'Test Analysis' and 'Design' includes evaluation of the testability of the requirements and system.
90. What is typically the MOST important reason to use risk to drive testing efforts?
Because testing everything is not feasible.
91. What is random/monkey testing? When it is used?
Random testing often known as monkey testing. In such type of testing data is generated randomly often using a tool or automated mechanism. With this randomly generated input the system is tested and results are analysed accordingly. These testing are less reliable; hence it is normally used by the beginners and to see whether the system will hold up under adverse effects.
92. Which of the following are valid objectives for incident reports?
93. Consider the following techniques. Which are static and which are dynamic techniques?
Data Flow Analysis and Inspections are static; Equivalence Partitioning, Use Case Testing, Exploratory Testing and Decision Testing are dynamic.
94. Why are static testing and dynamic testing described as complementary?
Because they share the aim of identifying defects but differ in the types of defect they find.
95. What are the phases of a formal review?
In contrast to informal reviews, formal reviews follow a formal process. A typical formal review process consists of six main steps:
96. What is the role of moderator in review process?
The moderator (or review leader) leads the review process. He or she determines, in co-operation with the author, the type of review, approach and the composition of the review team. The moderator performs the entry check and the follow-up on the rework, in order to control the quality of the input and output of the review process. The moderator also schedules the meeting, disseminates documents before the meeting, coaches other team members, paces the meeting, leads possible discussions and stores the data that is collected.
97. What is an equivalence partition (also known as an equivalence class)?
An input or output ranges of values such that only one value in the range becomes a test case.
98. When should configuration management procedures be implemented?
During test planning.
99. A Type of functional Testing, which investigates the functions relating to detection of threats, such as virus from malicious outsiders?
Security Testing
100. Testing where in we subject the target of the test , to varying workloads to measure and evaluate the performance behaviours and ability of the target and of the test to continue to function properly under these different workloads?
Load Testing
转载地址:http://qftdi.baihongyu.com/