logo

Crowdly

Browser

Add to Chrome

Adott az alábbi Java forráskód és tesztbemenet halmaz: public boolean f ( ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Adott az alábbi Java forráskód és tesztbemenet halmaz:

public boolean f(boolean a, int b){

    if(b < 0) return false;

 

    while (!a){

        b = 2 * b;

        if (b > 1024) a = true;

    }

 

    return a;

}

Tesztkészlet:

 ab
TC1false-1
TC2true64

Mekkora döntés lefedettséget ér el a megadott tesztkészlet összesen?

0%
0%
100%
0%
More questions like this

Want instant access to all verified answers on edu.vik.bme.hu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome