Java Decision-Making Board Questions


  1. Given below is a hypothetical table showing rates of income tax for male citizens below the age of 65 years :

    Taxable Income (TI) in Rupees Income Tax in Rupees
    Doesn't exceed Rs 1,60,000 Nil
    Is greater than Rs 1,60,000 and less than or equal to Rs 5,00,000 (TI - 1,60,000) x 10%
    Is greater than Rs 5,00,000 and less than or equal to Rs 8,00,000 [(TI - 5,00,000) x 20%] + 34,000
    Is greater than Rs 8,00,000 [(TI - 8,00,000) x 30%] + 94,000

    Write a program to input the age, gender (male or female) and Taxable Income of a person.

    If the age is more than 65 years or the gender is female, display “wrong category”.

    If the age is less than or equal to 65 years and the gender is male, compute and display the Income Tax payable as per the table given above.[15 MARKS-2012]
  2. coming soon

  3. An electronics shop has announced the following seasonal discounts on the purchase of certain items.

    Purchase Amount in Rs. Discount on LaptopDiscount on Desktop PC
    0—25000 0.0%5.0%
    25001—57000 5.0%7.5%
    57001—100000 7.5%10.0%
    More than 100000 10.0%15.0%

    Write a program based on the above criteria, to input name, address, amount of purchase and the type of purchase (L for Laptop and D for Desktop) by a customer. Compute and print the net amount to be paid by a customer along with his name and address.

    (Hint : discount = (discount rate! 100)* amount of purchase Net amount = amount of purchase – discount) [15 MARKS-2009]
  4. coming soon