<< Prev Question Next Question >>

Question 11/39

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

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (39q)
Question 1: In order to create a shareable testing service from server o...
Question 2: The challenges described below are of test automation in agi...
Question 3: Why might static analysis be used on an Agile project' SELEC...
Question 4: "As the leader of the marketing department, I want to have a...
Question 5: You are working on a project to develop an application that ...
Question 6: You have received this BDD test Given that a customer enters...
Question 7: You are defining the test approach for an Agile project that...
Question 8: What is a virtualized service?
Question 9: Which option correctly slates a recommended guideline for fo...
Question 10: Which of the following is a primary goal for refactoring tes...
Question 11: A new Payroll system calculates the amount of tax that each ...
Question 12: Why could test cases need to be refactored in an Agile proje...
Question 13: A unit test should be isolated Which option correctly descri...
Question 14: Which of the following is an example of how continuous testi...
Question 15: Which statement is correct regarding the use of exploratory ...
Question 16: An increased proportion of automated test coverage often lea...
Question 17: Which statement correctly describes service virtualization''...
Question 18: An enhancement to a Social Media application allows for the ...
Question 19: You have been working to define acceptance tests for a story...
Question 20: You have been given the following story As a shopper I want ...
Question 21: Which option below describes the BEST approach for testing a...
Question 22: When using a process-compliant approach to testing a safety-...
Question 23: Which requirements engineering technique would BEST identify...
Question 24: What level of automation testing should be included in the p...
Question 25: You are ar teviemng the fdbwng Java furxton that deteimates ...
Question 26: Which option below BEST explains the value of a test charter...
Question 27: Which option correctly states the sequence of tasks to be un...
Question 28: Which option describes a good practice when applying test au...
Question 29: The F in the mnemonic FIRST stands for Fast Which option cor...
Question 30: You are testing a new feature in the current iteration. The ...
Question 31: Consider the following section of pseudocode (Exhibit) Displ...
Question 32: Why is it important to refactor test cases to make them easi...
Question 33: As a tester on an Agile team you have been given the followi...
Question 34: Which of the following correctly describes positive characte...
Question 35: You have been asked to supply the list of keywords for a key...
Question 36: You are working for an organization that has implemented CI ...
Question 37: When test cases are re-run after refactoring, what should al...
Question 38: You are working in a project that developed a product that h...
Question 39: You have been asked to supply the data file for a data-drive...