ISTQB CTAL-TTA Certified Tester Advanced Level Technical Test Analyst Exam Practice Test

Page: 1 / 14
Total 175 questions
Question 1

Which option below describes the BEST approach for testing a Medium risk mission- or safety-critical system?

SELECT ONE OPTION



Answer : B

For a Medium risk mission- or safety-critical system, the best testing approach includes a combination of automated tests, exploratory tests, and manual black-box tests. Option B is the most comprehensive, advocating for automated tests to ensure reliability and repeatability, highly recommending exploratory tests to cover unforeseen scenarios, and recommending manual black-box tests to cover standard use cases. This multifaceted approach ensures thorough testing coverage essential for medium risk, safety-critical systems.


Question 2

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?



Answer : C

In the pseudo-code provided, we need to identify data flow anomalies, which typically occur when variables are used improperly in terms of their definition, usage, or re-definition.

Analyzing the pseudo-code step by step:

Lines 1-4 initialize variables LOYALTY_RATING, COUNT_CRUISES, CRUISE_LENGTH, and CRUISE_ACCOM_TYPE to 0.

Lines 6-7 read the customer's cruise history.

Line 8 begins a WHILE loop that continues until COUNT_CRUISES is -1.

Lines 9-10 read the next cruise.

Lines 11-19 check the CRUISE_ACCOM_TYPE and update CRUISE_CREDITS accordingly.

Line 20 decrements COUNT_CRUISES.

Line 21 ends the WHILE loop.

Line 22 calculates LOYALTY_RATING by dividing CRUISE_CREDITS by COUNT_CRUISES.

Lines 23-24 output the CRUISE_CREDITS.

Line 25 ends the program.

Data Flow Anomalies:

Line 14: CRUISE_CREDITS is re-defined before being used.

The initial problem here is that CRUISE_CREDITS should be assigned a value before it is incremented in lines 12, 15, and 17. The code does not show any prior definition (initialization) for CRUISE_CREDITS before these increments.

Line 27: LOYALTY_RATING is defined but not subsequently used.

After LOYALTY_RATING is calculated in line 22, it is not used again. This means the calculated value serves no purpose in the program as it stands.

By considering the above points, we can confirm that the correct option is C:

Line 14: CRUISE_CREDITS is re-defined before being used (it should have been initialized before the WHILE loop or just before its first usage inside the loop).

Line 27 (Line 22 in provided pseudo-code): LOYALTY_RATING is defined (calculated) but not subsequently used.

This matches the reference provided in the ISTQB sample exam answers, confirming that C is the correct answer.


ISTQB CTAL-TTA Sample Exam Questions

ISTQB Exam Structures and Rules

ISTQB CTAL-TTA Sample Exam Answers

ISTQB-CTAL-TTA Syllabus

ISTQB Exam Structure Tables

Question 3

A new system is being built to handle the message handling of financial transactions - this system is critical to the organization's finances. The code includes loops and decisions with several multiple conditions. The nature of the system means that tests are quite time-consuming to execute. Which of the following would be the BEST white box testing option for the new software?



Answer : B

In a critical system that handles financial transactions with complex logic, ensuring thorough testing coverage is crucial. Here's an analysis of the options:

A . Multiple Condition coverage: This provides the highest level of coverage by testing all possible combinations of conditions. However, it can be very time-consuming and is often impractical for complex systems due to the sheer number of test cases required.

B . MC/DC coverage: Modified Condition/Decision Coverage is a compromise between multiple condition coverage and decision coverage. It ensures that each condition within a decision has been shown to independently affect the outcome of that decision. This level of coverage is often required in safety-critical systems because it provides thorough testing without the excessive test case count of multiple condition coverage.

C . Decision coverage: This ensures that every decision (if statement) has been executed in both true and false directions. While useful, it may not be sufficient for complex systems where the interactions between conditions are critical.

D . Statement coverage: This ensures that every executable statement in the code has been executed. It is the most basic level of coverage and is generally not sufficient for complex systems, especially those that are critical to an organization's finances.

Given the critical nature of the system and the need for a balance between thoroughness and practicality, the best option is B. MC/DC coverage. This ensures a high level of coverage that is more practical than multiple condition coverage while providing more assurance than decision or statement coverage.


Question 4

A project to develop a new system has performance efficiency listed as a critical requirement. Which of the following describes how and when the Technical Test Analyst should FIRST be involved in performance test activities for the new system?



Answer : A

Analysis:

When performance efficiency is a critical requirement, the involvement of the Technical Test Analyst (TTA) is crucial from the early stages of the project to ensure performance goals are met.

Key Activity:

A . Designing an operational profile that does not exceed hardware, software, and network bandwidth test environment budgets:

This activity involves creating a realistic operational profile that reflects how the system will be used in production. It ensures that performance testing is aligned with actual usage patterns and resource constraints. By doing this early, TTAs can identify potential performance issues and make necessary adjustments before development progresses too far.

Explanation of Incorrect Options:

B . Participating in code reviews that focus on database and component interactions as well as error handling:

While useful, this is more relevant to ensuring code quality and correctness rather than the first step in addressing performance efficiency.

C . Assisting the developers in determining CPU utilization for critical components during component testing:

This is a more detailed activity that follows the establishment of the operational profile and overall performance requirements.

D . Implementing the performance tool's load test scripts for execution in a production-like environment during system test:

This occurs later in the testing process, after the operational profile has been designed and the initial performance considerations have been addressed.


The ISTQB CTAL-TTA syllabus highlights the importance of designing operational profiles and understanding resource constraints as initial steps in performance testing.

Sources:

ISTQB-CTAL-TTA Syllabus

General knowledge on performance testing practices.

Question 5

Consider the following code segments.

Segment 1:

If a > b then setc = 12

elseif c >7 set c = 5

endif

Segment 2: setc= 12 for n = 1 to c

display c

endfor

Segment 3:

If (a > b) or (c < d) then

set c = 12

else

set c = 5

endlf

Segment 4:

set y = 4

call (segments)

segments:

start

for I = 1 to y

print y

endfor

end

Which segment would receive the highest cyclomatic complexity value?



Answer : C

Cyclomatic complexity is a measure of the number of linearly independent paths through a program's source code. Segment 3 has two conditions: if (a > b) or (c < d) and the associated else. This structure introduces multiple decision points, thereby increasing the number of potential execution paths. Comparatively, the other segments have fewer conditions and straightforward loops, which contribute to a lower cyclomatic complexity. Segment 3, with its compound condition and branching logic, likely has the highest cyclomatic complexity.


Question 6

You have been assigned the task of conducting the performance efficiency testing for a new Internet toolbar. Which of the following would be a valid test condition for this quality characteristic?



Answer : B

A valid test condition for the performance efficiency testing of a new Internet toolbar is memory usage. Testing how much memory the toolbar consumes during operation is essential to ensure it does not adversely affect the performance of the host system, particularly when the toolbar is expected to run concurrently with other applications .


Question 7

Assume you are involved in testing a Health Insurance Calculation system.

At the main screen one can enter information for a new client. The information to be provided consists of last name, first name and date of birth. After confirmation of the information, the system checks the age of the potential new client and calculates a proposed premium.

The system also has the option to request information for an existing client, using the client's ID number.

A keyword-driven automation approach is being used to automate most of the regression testing.

Based on the information provided, which TWO of the options provided would be the MOST LIKELY keywords for this application? (Choose two.)



Answer : B, D

Considering the functionalities described for the Health Insurance Calculation system, the keywords would represent the main actions that can be performed in the system. 'Enter_Client' would be a keyword for entering new client information, which is a primary feature of the system as described. 'Select_Client' would be used to retrieve information for an existing client using the client's ID number, which is another main functionality. Other options such as 'Remove_Client', 'Print_Premium', and 'Exclude_Client' are not explicitly mentioned in the provided system functionalities, therefore, 'Enter_Client' and 'Select_Client' are the most likely keywords for automation.


Page:    1 / 14   
Total 175 questions