0% found this document useful (0 votes)
3 views2 pages

Assignment For Grade 10 - Board Project Part 1

MATHS PRACTICE

Uploaded by

trialcodm
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)
3 views2 pages

Assignment For Grade 10 - Board Project Part 1

MATHS PRACTICE

Uploaded by

trialcodm
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
You are on page 1/ 2

Assignment for Grade 10:

Each problem in the assignment should include :


Question
Aim
Code
Output screen shot executed in bluej.
VDT
__________________________________________________________________________

1. Angles of a quadrilateral:The angles of a quadrilateral are in the


ratio 3:4:5:6. Write a program to find and display all of its angles.
[Hint: The sum of angles of a quadrilateral = 360°]
2. Discount: A shopkeeper offers 30% discount on purchasing
articles whereas the other shopkeeper offers two successive
discounts 20% and 10% for purchasing the same articles. Write
a program in Java to compute and display the discounts.
Take the price of an article as the input.
3. IT calculator: Given below is a hypothetical table showing the
rate of income tax for an India citizen, who is below or up to 60
years.

Taxable income (TI) in ₹ Income Tax in ₹

Up to ₹ 2,50,000 Nil

More than ₹ 2,50,000 and less than or (TI - 1,60,000) * 10%


equal to ₹ 5,00,000

More than ₹ 5,00,000 and less than or (TI - 5,00,000) * 20% +


equal to ₹ 10,00,000 34,000

More than ₹ 10,00,000 (TI - 10,00,000) * 30%


+ 94,000

Write a program to input the name, age and taxable income of a


person. If the age is more than 60 years then display the
message "Wrong Category". If the age is less than or equal to
60 years then compute and display the income tax payable
along with the name of tax payer, as per the table given above.
4. Resistance: The equivalent resistance of series and parallel
connections of two resistances are given by the formula:
(a) R = r + r (Series)
1 1 2

(b) R = (r * r ) / (r + r ) (Parallel)
2 1 2 1 2

Using a switch case statement, write a program to enter the


value of r and r . Calculate and display the equivalent
1 2

resistances accordingly.
5. Series 1: Write a menu driven programs in Java to display the
first ten terms of the following series:
(a) 1, 4, 9, 16,...10 terms
(b) 1, 2, 4, 7, 11,....10 terms
6. Series 2: Write a menu driven programs in Java to display the
first ten terms of the following series:
A. 0, 7, 26,....10 terms.
B. 24, 99, 224, 399,....10 terms
7. Series – sum calculation 1: Write a menu driven program
program in Java to find the sum of the given series:
(a) 1 + 4 + 9 + ...... + 400
(b) 1 + (1/3) + (1/5) + ...... + (1/19)
8. Absolute difference: Write a program to input a number and
display the new number after reversing the digits of the original
number. The program also displays the absolute difference
between the original number and the reversed number.
Sample Input: 194
Sample Output: 491
Absolute Difference= 297

9. Series – sum calculation 2: Write a menu driven program in Java


to find the sum of the given series :
(a). S = x/2 + x/5 + x/8 + x/11 + ...... + x/20
(b). S=1 /a + 3 / a + 5 / a + ...... to n terms.
2 2 2 2 3

10. Monkey and pole: In order to reach the top of a pole, a monkey
in his first attempt reaches to a height of 5 feet and in the
subsequent jumps, he slips down by 2% of the height attained in
the previous jump. The process repeats and finally the monkey
reaches the top of the pole. Write a program in Java to input the
height of the pole. Calculate and display the number of attempts
the monkey makes to reach the top of the pole.

You might also like