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

Advance Level CTAL-TTA Book

Page: 8 / 12
Question 32

A review of the following pseudo code is to be performed using a checklist:

Module Vowel Counter

Message: array of Characters

M, N: Integer

ACount, ECount, ICount, OCount, UCount: Integer

BEGIN

I=1

Read Nextchar

While Nextchar <> 'S'

DO

Message (I) = Nextchar

I = I+1

Read Nextchar

ENDWHILE

FOR M = 1 To I

DO

Print (Message(M))

IF Message (M) = 'E'

THEN

ECount = ECount + 1

ELSE

IF Message (M) = 'A'

THEN

ACount = ACount + 1

ELSE

IF Message (M) = 'I'

THEN

ICount = ICount + 1

ELSE

IF Message (M) = 'O'

THEN

OCount = OCount + 1

ELSE

IF Message (M) = 'U'

THEN

UCount = UCount + 1

ENDIF

ENDIF

ENDIF

ENDIF

ENDIF

ENDFOR

Print ('Message contains ' ACount + ECount + ICount + OCount + UCount ' vowels')

END

Which of the following checklist items would find code errors in this scenario?

A) Are all variables properly declared?

B) Are all loops, branches, and logic constructs complete, correct, and properly nested?

C) Are all cases covered in an IF-ELSEIF, including ELSE or DEFAULT clauses?

D) Are loop termination conditions obvious and invariably achievable?

E) Are there any redundant or unused variables?

Options:

A.

b and c

B.

a and e

C.

c and d

D.

a and d

Question 33

You are a Technical Test Analyst preparing load test scripts. You have been invited to a technical review of the system's operational profile document produced by the business. The meeting is next week, during your preparation you notice that volumetric data covering projected transaction volumes will be held in a separate document that will not be available before the meeting. What would be the BEST course of action?

Options:

A.

Request that the meeting be delayed until the volumetric document has been drafted and examined by the reviewers

B.

To avoid delay to the project, attend the review as scheduled and raise the issue at the meeting

C.

State that you are not a mandatory reviewer but request that both documents be sent to you once agreed

D.

Delay the review but limit schedule impact by presenting the volumetric document to the reviewers during the meeting

Question 34

A component has been analysed during a risk-assessment and rated as highly critical. Which of the following white-box test techniques provides the highest level of coverage and could therefore be used to test this component?

Options:

A.

Decision testing

B.

Statement testing

C.

Multiple condition testing

D.

Modified condition/decision testing

Question 35

Consider the pseudo code for the Answer program:

Which of the following statements about the Answer program BEST describes the control flow anomalies to be found in the program?

Options:

A.

The Answer program contains no control flow anomalies.

B.

The Answer program contains unreachable code.

C.

The Answer program contains unreachable code and an infinite loop.

D.

The Answer program contains an infinite loop.

Page: 8 / 12
Exam Code: CTAL-TTA
Exam Name: Certified Tester Advanced Level Technical Test Analyst
Last Update: Nov 24, 2024
Questions: 175
CTAL-TTA pdf

CTAL-TTA PDF

$25.5  $84.99
CTAL-TTA Engine

CTAL-TTA Testing Engine

$28.5  $94.99
CTAL-TTA PDF + Engine

CTAL-TTA PDF + Testing Engine

$40.5  $134.99