ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 47 - CTAL discussion

Report
Export

Use the following code;

x=1

y=2

z=3

If (x = = 2)

{

print "Hi There !";

}

else

{

print "Good bye";

}

z=x + y;

if (z ==4)

{

print "Welcome Back!";

}

else

{

print "Thank you";

}

How many test cases at minimum are required to test branch / decision coverage?

A.
2
Answers
A.
2
B.
3
Answers
B.
3
C.
4
Answers
C.
4
D.
1
Answers
D.
1
Suggested answer: A
asked 18/09/2024
Jose Leston
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first