White-Box Testing Quiz

White-Box Testing Quiz

12th Grade

12 Qs

quiz-placeholder

Similar activities

Latihan Soal Informatika Kelas XII IPS U1

Latihan Soal Informatika Kelas XII IPS U1

12th Grade

10 Qs

Quiz - 9 on if-else

Quiz - 9 on if-else

12th Grade

15 Qs

Unit 5 Lesson 1-8 Vocab

Unit 5 Lesson 1-8 Vocab

10th - 12th Grade

17 Qs

AP CSP Unit 1 Assesment

AP CSP Unit 1 Assesment

9th - 12th Grade

8 Qs

Flutter Flow UI and UX

Flutter Flow UI and UX

12th Grade

15 Qs

ISTQB FOUNDATION 4.0 | Tutorial 2

ISTQB FOUNDATION 4.0 | Tutorial 2

12th Grade

16 Qs

Software Testing

Software Testing

12th Grade - University

10 Qs

Software Testing BTEC IT L3

Software Testing BTEC IT L3

12th Grade

16 Qs

White-Box Testing Quiz

White-Box Testing Quiz

Assessment

Quiz

Computers

12th Grade

Hard

Created by

drkiruthika drkruthika

Used 3+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary goal of white-box testing?

To test the functionality of the software without knowledge of its internal structure

To test the internal logic and structure of the software

To verify that the software meets the user requirements

To evaluate the performance of the software

Answer explanation

To test the internal logic and structure of the software

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does cyclomatic complexity measure?

The number of lines of code in a program

The number of distinct paths through the program's control flow graph

The complexity of the software's user interface

The number of variables used in the program

Answer explanation

Cyclomatic complexity measures the number of distinct paths through the program's control flow graph, not the number of lines of code, variables, or the software's user interface.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a form of logic coverage in white-box testing?

Statement Coverage

Branch Coverage

Condition Coverage

User Acceptance Testing

Answer explanation

User Acceptance Testing is NOT a form of logic coverage in white-box testing, as it is a form of black-box testing where end-users validate the system's functionality against their requirements.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a reason why white-box testing is necessary?

It is less expensive than black-box testing.

It provides complete test coverage by ensuring that all code paths are executed.

It is used only after black-box testing is completed.

It is suitable for testing the software's usability.

Answer explanation

White-box testing is necessary because it provides complete test coverage by ensuring that all code paths are executed.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the "decision/condition coverage" criterion ensure?

Each condition in a decision is evaluated to both true and false.

Each decision is evaluated to both true and false, and each condition within decisions is also evaluated.

Each statement in the code is executed.

All paths through the program are tested.

Answer explanation

The 'decision/condition coverage' criterion ensures that each decision is evaluated to both true and false, and each condition within decisions is also evaluated.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does statement coverage aim to achieve?

Ensure that all branches in the control flow graph are tested.

Ensure that every line of code is executed at least once.

Ensure that all possible conditions are tested.

Ensure that all functional requirements are met.

Answer explanation

Ensure that every line of code is executed at least once.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which testing technique ensures that every edge in the control flow graph is traversed at least once?

Statement Coverage

Branch Coverage

Path Coverage

Condition Coverage

Answer explanation

Path Coverage ensures that every edge in the control flow graph is traversed at least once.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?