0% found this document useful (0 votes)
10 views

Computer Project Class IX UNIT

Project
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Computer Project Class IX UNIT

Project
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Computer Application Project for Class IX (2022-23)

Unit Test: Question No. 1 to 8

Question 1

A shopkeeper offers 10% discount on the printed price of a mobile phone. However, a
customer has to pay 9% GST on the remaining amount. Write a program in Java to calculate
the amount to be paid by the customer taking printed price as an input.

Question 2

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.

Question 3

Write a program to input time in seconds. Display the time after converting them into hours,
minutes and seconds.
Sample Input: Time in seconds: 5420
Sample Output: 1 Hour 30 Minutes 20 Seconds

Question 4

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

Question 5

A certain amount of money is invested for 3 years at the rate of 6%, 8% and 10% per annum
compounded annually. Write a program to calculate:

1. The amount after 3 years.


2. The compound interest after 3 years.

Accept certain amount of money (Principal) as an input.


Hint: A = P * (1 + (R1 / 100)) T * (1 + (R2 / 100))T * (1 + (R3 / 100))T and CI = A – P
Question 6

Write a program to find the result of a 2 + 2ab + b2 using ‘a’ and ‘b’ as user input.

Question 7

Write a program to take the temperature in Celcius and convert and print the temperature in
Fahrenheit. [f = (c * (9/5)) + 32]

Question 8

Write a program to take number of years, months and days from the user and print the total
number of days (Consider 30 days in a month).

Sample input: 1 year 2 months 15 days


Sample output: Total 435 days

_________

General Instructions to Follow

 All programs should be compiled and properly executable in BlueJ.


 Copy the Question, Code, Variable description table and the output
of each program in a single Word file. Each question should start from
a new page.

 Put a simple border in all pages.

 Font Style will be “Times New Roman”.

 Font Size of Questions will be 12, and Code is 11.

 Page No. should be there at the bottom-middle position in the project


printed copy.

 The Cover Page and Index page will be provided later.

 Add the Acknowledgement after the Cover Page.

You might also like