Search Header Logo

SWT301-topic-4-3

Authored by Ngô Giang Thanh (FE FPTU DN)

Computers

University

Used 26+ times

SWT301-topic-4-3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

31 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a white-box test technique?

Statement Coverage

Equivalence Partitioning

Condition Coverage

Decision Coverage

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of coverage measures the percentage of executed statements in a program?

Decision Coverage

Condition Coverage

Statement Coverage

Path Coverage

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does Cyclomatic Complexity measure?

The total number of test cases

The number of independent paths in the code

The number of conditional statements

The number of loops in a program

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of white-box testing ensures that each possible branch is tested at least once?

Condition Coverage

Branch Coverage

Statement Coverage

Function Coverage

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the minimum number of test cases needed to achieve 100% statement coverage in the following code?

if (A > 10)

print("Pass");

print("End");

1

2

3

4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a goal of Experience-Based Testing?

To create a complete test plan before execution

To find defects using tester intuition and past experience

To achieve 100% statement coverage

To ensure all requirements are covered

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main advantage of using White-Box techniques?

It ensures all user requirements are tested

It helps to identify untested code paths

It focuses on user experience

It reduces the need for test automation

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?