ExamGecko
Home Home / ISTQB / CTAL

ISTQB CTAL Practice Test - Questions Answers, Page 5

Question list
Search
Search

List of questions

Search

Related questions











A software company developed a software application for a Life Insurance Company. The testers of the software company were given the release to test. The software application calculates the annual life insurance cost based on customers' age. Life insurance cost is as follows per year;

# Age 18 or less: US $ 300

# Age over 18 or less than 70: US $ 500

# Person has to be at least 1 year old to purchase insurance

If a customer enters any other age, the software prints an error message. The Application accepts only positive integer values (no decimals). How many test cases at minimum can you derive using both Boundary Value analysis and Equivalence partitioning to test the life insurance application?

A.
9
A.
9
Answers
B.
10
B.
10
Answers
C.
6
C.
6
Answers
D.
3
D.
3
Answers
Suggested answer: A

A Car sales company is financing their customers' vehicles. Financing interest rates are as follows:

(I) For all motorcycles:

a) Customer Credit score 300 - 550

# Annual income US$ 40K-80K - Interest rate 15%

# Annual income US$ 81K-100K- Interest rate 12 %

# Annual income US $ 101K or more - Interest rate 9 %

b) Customer Credit score 551- 680

# Annual income US$ 40K-80K - Interest rate 12%

# Annual income US$ 81K-100K- Interest rate 9 %

# Annual income US $ 101K or more - Interest rate 7 %

c) Customer Credit score 681 or more

# Annual income US$ 40K-80K - Interest rate 10%

# Annual income US$ 81K-100K-Interest rate 6

# Annual income US $ 101K or more - Interest rate 5 %

(II) For all other vehicles the interest rate is 1 % less (from the values given above) for each category mentioned.

a) Ex: Customer Credit score 300 - 550 Annual income US$ 40K-80K - Interest rate 14% and so on.Select the correct decision table from the decision tables given below for the above scenario

A.
Option
A.
Option
Answers
B.
Option
B.
Option
Answers
C.
Option
C.
Option
Answers
D.
Option
D.
Option
Answers
Suggested answer: A

A Car sales company is financing their customers' vehicles. Financing interest rates are as follows:

(I) For all motorcycles:

A.
Customer Credit score 300 - 550# Annual income US$ 40K-80K - Interest rate 15%# Annual income US$ 81K-100K- Interest rate 12 %# Annual income US $ 101K or more - Interest rate 9 %
A.
Customer Credit score 300 - 550# Annual income US$ 40K-80K - Interest rate 15%# Annual income US$ 81K-100K- Interest rate 12 %# Annual income US $ 101K or more - Interest rate 9 %
Answers
B.
Customer Credit score 551- 680# Annual income US$ 40K-80K - Interest rate 12%# Annual income US$ 81K-100K- Interest rate 9 %# Annual income US $ 101K or more - Interest rate 7 %
B.
Customer Credit score 551- 680# Annual income US$ 40K-80K - Interest rate 12%# Annual income US$ 81K-100K- Interest rate 9 %# Annual income US $ 101K or more - Interest rate 7 %
Answers
C.
Customer Credit score 681 or more# Annual income US$ 40K-80K - Interest rate 10%# Annual income US$ 81K-100K-Interest rate 6# Annual income US $ 101K or more - Interest rate 5 %(II) For all other vehicles the interest rate is 1 % less (from the values given above) for each category mentioned.a) Ex: Customer Credit score 300 - 550Annual income US$ 40K-80K - Interest rate 14% and so on.What is the minimum number of test cases required to test the above application? (Hint: derive test cases using decision table technique using the decision table described in
C.
Customer Credit score 681 or more# Annual income US$ 40K-80K - Interest rate 10%# Annual income US$ 81K-100K-Interest rate 6# Annual income US $ 101K or more - Interest rate 5 %(II) For all other vehicles the interest rate is 1 % less (from the values given above) for each category mentioned.a) Ex: Customer Credit score 300 - 550Annual income US$ 40K-80K - Interest rate 14% and so on.What is the minimum number of test cases required to test the above application? (Hint: derive test cases using decision table technique using the decision table described in
Answers
D.
9
D.
9
Answers
E.
18
E.
18
Answers
F.
20
F.
20
Answers
G.
2
G.
2
Answers
Suggested answer: B

Select the correct state transition diagram for the following train door open/close scenario. When the train is moving, the train doors are closed. After train stops at a station, doors will be opened by the operator, passengers take off and new passengers board the train. Doors will be opened for 40 seconds at the train station. Train doors will be closed when the train is not in service.

A.
Option
A.
Option
Answers
B.
Option
B.
Option
Answers
C.
Option
C.
Option
Answers
D.
Option
D.
Option
Answers
Suggested answer: A

Each number represents a state in the following online shopping cart state transition diagram. Select the correct pair.

A.
1- Initial state, 2- event, 3 - transition, 4 - state, 5 - Final State
A.
1- Initial state, 2- event, 3 - transition, 4 - state, 5 - Final State
Answers
B.
1- Initial state, 2- event , 3 - states, 4 - transition, 5 - event
B.
1- Initial state, 2- event , 3 - states, 4 - transition, 5 - event
Answers
C.
1- Initial state, 2- transition, 3 - event, 4 - state, 5 - Final State
C.
1- Initial state, 2- transition, 3 - event, 4 - state, 5 - Final State
Answers
D.
1- Final state, 2- transition, 3 - event, 4 - state, 5 - Initial state
D.
1- Final state, 2- transition, 3 - event, 4 - state, 5 - Initial state
Answers
Suggested answer: C

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 for statement coverage?

A.
4
A.
4
Answers
B.
2
B.
2
Answers
C.
3
C.
3
Answers
D.
8
D.
8
Answers
Suggested answer: B

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
A.
2
Answers
B.
3
B.
3
Answers
C.
4
C.
4
Answers
D.
1
D.
1
Answers
Suggested answer: A

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 needed to test the path coverage?

A.
2
A.
2
Answers
B.
3
B.
3
Answers
C.
4
C.
4
Answers
D.
1
D.
1
Answers
Suggested answer: B

A College Enrollment application used by ABC College calculates the amount each student has to pay for gym and computer lab usage. The application asks for Student ID, Name and Student's major.

Then the application calculates the fee. If student's major is Computer Science, they have to pay the full computer lab fee. If the student's major is not Computer Science, they have to pay only 1/3 rd of the computer lab fee. All students have to pay for the gym membership. How many tests are required for path coverage of the above application?

A.
1
A.
1
Answers
B.
2
B.
2
Answers
C.
3
C.
3
Answers
D.
10
D.
10
Answers
Suggested answer: B

Consider the following perl code;

$x = 100;

If ($account > 100)

{ for ($deposit =

1

;

$

deposit >

3

;

$

deposit ++)

{$x=$x+1;

}i

f ($account <= 100)

{ for ($withdraw =

0; $

withdraw >

2

;

$

withdraw ++)

{

$x=$x-1;

}}

$x=$x+100;

How many test cases at a minimum are needed to test the path coverage?

A.
6
A.
6
Answers
B.
5
B.
5
Answers
C.
4
C.
4
Answers
D.
3
D.
3
Answers
Suggested answer: B
Total 80 questions
Go to page: of 8