General Instructions For The Project: Don Bosco School, Berhampore
General Instructions For The Project: Don Bosco School, Berhampore
Project Class 10
(50 Marks)
1st Term
❖ 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
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:
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:
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.
*************************************************************************