Login or Create an Account to view the mark scheme, comment, and add to a test
The Medicare Levy Surcharge (MLS) is a 1-2% levy paid by Australian taxpayers who do not have private hospital cover and who earn above a certain income. The current income threshold is AUD$90,000 for singles and AUD$180,000 for couples / families (2020-2021 financial year). Once Australians earn above these thresholds within a financial year, they must pay the MLS. Given an annual income called INCOME, a boolean flag for having private hospital cover or not called PRIVATE and another boolean flag for being single or not called SINGLE, the pseudocode below is written to output true if eligible for the MLS or false otherwise. For example, a single (SINGLE = true) person who doesn’t have private health insurance (PRIVATE = false) and is earning AUD$120,000 (INCOME = 120000) annually must pay the MLS (output true). Select the correct option for the code to replace the letter X in order to achieve the functionality described.
if PRIVATE = false then if X then output true else if INCOME > 180000 then output true else output false end if else output false end if
SINGLE = true AND INCOME >= 90000
SINGLE = false AND INCOME > 90000
SINGLE = false AND INCOME >= 90000
SINGLE = true AND INCOME > 90000

Multiple Choice1 MarkPremium
7 Uses21 Views1 Like