Practice your Advanced Technical Test Analyst certification test with free ATTA exam cram and take control of your certification preparation. At FreeExamCram, you can practice online for free using real ATTA exam dumps, verified questions, and expert-designed free online practice tests. Moreover our ISTQB ATTA exam cram backed by our confidence-boosting refund guarantee.

How many test cases would be needed to achieve 100% statement coverage?
A new Payroll system calculates the amount of tax that each employee must pay (TaxToPay) on their gross
monthly salary (in (), and the net salary (NetSal) that they will receive after that amount of tax has been
deducted It also calculates the amounts of tax (TaxPdYTD) and net salary (SalPdYTD) paid in the year to date
(YTD) by adding them to the stored amounts from last month (for month 1 these will be zero), inputs Include
Employee id (Empid) and Gross Salary this month (GrossSal). Tax Rate is looked up on the key of Employee
Id, the amounts of tax and net salary paid in the year to date are looked up on the key of (Employee Id and
[month • 1]) except that for month 1 they will be zero.
if both employees were paid the same in month 1 as in the current month 2. for which tax has now to be
calculated, which data-driven input and expected output table is correct for this situation?
Table 1
MonthEmpidGrossSalTaxRateTaxToPayNetSalTaxPdYTD
212000153001700600
222200204401760880
Table 2
MonthEmpidGrossSalTaxRateTaxToPayNetSalSalPdYTD
2120000.153001700600
2222000.24401760880
Table 3
MonthEmpidGrossSalTaxToPayNetSalTaxPdYTDSalPdYTD
11200030017006003400
12220044017608803520
Table 4
MonthEmpidGrossSalTaxToPayNetSalTaxPdYTDSalPdYTD
21200030017006003400
22220044017608803520 SELECT ONE OPTION
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?
© Copyrights FreeExamCram 2026. All Rights Reserved
We use cookies to ensure that we give you the best experience on our website (FreeExamCram). If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the FreeExamCram.