testing Online Quiz - 170
Description: testing Online Quiz - 170 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: testing |
For each object and method in an Expert View statement, a corresponding row exists in the Keyword View.
-
True
-
False
-
There is a problem with the statement.
-
None of above
You can work on one or several function libraries at the same time.
-
True
-
False
AI Explanation
To answer this question, you need to understand the concept of function libraries.
Option A) True - This option is correct. You can work on one or several function libraries at the same time. Function libraries are collections of pre-written functions that can be reused in multiple programs or projects. These libraries can be used simultaneously in different programs or projects to save time and effort.
Option B) False - This option is incorrect. It is possible to work on multiple function libraries simultaneously.
The correct answer is A) True.
You can insert additional steps on the test objects captured in the Active screen after the recording session.
-
True
-
False
The Active Screen enables you to parameterize object values and insert checkpoints
-
True
-
False
A QTP user can increase or decrease the active screen information saved with the test
-
True
-
False
In SDLC process, at what point can the test process start?
-
When the code is complete.
-
When the design is complete.
-
When the software requirements have been approved.
-
When the first code module is ready for unit testing
AI Explanation
To answer this question, we need to understand the Software Development Life Cycle (SDLC) process and when the test process can start.
The SDLC process consists of several phases, including requirements gathering, design, development, testing, and maintenance. Each phase has its own set of activities and deliverables.
The correct answer is C) When the software requirements have been approved.
Explanation for each option:
A) When the code is complete - This option is incorrect because testing should not be delayed until the entire code is complete. Testing should start as early as possible in the SDLC process to identify and fix issues at an early stage.
B) When the design is complete - This option is incorrect because testing should not wait until the design is complete. Testing should begin before the design phase to ensure that the requirements are testable and to identify any potential issues or inconsistencies.
C) When the software requirements have been approved - This option is correct. Testing should start once the software requirements have been approved. This allows the test team to verify that the requirements have been properly implemented and to identify any gaps or discrepancies.
D) When the first code module is ready for unit testing - This option is incorrect because testing should not wait until the first code module is ready for unit testing. Testing should start earlier in the SDLC process to identify and fix issues before they propagate to subsequent phases.
In conclusion, the correct answer is C) When the software requirements have been approved. This ensures that testing can begin early in the SDLC process and helps to identify any issues or gaps in the software requirements.
In a review meeting a moderator is a person who:
-
Takes minutes of the meeting
-
Mediates between people
-
Takes telephone calls
-
Writes the documents to be reviewed
In a review meeting, a moderator is a person who:
B. Mediates between people.
The role of a moderator in a review meeting is to facilitate and guide the discussion, ensuring that all participants have an opportunity to express their views and that the meeting stays on track. The moderator helps manage any conflicts or disagreements that may arise and ensures that everyone's opinions are heard and considered. Their main responsibility is to create a productive and inclusive environment for the review process.
Options A, C, and D are incorrect:
A. Takes minutes of the meeting: While taking minutes is an important task in many meetings, it is not the primary role of a moderator in a review meeting.
C. Takes telephone calls: This task is unrelated to the role of a moderator in a review meeting. A moderator's focus is on facilitating the discussion and ensuring the meeting's objectives are met.
D. Writes the documents to be reviewed: The responsibility of writing the documents to be reviewed typically falls on the individuals or teams responsible for creating those documents, not the moderator. The moderator's role is to guide the review process, not create the content being reviewed.
Therefore, the correct answer is B. Mediates between people.
In a review meeting a moderator is a person who:
-
Takes minutes of the meeting
-
Mediates between people
-
Takes telephone calls
-
Writes the documents to be reviewed
Acceptance test cases are based on ________
-
Requirements
-
Design
-
Code
-
Decision table
How much testing is enough?
-
Impossible to answer
-
Easy to answer
-
Depends on the risk, contract and requirements
-
Depends on the maturity of your developers
Statement Coverage will not check ________
-
Missing Statements
-
Unused Branches
-
Dead Code
-
Unused Statement
Code Coverage is used as a measure ________
-
Defects
-
Trends analysis
-
Test Effectiveness
-
Time Spent Testing
Impact Analysis helps to decide
-
How much regression testing should be done
-
Exit Criteria
-
How many more test cases need to written
-
Different Tools to perform Regression Testing
AI Explanation
To answer this question, you need to understand the concept of impact analysis. Impact analysis is the process of identifying the potential effects or consequences of a change in a system. It helps in determining the areas or components that may be affected by the change and allows for better decision making.
Let's go through each option to understand why it is correct or incorrect:
Option A) How much regression testing should be done - This option is correct because impact analysis helps in assessing the impact of a change on the system and its components. It helps in determining which parts of the system need regression testing to ensure that the changes have not introduced any unintended side effects.
Option B) Exit Criteria - This option is incorrect. Exit criteria are predefined conditions or requirements that must be met before a testing phase can be considered complete. While impact analysis may inform the exit criteria, it is not directly related to deciding exit criteria.
Option C) How many more test cases need to be written - This option is incorrect. Impact analysis helps in identifying the areas affected by a change, but it does not directly determine the number of test cases that need to be written. Test case creation is based on the requirements and functionality of the system, not just the impact of a change.
Option D) Different Tools to perform Regression Testing - This option is incorrect. Impact analysis focuses on assessing the impact of changes on the system, not on the tools used for regression testing.
The correct answer is A) How much regression testing should be done. This option is correct because impact analysis helps in determining the extent of regression testing needed to ensure that the changes have not introduced any unintended side effects.
Impact Analysis helps to decide
-
How much regression testing should be done
-
Exit Criteria
-
How many more test cases need to written
-
Different Tools to perform Regression Testing
Best definition for Testing :
-
The goal / purpose of testing is to demonstrate that the program works.
-
The purpose of testing is to demonstrate that the program is defect free
-
The purpose of testing is to demonstrate that the program does what it is supposed to do
-
Testing is executing Software for the purpose of finding defects
Best definition for Testing :
-
The goal / purpose of testing is to demonstrate that the program works.
-
The purpose of testing is to demonstrate that the program is defect free
-
The purpose of testing is to demonstrate that the program does what it is supposed to do
-
Testing is executing Software for the purpose of finding defects
AI Explanation
To answer this question, let's go through each option to understand why it is correct or incorrect:
Option A) The goal/purpose of testing is to demonstrate that the program works. This option is incorrect because testing is not solely focused on demonstrating that the program works. Testing is also performed to find defects or issues in the software.
Option B) The purpose of testing is to demonstrate that the program is defect-free. This option is incorrect because testing does not guarantee that the program is completely defect-free. Testing helps in finding defects, but it does not guarantee that no defects exist in the program.
Option C) The purpose of testing is to demonstrate that the program does what it is supposed to do. This option is incorrect because testing is not only about demonstrating that the program performs its intended functions. It is also about finding defects and ensuring the program behaves as expected.
Option D) Testing is executing software for the purpose of finding defects. This option is correct because testing involves executing the software with the intention of identifying defects or issues. Testing helps in uncovering problems, verifying functionality, and ensuring the software meets the desired quality standards.
The correct answer is D. This option is correct because testing is primarily focused on executing software to discover defects.
A deviation from the specified or expected behavior that is visible to end-users is called ______
-
an error
-
a fault
-
a failure
-
a defect
Choose the true statements from the following, i. 100% statement coverage guarantees 100% branch coverage. ii. 100% branch coverage guarantees 100% statement coverage. iii. 100% branch coverage guarantees 100% decision coverage. iv. 100% decision coverage guarantees 100% branch coverage. v. 100% statement coverage guarantees 100% decision coverage.
-
Only ii & iii are true
-
Only ii & iv are true
-
Only iii & iv are true
-
Only ii, iii & iv are True
Static analysis cannot find _____
-
the use of a variable before it has been defined
-
unreachable code
-
memory leaks
-
array bound violations
AI Explanation
To answer this question, you need to understand the concept of static analysis.
Static analysis is a method of analyzing code without actually executing it. It is used to find potential issues and errors in code by examining the code structure, syntax, and other static properties.
Let's go through each option to understand why static analysis can or cannot find it:
Option A) The use of a variable before it has been defined - Static analysis can indeed find this issue. It can analyze the code and identify any instances where a variable is being used before it is declared or assigned a value.
Option B) Unreachable code - Static analysis can find unreachable code. It can analyze the code and identify any sections of code that will never be executed due to conditional statements or other control flow structures.
Option C) Memory leaks - Static analysis cannot find memory leaks. Memory leaks occur when dynamically allocated memory is not properly released, leading to a loss of memory resources. Static analysis focuses on analyzing code structure and syntax, but it does not have the ability to track memory usage and identify memory leaks.
Option D) Array bound violations - Static analysis can find array bound violations. It can analyze the code and identify any instances where array elements are being accessed outside the valid bounds of the array.
Therefore, the correct answer is C) Memory leaks. Static analysis cannot find memory leaks as it does not have the capability to track memory usage and identify memory leaks.
Which of them is not performance testing tool ?
-
Grinder
-
Avalanche
-
Code Pro
-
CurlPro