Black Friday Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Pass the ISTQB Advance Level CTAL-TTA Questions and answers with ValidTests

Exam CTAL-TTA All Questions
Exam CTAL-TTA Premium Access

View all detail and faqs for the CTAL-TTA exam

Viewing page 1 out of 6 pages
Viewing questions 1-10 out of questions
Questions # 1:

Given the following decision: IF X < 5 OR Y > 10 THEN

Which of the following sets of test inputs will achieve full MC/DC coverage?

Options:

A.

X=4 and Y=7

X=6 and Y=12

X=5 and Y=10

B.

X=4 and Y=11

X=7 and Y=10

C.

X=5 and Y=8

X=2 and Y=12

X=4 and Y=4

D.

X=3 and Y=10

X=5 and Y=15

X=0 and Y=15

Expert Solution
Questions # 2:

You are an experienced tester on an Agile team that is producing a new application. The product backlog has been refined sufficiently to begin development for the first release. This stories in this backlog contain a mixture of functional and non-functional requirements, as well as some technical stories that will provide elements of the application's infrastructure The developers have decided to use TDD as a deveiopment approach but automation of the acceptance tests is not yet planned.

You have been asked to recommend whether or not the team should take an atdd approach as well as TDD. what would be the BEST recommendation in these circumstances?

SELECT ONE OPTION

Options:

A.

YES. use attd, but for the functional requirements only because it cannot be applied to non-functional or technical requirements.

B.

YES. use ATTD for all requirements including non-functional and technical stories.

C.

NO. do not use ATDD, because it will not work when the acceptance tests are not automated

D.

NO. do not use atdd. because it is not compatible with the developers' TDD approach.

Expert Solution
Questions # 3:

Which TWO of the following could be identified using Dynamic Analysis?

A) Objects having too much or too little visibility into parent classes.

B) Repetition of code within a single component or module.

C) System memory not released when it is no longer needed.

D) Pointers in a program that are no longer accurate and must not be used. E. Code that cannot be reached and so will not be executed.

Options:

A.

a and c

B.

a and b

C.

c and d

D.

d and e

Expert Solution
Questions # 4:

The stakeholders in a new system want its mean time between failure to be three months or longer, with a mean time to repair the system of ten minutes or less when it does fail. When planning and specifying reliability tests to be performed before release, which ONE of the following is a factor that must be considered?

Options:

A.

Defining the replaceability requirements

B.

Determining the target availability for the system

C.

Monitoring reliability in production

D.

Configuring a production-like test environment

Expert Solution
Questions # 5:

The following epic has been written:

As a vehicle driver

I want to find an available space In a car park

So that I can pay in advance to reserve that space

This epic will be used to develop user stories for a new National Car Parking application Both public and private car park owners will be able to utilise the system, allowing drivers of all kinds to guarantee an available car parking space on arrival at their chosen car park, according to the kind of vehicle that they may drive

There will be multiple stakeholders including different car park owners, different user groups including disabled drivers and different vehicle types such as car. van and motorbike.

From this epic, multiple user stories will be written. The following acceptance criteria have been written for the epic, and will be applicable to all user stories (each user story will also have its own acceptance cntena):

1.End-to-end response time for any individual request submitted by a user must not exceed 5 seconds

2.All correspondence with stakeholders must be via email and text message

3.The application must be accessible on most mobile technology

4.A user cannot submit a form unless all mandatory fields are entered

5.Payment method can be made using the most popular electronic options

Applying the INVEST technique to this epic, including its acceptance criteria, which of the following statements is correct?

SELECT ONE OPTION

Options:

A.

The Testable and Valuable criteria of INVEST have not been satisfied

B.

The invest criteria have all been satisfied by this epic

C.

The Independent and Small criteria of INVEST have not been satisfied

D.

The Testable and Small criteria of INVEST have not been satisfied

Expert Solution
Questions # 6:

You are ar teviemng the fdbwng Java furxton that deteimates whether a curb*. rput by the user. * Even or Odd Public da»s Oddorfven {

public state void mair^Strcg [ | args) (

Scarcer read - new ScanrerfSystem inje

System out prim (’Pease enter a rxmber'i;

int Number • reader nextfntO,

if(Number^2»»0)

System out prrrtln "your input number 'Number ♦ * is even ).

else

System out prntirfyour input number 'Number ♦ * is odd*);

)

}

You are Qj>ded by ’.he following checklist

•All variables must start with a Capital letter

•All output messages must start with a Capita letter

•There must De a comment bne e« pla ning the purpose of the dess

How many checklist items Mve been fuelled7

SELECT ONE OPTION

Options:

A.

3

B.

None

C.

1

D.

2

Expert Solution
Questions # 7:

Consider the pseudo code provided below regarding a customer request for cash withdrawal from an ATM.

If the customer has sufficient funds in their account

OR the customer has the credit granted

THEN the ATM machine pays out the requested amount to the customer

Which of the following test cases would be the result of applying multiple condition testing, but would NOT be the result of applying modified condition/decision testing?

Options:

A.

TC 1: Customer has sufficient funds. Credit has not been granted.

B.

TC 2: Customer does not have sufficient funds. Credit has been granted.

C.

TC 3: Customer does not have sufficient funds. Credit has not been granted.

D.

TC 4: Customer has sufficient funds. Credit has been granted.

Expert Solution
Questions # 8:

Consider the pseudo code provided below:

Question # 8

Given the following tests, what additional test(s) (if any) would be needed in order to achieve 100% statement coverage, with the minimum number of tests?

Test 1: A = 7, B = 7, Expected output: 7

Test 2: A = 7, B = 5, Expected output: 5

Options:

A.

A=6, B=12, Expected output: Bingo! and A=7, B=9, Expected output: 7

B.

A=6, B=12, Expected output: Bingo!

C.

A=7, B=9, Expected output: 7

D.

No additional test cases are needed to achieve 100% statement coverage.

Expert Solution
Questions # 9:

Consider the simplified logic below for crediting money to a bank account.

Receive money and account number to be credited

IF account number is valid

IF customer account is active

Store current account balance as oldBalance

Credit money to account

IF oldBalance < zero

IF balance now >= zero

Set message "Overdraft cleared"

ELSE

Set message "A/c overdrawn"

ENDIF

ELSE

Set message = "You have more money"

ENDIF

IF account holder is VIP customer

Send message by email to customer

ENDIF

ELSE

Set message "A/c inactive"

Send message by email to supervisor

ENDIF

ELSE

Add 1 to count of invalid inputs

ENDIF

What percentage of decision testing coverage has been achieved by the following suite of test cases?

Test Case A - Account number valid, account is active, oldBalance = -100, balance now = +200, not a VIP customer

Test Case B - Account number valid, account is active, oldBalance = -100, balance now = -50, is a VIP customer

Options:

A.

40%

B.

60%

C.

70%

D.

80%

Expert Solution
Questions # 10:

You have been assigned to perform a review on code provided below:

Question # 10

Which type of defect should you report as part of the code review?

Options:

A.

Endless loop

B.

Unreachable code

C.

Too many nested levels

D.

No defects should be reported, code is correct.

Expert Solution
Viewing page 1 out of 6 pages
Viewing questions 1-10 out of questions