0

testing Online Quiz - 18

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

Data flow analysis studies:

  1. possible communications bottlenecks in a program.

  2. the rate of change of data values as a program executes.

  3. the intrinsic complexity of the code.

  4. the use of data on paths through the code.


Correct Option: D

AI Explanation

To answer this question, we need to understand what data flow analysis is and what it studies.

Data flow analysis is a technique used in software engineering to analyze how data is used and flows through a program. It aims to gather information about the possible values that variables can take at various points in the program and how they are related to each other.

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

Option A) Possible communications bottlenecks in a program - This option is incorrect because data flow analysis does not specifically focus on identifying communications bottlenecks. It is more concerned with understanding how data is used and flows through the program.

Option B) The rate of change of data values as a program executes - This option is incorrect because data flow analysis is not concerned with the rate of change of data values. It focuses on understanding how data is used and flows through the program, rather than the dynamics of data values.

Option C) The intrinsic complexity of the code - This option is incorrect because data flow analysis does not directly study the intrinsic complexity of the code. It is more focused on analyzing how data is used and flows through the program, rather than evaluating the complexity of the code itself.

Option D) The use of data on paths through the code - This option is correct because data flow analysis specifically studies how data is used on different paths through the code. It aims to gather information about the possible values that variables can take and how they are related to each other as the program executes.

Therefore, the correct answer is option D. Data flow analysis studies the use of data on paths through the code.

  1. An inspection is lead by the author, whilst a walkthrough is lead by a trained moderator.

  2. An inspection has a trained leader, whilst a walkthrough has no leader.

  3. A walkthrough is lead by the author, whilst an inspection is lead by a trained moderator.

  4. Authors are not present during inspections, whilst they are during walkthroughs.


Correct Option: C
Explanation:

To answer this question, the user needs to understand the difference between a walkthrough and an inspection in the context of software development.

Option A states that an inspection is led by the author, while a walkthrough is led by a trained moderator. This option is incorrect because it has reversed the roles. A walkthrough is typically led by the author, while a trained moderator leads an inspection.

Option B states that an inspection has a trained leader, while a walkthrough has no leader. This option is incorrect because both an inspection and a walkthrough have a leader. In a walkthrough, the author leads the team through the software, while in an inspection, a trained moderator leads the team.

Option C is the correct answer. A walkthrough is led by the author, while an inspection is led by a trained moderator. During a walkthrough, the author guides the team through the software and explains the code and design choices. In contrast, during an inspection, the trained moderator leads the team through a formal review of the software to identify defects and potential improvements.

Option D is incorrect. Authors are typically present during both inspections and walkthroughs. In a walkthrough, the author leads the team through the software and answers questions. In an inspection, the author is available to answer questions but does not lead the review.

Therefore, the correct answer is:

The Answer is: C. A walkthrough is lead by the author, whilst an inspection is lead by a trained moderator.

A failure is:

  1. found in the software; the result of an error.

  2. departure from specified behavior.

  3. an incorrect step, process or data definition in a computer program.

  4. a human action that produces an incorrect result.


Correct Option: B

Verification testing is to check:

  1. Is the task done correctly

  2. Is the correct task done

  3. Is the task complete

  4. Is the task created


Correct Option: A

Validation testing is to check:

  1. Is the task done correctly

  2. Is the correct task done

  3. Is the task complete

  4. Is the task created


Correct Option: B

What is automation testing:

  1. Automation testing is the process of developing and executing tests that can run unattended

  2. Automation testing is the process of developing and executing tests that can run with manual intervention

  3. All testing procedures are called automation testing

  4. Automation testing is the process of developing and executing tests that can be run by testers


Correct Option: A

Why do we automate:

  1. To reduce testing time

  2. To reduce testing cost

  3. All of the above

  4. We have budget for automation


Correct Option: C

Software requirement specifies “A system can store upto 10 MB of data.”. Testing the system with 100 MB of data is which type of testing:

  1. Load Testing

  2. Stress Testing

  3. Functional Testing

  4. Regression Testing


Correct Option: B

Software requirement specifies “A password field can have maximum 5 characters.”. Testing the password field with 6 characters to make sure it does not accept 6 characters is which type of testing:

  1. Load Testing

  2. Stress Testing

  3. Negative Testing

  4. Regression Testing


Correct Option: C

What are the methods of software testing:

  1. Manual Testing

  2. Functional Testing, Regression Testing

  3. Manual Testing, Automation Testing

  4. Automation Testing


Correct Option: C

One of the objectives of testing is:

  1. To find bug whenever time permits

  2. To find bug in the assigned module

  3. To find bugs as early as possible

  4. To find bugs whenever automation suite is executed


Correct Option: C

Testing is a means to:

  1. Find bugs

  2. Provide confidence and information

  3. Prevent defects

  4. All of the above


Correct Option: D

A Test Plan includes:

  1. Total numbers of features to be tested

  2. Testing approaches to be tested

  3. Testing tools to be used

  4. All of the above


Correct Option: D

Software requirement specifies “A printer can print 100 pages in 30 seconds.”. Testing the printer with 100 pages for 30 seconds is which type of testing:

  1. Load Testing

  2. Stress Testing

  3. Functional Testing

  4. Regression Testing


Correct Option: A

The process of making an educated guess of things to be tested is what type of black box testing.

  1. Equivalence Partitioning

  2. Boundary Value Analysis

  3. Error Guessing

  4. State Transition Testing


Correct Option: C

A good software tester requires:

  1. Curiosity

  2. A critical eye

  3. Good Communication

  4. All of the above


Correct Option: D

Who can do automation testing:

  1. Any tester

  2. Any tester who wants to do it

  3. Any tester who has understanding of software coding

  4. Test Lead


Correct Option: C

Re-applying tests from old builds to make sure nothing broke in new builds is a form of what type of testing.

  1. System Testing

  2. Unit Testing

  3. Integration Testing

  4. Regression Testing


Correct Option: D

A test case specifies which of the following.

  1. What to test

  2. Inputs to test

  3. Expected results

  4. Test Conditions and Constraints

  5. All of the above


Correct Option: E

Showing the system can work at peak times by flooding it with transactions is what type of testing.

  1. Installation testing

  2. Integration testing

  3. Configuration testing

  4. Regression testing

  5. Stress testing


Correct Option: E
- Hide questions