0% found this document useful (0 votes)
51 views3 pages

General Instructions For The Project: Don Bosco School, Berhampore

Uploaded by

DR. Shemim Begum
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)
51 views3 pages

General Instructions For The Project: Don Bosco School, Berhampore

Uploaded by

DR. Shemim Begum
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/ 3

DON BOSCO SCHOOL, BERHAMPORE

Project Class 10
(50 Marks)
1st Term

General instructions for the project


All projects should be submitted in proper Hard Covered Project Files, properly covered with
Art paper and cellophane paper. (No Project Files will be accepted if they don’t satisfy the
above mentioned requirements)

❖ The first page within the project should have the details of the student (Name, class, sec,
Subject, Roll No. and school name) and the Project Topic: CLASS X COMPUTER
APPLICATION, ICSE PROJECT WORK (1st TERM)
❖ The second page of the project should contain the Certificate Page. Certificate page
format has been provided in a separate pdf. Download and print the Certificate page.
❖ The third page of the project should contain the Acknowledgement Page.
❖ The fourth page of the project should be the Contents page showing the list of programs
(Brief Info about the program in one line) along with the page nos.
❖ The fifth page of the Project should have an Introduction about the Project (where you
should be writing in brief about the Java language and platform, BlueJ software.)
❖ From next Page it should be the list of programs one after the other. Each program
should be having the source code, written on the ruled side, and a screen shot of the
program execution (output) pasted on the blank side of the file paper.
❖ Second last page you have to write the conclusion
❖ Last page you will write bibliography.

Each program should be well documented using comments wherever necessary and a variable glossary in the
format given below:
Description/usage of the
Variable Name Data Type
variable

Submission Date: - 26th JUNE 2024


JAVA PROGRAMS
1. A computer salesman gets commission on the following basis:
Sales Commission Rate
Rs. 0 - 20,000 3%
Rs. 20,000 - 50,000 12%
Rs. 50,001 and more 31%
After accepting the sales as input, calculate and print his commission amount and rate of
commission.

2. Write a program to input two unequal numbers. Display the numbers after swapping their
values in the variables without using a third variable.
Sample Input: a = 76, b = 65
Sample Output: a = 65, b = 76

3. Write a program to assign values the variable basic salary and calculate the DA and the gross
salary and print them. The DA is calculated as per the rules given below:
if basic< 2000 then DA is 5% of basic
if basic> = 2000 & <7000 then DA is 8% of basic
if basic> = 7000& <10000 then DA is 10% of basic
if basic> = 10000 then DA is 12% of basic
Gross Salary = Basic + DA.

4. Write a program in Java that accepts the seconds as input and converts them into the
corresponding number of hours, minutes and seconds. A sample output is shown below:
Enter Total Seconds:
5000
1 Hour(s) 23 Minute(s) 20 Second(s)

5. Write a program in Java, using the Scanner methods, to read and display the following
details:

Name - as a String data type


Roll Number - as an integer data type
Marks in 5 subjects - as a float data type

Compute and display the percentage of marks.


6. Write a program in Java that takes input using the Scanner class to calculate the Simple
Interest and the Compound Interest with the given values:

i. Principle Amount = Rs.1,00,000


ii. Rate = 11.5%
iii. Time = 5 years
Display the following output:

i. Simple interest
ii. Compound interest
iii. Absolute value of the difference between the simple and compound interest.

7. In an election, there are candidates X and Y. On the election day, 80% of the voters go for
polling, out of which 60% vote for X. Write a program to take the number of voters as
input and calculate:
(i) number of votes X get
(ii) number of votes Y get

8. A man spends (1/2) of his salary on food, (1/15) on rent, (1/10) on miscellaneous. Rest of
the salary is his saving. Write a program to calculate and display the following:

1. money spent on food


2. money spent on rent
3. money spent on miscellaneous
4. money saved

Take the salary as an input.

9. Accept a number and check whether the number is divisible by both 2 and 3 or not.

10. A library charges fine for books returned late. Following are the fines: first five days 40
paisa per day, Six to ten days 65 paisa per day, above 10 days 80 paisa per day. Design a
program to calculate the fine assuming that a book is returned N days late.

*************************************************************************

You might also like