0

testing Online Quiz - 80

Description: testing Online Quiz - 80
Number of Questions: 20
Created by:
Tags: testing
Attempted 0/20 Correct 0 Score 0

Which of the following is NOT included in the Test Plan document of the Test Documentation Standard:

  1. What is not to be tested

  2. Test environments

  3. Quality plans

  4. Schedules and deadlines


Correct Option: C

AI Explanation

To answer this question, we need to understand the Test Documentation Standard and the contents of a Test Plan document.

The Test Documentation Standard provides guidelines for creating test documentation, including the Test Plan document. The Test Plan document outlines the approach, scope, objectives, and resources for a testing project. It typically includes the following information:

A. What is not to be tested - This is commonly included in the Test Plan document. It specifies the areas or functionalities that will not be tested during the project.

B. Test environments - This is commonly included in the Test Plan document. It describes the hardware, software, and network configurations required for testing.

C. Quality plans - This option is the correct answer. Quality plans are not typically included in the Test Plan document. Quality plans outline the overall quality goals, processes, and strategies for a project, but they are not specific to testing.

D. Schedules and deadlines - This is commonly included in the Test Plan document. It provides a timeline for the testing activities, including milestones, deadlines, and resource allocation.

Based on the information above, the correct answer is C) Quality plans. This option is not typically included in the Test Plan document.

Could reviews or inspections be considered part of testing:

  1. No, because they are normally applied before testing

  2. No, because they do not apply to the test documentation

  3. Yes, because both help detect faults and improve quality

  4. Yes, because testing includes all non-constructive activities


Correct Option: C

Which of the following is not part of performance testing:

  1. Measuring response time

  2. Measuring transaction rates

  3. Recovery testing

  4. Simulating many users


Correct Option: C

AI Explanation

To answer this question, you need to understand the concept of performance testing. Performance testing is a type of testing that is conducted to evaluate the performance and characteristics of a system under specific conditions. It involves measuring and assessing various aspects of the system's performance, such as response time, transaction rates, and user load.

Let's go through each option to understand why it is correct or incorrect:

Option A) Measuring response time - This option is part of performance testing. Measuring response time helps in evaluating the speed and efficiency of the system's response to user actions.

Option B) Measuring transaction rates - This option is also part of performance testing. Measuring transaction rates helps in assessing the system's ability to handle a certain number of transactions within a given time frame.

Option C) Recovery testing - This option is not part of performance testing. Recovery testing is a type of testing that focuses on testing the system's ability to recover from failures, such as crashes or hardware malfunctions.

Option D) Simulating many users - This option is part of performance testing. Simulating many users helps in evaluating the system's performance under heavy user loads and determines how well it can handle concurrent user interactions.

The correct answer is C) Recovery testing. This option is not part of performance testing as it focuses on a different aspect of system testing. Performance testing primarily involves measuring response time, transaction rates, and simulating many users.

Error guessing is best used

  1. After more formal techniques have been applied

  2. By inexperienced testers

  3. After the system has gone live

  4. Only by end users


Correct Option: A

What is failure?

  1. Deviation from expected result to actual result

  2. Defect in the software.

  3. Error in the program code.

  4. Fault in the system.


Correct Option: A

People who don’t participate in technical reviews

  1. Analysts

  2. Management

  3. Developers

  4. Testers


Correct Option: B

What type of testing is done to supplement the rigorous testing?

  1. Regression testing.

  2. Integration testing.

  3. Error Guessing.

  4. System testing.


Correct Option: C

AI Explanation

To answer this question, you need to understand different types of testing and their purposes.

Option A) Regression testing - Regression testing is performed to ensure that changes or updates to the software do not introduce new defects or impact existing functionality. It is not directly related to supplementing rigorous testing.

Option B) Integration testing - Integration testing is done to test the interaction between different components or modules of the software. It focuses on identifying defects that arise due to the integration of these components. It is not specifically done to supplement rigorous testing.

Option C) Error Guessing - Error guessing is a technique where testers use their experience and intuition to identify potential defects without specific test cases. It is a type of black-box testing and can be used to supplement rigorous testing by exploring areas that may not have been covered in the planned test cases.

Option D) System testing - System testing is performed to evaluate the complete and integrated system against the specified requirements. It is not specifically done to supplement rigorous testing.

The correct answer is option C) Error Guessing. This option is correct because error guessing can be used as an additional technique to supplement rigorous testing by allowing testers to use their experience and intuition to identify potential defects.

Capture and replay facilities are least likely to be used to ….

  1. Performance testing

  2. Recovery testing

  3. GUI testing

  4. User requirements.


Correct Option: D
Explanation:

To solve this question, the user needs to understand the purpose of capture and replay facilities in software testing and the types of testing methods that can utilize them.

Capture and replay facilities are typically used to record interactions with a software application and then replay them at a later time. This can be useful for automating certain types of testing, as it allows testers to quickly and easily repeat a set of actions without having to manually perform them each time.

Now, let's go through each option and explain why it is right or wrong:

A. Performance testing: This option is incorrect. Capture and replay facilities can be very useful for performance testing, as they allow testers to simulate large numbers of user interactions and monitor how the application responds. This can help identify performance bottlenecks and other issues.

B. Recovery testing: This option is incorrect. Capture and replay facilities can also be useful for recovery testing, as they allow testers to simulate various error conditions and test how the application responds to them.

C. GUI testing: This option is incorrect. Capture and replay facilities can be very useful for GUI testing, as they allow testers to automate repetitive tasks such as clicking buttons or filling out forms.

D. User requirements: This option is correct. While capture and replay facilities can be used to test user requirements, they are not typically the best choice for this type of testing. User requirements testing typically involves validating that the software meets specific user needs or business requirements, which may require more complex testing methods.

Therefore, the correct answer is:

The Answer is: D. User requirements.

Cyclomatic complexity is used to calculate

  1. number of independent paths in the basis set of a program

  2. number of binary decisions + 1

  3. upper bound for the number of tests that must be conducted to ensure that all statements have been executed at least once

  4. number of branches and decisions


Correct Option: B

If a candidate is given an exam of 40 questions, should get 25 marks to pass (61%) and should get 80% for distinction, what is equivalence class.

  1. 23, 24, 25

  2. 0, 12, 25

  3. 30, 36, 39

  4. 32,37,40


Correct Option: D

AI Explanation

To determine the equivalence class, we need to consider the passing marks and the criteria for distinction.

Given that the passing marks are 25 (or 61% of the total marks), any score below 25 will result in a failing grade. Therefore, we can eliminate options A and B since they include values below 25.

For distinction, a candidate should score 80% or above. Considering that the total number of questions is 40, we can calculate the minimum number of correct answers required for distinction:

Minimum number of correct answers for distinction = 80% of 40 = 0.8 * 40 = 32

Therefore, any score less than 32 will not meet the criteria for distinction. Based on this, we can eliminate option C.

Now, we are left with option D, which includes values 32, 37, and 40. These values fall within the range of passing marks and also meet the criteria for distinction. Hence, the correct answer is option D.

One of the following is not a part of white box testing as per BS7925-II standards.

  1. Random testing

  2. Data Flow testing.

  3. Statement testing.

  4. Syntax testing.


Correct Option: D

AI Explanation

To answer this question, we need to understand the concept of white box testing and the standards outlined in BS7925-II.

White box testing is a testing technique that examines the internal structure of the system or program being tested. It focuses on verifying the implementation of the system's logic and ensuring that all paths and conditions have been tested. BS7925-II is a software testing standard that provides guidelines and recommendations for testing activities.

Let's go through each option to understand why it is correct or incorrect:

Option A) Random testing - This option is incorrect. Random testing is a technique where test inputs are selected randomly from the input domain. While it may not be a comprehensive approach, it is still a valid method of white box testing.

Option B) Data Flow testing - This option is incorrect. Data Flow testing is a technique that focuses on the paths and conditions of data within a program. It aims to test the flow of data from its source to its destination and ensure that it is consistent and correct. Data Flow testing is considered a part of white box testing.

Option C) Statement testing - This option is incorrect. Statement testing, also known as statement coverage, is a white box testing technique that aims to ensure that every statement in the program has been executed at least once. It is considered an essential part of white box testing to achieve high code coverage.

Option D) Syntax testing - This option is correct. Syntax testing involves verifying the correctness of the syntax and grammar of the program. It checks if the program follows the language rules and syntax. While syntax testing is an important aspect of software development, it is not considered a part of white box testing as per the BS7925-II standards.

The correct answer is D) Syntax testing. This option is correct because according to BS7925-II standards, syntax testing is not considered a part of white box testing.

Exclusive use of white box testing in a test-phase will:

  1. Ensure the test item is adequately tested.

  2. Make the need for black-box testing redundant.

  3. Run the risk that the requirements are not satisfied.

  4. Suffices for the unit testing phase.


Correct Option: C

AI Explanation

To answer this question, we need to understand the differences between white box testing and black box testing.

White box testing is a testing technique that focuses on the internal structure and logic of the software being tested. Test cases are designed based on the knowledge of the internal workings of the code, such as control flow, data flow, and branches. White box testing is typically performed by developers or testers with knowledge of the code.

Black box testing, on the other hand, is a testing technique that focuses on the functionality and behavior of the software being tested. Test cases are designed based on the software's requirements and specifications, without any knowledge of the internal structure or code. Black box testing is typically performed by testers or end-users.

Now let's analyze each option:

Option A) Ensure the test item is adequately tested. This option is incorrect. While white box testing can provide insights into the internal structure and logic of the software, it does not guarantee that all aspects of the test item will be adequately tested. White box testing may overlook certain requirements or functionalities that are not directly related to the internal workings of the code.

Option B) Make the need for black-box testing redundant. This option is incorrect. White box testing and black box testing are complementary techniques. White box testing focuses on the internal structure, while black box testing focuses on the functionality. Both techniques are necessary to ensure thorough testing of the software.

Option C) Run the risk that the requirements are not satisfied. This option is correct. Exclusive use of white box testing can lead to a risk that the requirements of the software are not fully satisfied. Since white box testing is based on the internal structure and logic of the software, it may not uncover issues related to incorrect or missing functionality.

Option D) Suffices for the unit testing phase. This option is incorrect. While white box testing is commonly used in the unit testing phase, it is not the only technique used. Other testing techniques, such as black box testing and integration testing, are also important in the unit testing phase.

Therefore, the correct answer is C) Run the risk that the requirements are not satisfied. This option is correct because exclusive use of white box testing may overlook issues related to the software's requirements and functionalities.

Match the following: (1.) Configuration identification (2.) Configuration control (3.) Status reporting (4.) Configuration auditing (a.) Maintains of CI’s in a library (b.) Checks on the contents of the library (c.) Function recording and tracking problems. (d.) Requires the all CI’s and their versions in the system are known

  1. 1-d, 2-c, 3-d, 4-a.

  2. 1-d, 2-a, 3-c, 4-b.

  3. 1-a, 2-b, 3-d, 4-c.

  4. 1-c, 2-b, 3-a, 4-d.


Correct Option: B

Cost of the reviews will not include.

  1. Review process itself

  2. Metrics analysis

  3. Tool support.

  4. Process improvement.


Correct Option: C
Explanation:

To answer this question, the user needs to understand the items that are included in the cost of reviews and the items that are excluded.

The statement says that the cost of reviews will NOT include. This means that the correct option will be an item that is typically included in the cost of reviews, but in this case, will be excluded.

A. Review process itself: This option is typically included in the cost of reviews, so it is not the correct answer.

B. Metrics analysis: This option is typically included in the cost of reviews, so it is not the correct answer.

C. Tool support: This option is typically included in the cost of reviews, but the statement says that the cost of reviews will not include it. Therefore, option C is the correct answer.

D. Process improvement: This option is typically included in the cost of reviews, so it is not the correct answer.

The Answer is: C. Tool support.

What type of testing will you perform on internet banking solution?

  1. System integration

  2. Functional testing

  3. Non-functional testing.

  4. Requirements testing


Correct Option: C

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) System integration - This option is incorrect. System integration testing focuses on ensuring that different systems or components can work together as expected. While it is important for an internet banking solution to integrate with other systems, it is not the specific type of testing mentioned in the correct answer.

Option B) Functional testing - This option is incorrect. Functional testing is the process of testing individual functions or features of a software application to ensure they work as intended. While functional testing is an important part of testing an internet banking solution, it is not the specific type of testing mentioned in the correct answer.

Option C) Non-functional testing - This option is correct. Non-functional testing is the process of testing aspects of a software application that are not directly related to the functionality, but rather focus on performance, security, usability, and other characteristics. When it comes to an internet banking solution, it is crucial to perform non-functional testing to ensure the system can handle a large number of users, is secure from potential threats, and provides a user-friendly experience.

Option D) Requirements testing - This option is incorrect. Requirements testing focuses on testing whether the software application meets the specified requirements. While it is important to test an internet banking solution against its requirements, it is not the specific type of testing mentioned in the correct answer.

The correct answer is C) Non-functional testing. This option is correct because non-functional testing is essential to ensure the performance, security, and usability of an internet banking solution.

Which tool will be used to test the flag memory leaks and unassigned pointers

  1. Dynamic analysis tool

  2. Static Analysis tool

  3. Maintenance tool

  4. Configuration tool


Correct Option: A

Which tool will be used to test the flag memory leaks and unassigned pointers

  1. Dynamic analysis tool

  2. Static Analysis tool

  3. Maintenance tool

  4. Configuration tool


Correct Option: A

AI Explanation

To determine the tool that is used to test for flag memory leaks and unassigned pointers, let's go through each option:

Option A) Dynamic analysis tool - This option is correct. Dynamic analysis tools are used to analyze the behavior of a program during its execution. They can detect memory leaks and identify unassigned pointers by analyzing the program's runtime behavior.

Option B) Static Analysis tool - This option is incorrect. Static analysis tools analyze the source code of a program without executing it. While they can detect certain types of errors, such as syntax errors or dead code, they are not typically used to identify memory leaks or unassigned pointers.

Option C) Maintenance tool - This option is incorrect. Maintenance tools are used to manage and update software, but they are not specifically designed to test for memory leaks or unassigned pointers.

Option D) Configuration tool - This option is incorrect. Configuration tools are used to configure and customize software systems, but they are not used for testing memory leaks or unassigned pointers.

Therefore, the correct answer is A) Dynamic analysis tool.

Which of the following is not included in Test Plan.

  1. Features to be tested.

  2. Environmental needs.

  3. Suspension criteria.

  4. Expected results.


Correct Option: D
- Hide questions