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

Viewing page 3 out of 6 pages
Viewing questions 21-30 out of questions
Questions # 21:

Below is pseudo-code which calculates a customer's cruise credits based on past cruise history:

PROGRAM CALC CRUISE CREDITS (CUST_ID) COUNT_CRUISES, CRUISE_CREDITS, LOYALTY_RATING: INTEGER CRUISE_LENGTH, CRUISE_ACCOM_TYPE: VAR

    LOYALTY_RATING = 0

    COUNT_CRUISES = 0

    CRUISE_LENGTH = 0

    CRUISE_ACCOM_TYPE = 0

    BEGIN

    READ CUSTOMER'S CRUISE HISTORY TO OBTAIN COUNT OF CRUISES

    READ CRUISE_HISTORY (CUST_ID)

    WHILE COUNT_CRUISES != -1 DO

    READ CUSTOMER'S NEXT CRUISE

    READ NEXT_CRUISE

    IF CRUISE_ACCOM_TYPE = 3 THEN

    CRUISE_CREDITS = CRUISE_CREDITS + 5

    ELSE

    IF CRUISE_ACCOM_TYPE = 2 THEN

    CRUISE_CREDITS = CRUISE_CREDITS + 3

    ELSE

    CRUISE_CREDITS = CRUISE_CREDITS + 2

    ENDIF

    ENDIF

    COUNT_CRUISES = COUNT_CRUISES - 1

    ENDWHILE

    LOYALTY_RATING = CRUISE_CREDITS / COUNT_CRUISES

    WRITE ("CRUISE CREDIT TOTAL IS:")

    WRITE (CRUISE_CREDITS)

    END PROGRAM CALC CRUISE CREDITS

The code contains data flow anomalies on lines 14 and 27. Which examples of data flow anomalies can be found on these lines?

Options:

A.

Line 14: Cruise_Credits is not assigned a value (defined) before being used Line 27: Loyalty_Rating is defined but not subsequently used


B.

Line 14: Cruise_Credits is defined but not subsequently used Line 27: Loyalty_Rating is not assigned a value (defined) before being used


C.

Line 14: Cruise_Credits is re-defined before being used Line 27: Loyalty_Rating is defined but not subsequently used


D.

Line 14: Cruise_Credits should not be declared as an integer Line 27: Loyalty_Rating should be calculated within the While loop


Questions # 22:

Which statement about component testing tools and build automation tools is TRUE?

Options:

A.

Build automation tools allow users to change variable values during execution and step through the code of each component line by line


B.

In a full continuous integration process, build automation tools are typically used to trigger the builds by every commit to a repository


C.

Build automation tools cannot be used to periodically schedule the builds, for example during the night


D.

Component testing tools are not used for writing tests at component level but to automate the component testing


Questions # 23:

Which of the following are activities that the Technical Test Analyst performs when setting up a test automation project?

1.Schedule the manual testing

2.Define interface requirements between tools

3.Perform a code review on the functional specifications

4.Determine whether to use a rule-dnven approach

5.Tram the test analysts to use and supply the data

Options:

A.

1.2


B.

3. 5


C.

1.4


D.

2,5


Questions # 24:

An enhancement to a Social Media application allows for the creation of new Groups. Any number of existing application members can be added to a

Group. An attempt to add a non-existing member of the application to a Group will result in an error. Members can also be removed from an existing Group.

Existing Groups can also be deleted but only if there are no current members attached to it.

Which keyword-driven input table provides an adequate test of this enhancement?

Options:

A.

CTAL-TTA Question 24 Option 1A group of people in a group Description automatically generated


B.

24A group of people in a table Description automatically generated


C.

24A group of people in a group Description automatically generated


D.

24A group of people in a group Description automatically generated


Questions # 25:

The following user story has been written for a new application being developed to pre-book a space at a National Car Park.

As a vehicle driver

i want to be able to pre-book a car parking space online, selecting a disabled driver's space if needed

So that l can pay in advance and receive confirmation of my parking space number.

The following acceptance criteria have also been written:

•Payment can be made via PayPal, Debit or Credit Card

•Confirmation of payment and car parking details should be sent after the booking process is completed

•Driver information is stored in the reservation database

The database has been built and tested in a previous sprint, but the interface to the different payment methods have yet to be developed

As a tester in an agile team, you have been asked to review the user story You have detected some issues with this story:

1.it needs to cater for different user groups: a driver or disabled driver

2.it needs to cater for different vehicle types: a car. 4x4. van or motorbike

3.There are no acceptance criteria relating to how quick the booking process should be

4.How confirmation is to be sent for payment and space number, and other important details, have not been specified

5.A stub will be needed to test the payment method

Which pair of requirements engineering techniques are you MOST LIKELY to have used to uncover these issues’

SELECT ONE OPTION

Options:

A.

Diagrams and Story Mapping


B.

Story Mapping and use Cases


C.

Personas and Diagrams


D.

Storyboards and Personas


Questions # 26:

Your team is now accountable for the support and enhancement of a payroll system that has been in production for many years and modified by many different developers. It has been noticed by management that small functional enhancements take much longer than equivalent changes on more recently developed systems. You have been tasked with implementing improved testing approaches that will help to identify the root cause of this problem.

Which of the following is the best technique to apply in this scenario?

Options:

A.

Orthogonal arrays


B.

Exploratory analysis


C.

Static analysis


D.

Data flow analysis


Questions # 27:

Which option below BEST explains the value of a test charter in exploratory testing"5

SELECT ONE OPTION

Options:

A.

It provides expected test outcomes against which defects, if found, can be reported.


B.

It provides guidance for the tester at the beginning of a test session


C.

it provides bi-directional traceability to aspects of the epic or story under test


D.

It provides a way to prevent a test session’s timebox from being exceeded


Questions # 28:

Your team is developing an e-shop application (the SUT) that will use a third-party service to process payments via an API. This third-party payment gateway is itself still under development Which statement contains a pair of benefits that can BOTH be expected from service virtualization in this circumstance’

SELECT ONE OPTION

Options:

A.

Earlier discovery of defects in the SUT; the ability to share code between the SUT and the payment gateway.


B.

Parallel compilation, continuous integration, and test automation; more effective configuration management.


C.

Realistic testing of the SUT before the actual payment gateway is available, simplification of the test environment


D.

Earlier testing of the API, reduction in the amount of test data needed


Questions # 29:

Which of the following is a common technical issue that can result in an automation project failing?

Options:

A.

Technical Test Analysts not developing business domain expertise for keyword-driven testing


B.

Not returning the system to a pre-defined state after completing the execution of a suite of automated tests


C.

Having to manually plan how to handle software failures in a test automation design


D.

Automated tests uncovering a higher than expected rate of defects in the software under test


Questions # 30:

You are defining the test approach for an Agile project developing a system to control traffic lights at busy road junctions. The system will use sensors to measure traffic density and flow rates, optimizing traffic flow. While safety-critical, a risk assessment has deemed the project's risk level as low due to the team's expertise.

Which option below represents the BEST test approach for this project?

Key to symbols:

    + (highly recommended)

    (recommended)

    o (neutral/optional)

    • (not recommended)

    - (not to be used)

Question # 30

SELECT ONE OPTION

Options:

A.

3


B.

4


C.

2


D.

1


Viewing page 3 out of 6 pages
Viewing questions 21-30 out of questions