0% found this document useful (0 votes)
4 views7 pages

Slab Based

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views7 pages

Slab Based

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Slab-Based Java Programs Worksheet (ICSE & ISC)

1. Electricity Bill Calculation

Calculate electricity bill based on the following slabs:

Units Consumed Rate per Unit

Up to 100 ₹2.50

101 – 300 ₹4.00

Above 300 ₹5.50

2. Income Tax Calculation

Calculate income tax according to the slabs:

Annual Income Tax Rate

Up to ₹2,50,000 Nil

₹2,50,001 – ₹5,00,000 5%

₹5,00,001 – ₹10,00,000 20%

Above ₹10,00,000 30%

3. Telephone Bill

Calculate the telephone bill based on calls made.

Number of Calls Charge per Call

Up to 100 ₹1.00

101 – 200 ₹1.50

Above 200 ₹2.00


4. Library Fine

Calculate the fine based on the number of days a book is returned late.

Days Late Fine per Day

Up to 5 days ₹2

6 – 10 days ₹5

Above 10 days ₹10

5. Water Bill Calculation

Calculate the water bill according to the following slabs.

Consumption (Litres) Rate per Litre

Up to 500 ₹0.50

501 – 1000 ₹0.75

Above 1000 ₹1.00

6. Courier Charges

Calculate courier charges based on parcel weight.

Weight (kg) Charge

Up to 2 kg ₹50

Above 2 kg up to 5 kg ₹100

Above 5 kg ₹150
7. Mobile Data Recharge

Calculate recharge amount based on data usage.

Data Used (GB) Charge per GB

Up to 10 GB ₹10

11 – 30 GB ₹8

Above 30 GB ₹5

8. Employee Bonus

Calculate bonus according to years of service.

Years of Service Bonus

Less than 5 years 5% of salary

5 – 10 years 10% of salary

Above 10 years 15% of salary

9. Parking Charges

Calculate parking fee based on hours parked.

Hours Charge

Up to 2 hours ₹20

3 – 5 hours ₹50

Above 5 hours ₹100


10. Shopping Discount

Calculate discount according to purchase amount.

Purchase Amount Discount

Up to ₹1000 5%

₹1001 – ₹5000 10%

Above ₹5000 15%

11. Examination Fee

Calculate examination fee based on number of subjects.

Subjects Fee per Subject

Up to 3 ₹300

4–6 ₹250

Above 6 ₹200

12. Internet Café Charges

Calculate internet charges based on usage time.

Time Used Charge per Hour

Up to 2 hours ₹30

3 – 5 hours ₹25

Above 5 hours ₹20


13. Train Ticket Fare

Calculate train fare according to distance travelled.

Distance Fare per km

Up to 100 km ₹2

101 – 500 km ₹1.5

Above 500 km ₹1

14. Courier Insurance

Calculate insurance premium.

Parcel Value Premium Rate

Up to ₹5000 1%

₹5001 – ₹20000 2%

Above ₹20000 3%

15. School Tuition Fee

Calculate annual tuition fee.

Monthly Fee Discount

Up to ₹2000 5%

₹2001 – ₹5000 10%

Above ₹5000 15%


16. Hotel Room Rent

Calculate room rent according to number of days stayed.

Days Stayed Rent per Day

Up to 3 days ₹1500

4 – 7 days ₹1200

Above 7 days ₹1000

17. Courier Delivery Time

Calculate delivery charge.

Delivery Time Charge

Same Day ₹200

Next Day ₹100

Standard ₹50

18. Salary Increment

Calculate increment according to salary.

Current Salary Increment

Up to ₹20,000 5%

₹20,001 – ₹50,000 10%

Above ₹50,000 15%


19. Cinema Ticket Booking

Calculate total ticket cost.

Number of Tickets Discount

Up to 5 No Discount

6 – 10 5%

Above 10 10%

20. Bank Interest Calculation

Calculate annual interest.

Deposit Amount Interest Rate

Up to ₹50,000 4%

₹50,001 – ₹2,00,000 6%

Above ₹2,00,000 8%

You might also like