Weekend Sale 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sale65best

Free ISTQB CTAL-TTA Practice Exam with Questions & Answers | Set: 4

Questions 31

Which statement is correct with respect to a mobile emulator tool?

Options:
A.

A mobile emulator models the mobile platform's runtime environment but not the hardware. The tested application differs from the application that will be distributed

B.

A mobile emulator models the hardware and utilizes the same runtime environment as the physical hardware. The tested application could also be used by the real device

C.

Unlike a mobile simulator tool, an emulator does not allow the setting of various usage parameters

D.

A mobile emulator tests the performance of a mobile device by subjecting it to high application loads

ISTQB CTAL-TTA Premium Access
Questions 32

Which statement is correct with respect to fault injection tools?

Options:
A.

They modify the code under test in order to check the coverage achieved by specified tests

B.

They deliberately introduce incorrect inputs to a system to ensure it can withstand and recover from error conditions

C.

They inject defects into the SUT in order to test the error handling capabilities of test automation software

D.

They can detect memory leaks and wild pointers when a component is executing

Questions 33

You are testing software that will be used in nuclear power plants. The particular piece of code you are testing has been classified as SIL 2. The following section of code falls under this classification:

If ((A > B) or (C > D)) and (E = F) then print A

Endif

Which of the following sets of test data would supply the minimum tests needed to achieve the "highly recommended" level of coverage?

CTAL-TTA Question 33

Options:
A.

Set 1

B.

Set 3

C.

Set 5

D.

Set 2

Questions 34

The following user story has been written:

As a paying hotel guest

I want to see the charges that have been added to my bill

So that I can monitor my expenditure and know In advance how much I will have to pay when I check out

The notes that have been added to It mention that It must be possible for the guest to get a printout of the bill, see It In a variety of currencies and set a flag in the hotel's billing system against any Item that they wish to challenge.

The following acceptance criteria have been defined:

1.The user shall be able to choose from the most commonly-used currencies.

2.The application must be accessible on most mobile platforms as well as on the hotel room's smart TV.

3.The hotel manager must be notified whenever a bill item is flagged by a hotel guest.

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

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

SELECT ONE OPTION

Options:
A.

The Testable and Negotiable criteria of INVEST have not been satisfied

B.

The Testable and Small criteria of INVEST have not been satisfied

C.

The INVEST criteria have all been satisfied by this epic

D.

The Negotiable and Small criteria of INVEST have not been satisfied

Questions 35

You are working on an internet banking project. Your company is offering this product to the financial market. For each new customer, some customization will typically be needed. To make the product successful there is a strong focus during development on a reliable and maintainable architecture. To support architectural reviews, a checklist will be developed. Within the checklist specific sections will be attributed to reliability and maintainability.

Which question from the list below should you include in the maintainability section of the architectural review checklist?

Options:
A.

Will the system use n-version programming for critical components?

B.

Will the user interface be implemented independently from the other software modules?

C.

Does the system have user-friendly error messages?

D.

Does the password protection of the system adhere to the latest regulations?

Questions 36

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 37

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

CTAL-TTA Question 37

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.

Questions 38

Consider the following section of code:

If ((A > B) or (C > D)) and (E = F) then

print A;

Endlf

Which of the following sets of test data can be used to achieve multiple condition coverage with the least number of tests?

CTAL-TTA Question 38

Options:
A.

Set 4

B.

Set 3

C.

Set 2

D.

Set 1

Questions 39

Consider the pseudo code provided below:

CTAL-TTA Question 39

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.

Questions 40

Consider the following section of pseudo code and associated test Input data:

If withdrawal-amount <= amount-on-deposit then Set authorize-transaction = true

Else

If withdrawal-amount <= S100 AND preferred-customer = true then Set authorize-transaction = true

Else

Set authorize-transaction = false

Endif

Endif

Input data set #1

withdrawal-amount = 160

amount-on-deposit = 100

preferred-customer = true

Input data set #2

withdrawal-amount = 500

amount-on-deposit = 500

preferred-customer = false

Input data set #3

withdrawal-amount = 50

amount-on-deposit = 500

preferred-customer = false

What would be the decision coverage achieved if each of these test input data sets were run once?

Options:
A.

100%

B.

50%

C.

0%

D.

33%