0% found this document useful (0 votes)
15 views5 pages

9TH Project

The document outlines the internal assessment assignments for Std. IX Computer Applications at Kline Memorial School of UBS for the academic year 2025-2026. It includes guidelines for submitting Java programs, a sequence of required components, and specific programming tasks to be completed. The submission deadlines for both soft and hard copies are also provided.

Uploaded by

soni30061984
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)
15 views5 pages

9TH Project

The document outlines the internal assessment assignments for Std. IX Computer Applications at Kline Memorial School of UBS for the academic year 2025-2026. It includes guidelines for submitting Java programs, a sequence of required components, and specific programming tasks to be completed. The submission deadlines for both soft and hard copies are also provided.

Uploaded by

soni30061984
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/ 5

Kline Memorial School of UBS

Computer Applications
Std. IX
Assignments for Internal Assessment 2025-2026
Guidelines:

 Type the following Java programs in BlueJ. Compile and execute the programs.
 Take a screenshot of the source program and output window.
 Include comments wherever necessary. (3 to 4 comments)
 Make a variable description table at the end of each program.
 Take printouts of all programs.
 Include Java program, variable description table, and output screen.
 Mention the student’s name, roll no. , class/div. on the title page. Title page will be
provided you have to edit in that file only.
 Include acknowledgement, conclusion, and bibliography.
 File the project. Spiral binding is a must.
 Soft copy of project should be submitted on the email id provided below
Email id – Will be Notified Later
 Last Date of Submission: Soft copy: 14/09/2025 Hard copy: 10/11/2025

Sequence:

 Question
 Java program screenshot
 Output screen screenshot
 Variable description table
 Screenshot of program and output only
 Question and variable description table must be typed manually no screenshot of
those will be acceptable

Font Settings:

Style – Times new roman Size – 14 Margin – 1inch all sides


Paper size – A4 paper
Footer
Style – grid Insert page no at bottom right corner
Name of the student at bottom left corner
Subject – computer application in middle

Page 1|5
Assignments for Internal Assessment

1. Write a program to initialize two integer variables a and b with 5 and 6


respectively and interchange them. Thus after interchanging, a and b will be
6 and 5 respectivelsssy.

2. Write a program to initialize an int variable ‘a’ with 76498 and from it
extract the first digit and store it into a variable f and extract the last digit into
a variable e and display both these digits.

3. Write a program to input time in seconds and display the time broken up as
hours, minutes and seconds.
For Example:
INPUT: Enter Time in Seconds: 4326
OUTPUT:
Time in hours:1
Time in minutes:12
Time in seconds:6

4. Write a program to input the length, breadth and height of a cuboid and find
its Volume and Total Surface Area.
Note: Volume of a cuboid= length*breadth*height
Total Surface Area=2*(length*breadth + breadth*height + height*length)

5. Write a program to input the dimensions of a rectangle and find the area of
that square whose Perimeter is equal to the perimeter of the rectangle.

6. Write a program to input the Basic Pay of an employee and find the gross
pay of the employee for the following allowances and deductions.
Dearness Allowance = 25% of Basic Pay
House Rent Allowance=15% of Basic Pay
Provident Fund=8.33% of Basic Pay
Net Pay=Basic Pay + Dearness Allowance + House Rent Allowance
Gross Pay= Net Pay – Provident Fund

7. Write a program to input a number. Evaluate and display the results based on
the number entered by the user:
(a) Absolute value of the number
(b) Square root of the number
(c) Cube of the number
(d) Random number between 0 (Zero) and 1 (One)

Page 2|5
8. Write a program to generate 2 random integers between 10 to 99 (both
inclusive) and find their sum, product and difference.

9. Write a program to input the three sides of a triangle and find the perimeter
and area of the triangle. If a, b and c are the 3 sides then,
Perimeter = a + b + c
𝑎+𝑏+𝑐
𝐴𝑟𝑒𝑎 = √𝑠(𝑠 − 𝑎)(𝑠 − 𝑏)(𝑠 − 𝑐) 𝑤ℎ𝑒𝑟𝑒 𝑠 =
2

10. Mr. Kumar is an LIC agent. He offers discount to his policy holders on the
annual premium. However, he also gets commission on the sum assured as
per the given tariff.

Sum Assured Discount Commission


Up to ₹ 100000 5% 2%
₹ 100001 and up to ₹ 200000 8% 3%
₹ 200001 and up to ₹ 500000 10% 5%
More than ₹ 500000 15% 7.5%

Write a program to input the name of the policy holder, the sum assured and
first annual premium. Calculate the discount of the policy holder and the
commission of the agent. The program displays all the details as:

Name of the policy Holder : ____________________


Sum assured : ___________________
Premium : ____________________
Discount on the first premium : ___________________
Commission of the agent : ____________________

11. Write a program to accept three sides of a triangle as parameter and check
whether it can form a triangle or not. If it forms a triangle, check whether it is
an acute angled, obtuse angled or right-angled triangle.
(Hint:
 To form a triangle, each side should be less the sum of the other two
sides.
 To form an acute angled triangle the square of every side should be
less than the sum of the squares of the other two sides.
 To form an obtuse angled triangle the square of any side should be
greater than the sum of the squares of the other two sides.
 To form a right-angled triangle the square of any side should be equal
to the sum of the squares of the other two sides.)

Page 3|5
12. Write a menu-driven program to check whether a number is
i) Even or odd
ii) Multiple of 17 or not
iii) Two digit number or not.

13. Write a program to input an integer and using ternary operator check whether
it is an Even or an Odd number.

14. An electricity company charges their consumers according to the units


consumed per month according to the given traffic:

Units Consumed Charges


Up to 100 units ₹ 2 per unit
More than 100 units and up to 200 units ₹ 1.80 per unit
More than 200 units ₹ 1.50 per unit
In addition to the above, every consumer has to pay ₹ 200 as Service Charge
per month. Write a program to input the amount of units consumed and
calculate the total charges payable (Bill) by the consumer.

15. Write a program to find the sum of 1st 10 numbers of Fibonacci series i.e. 1,
1, 2, 3, 5, 8, 13….
Fibonacci series is such a series which starting from 1 and 1, and subsequent
numbers are the sum of the previous two numbers.

16. Write a program to input two integers and check whether it forms an
amicable pair or not. An amicable pair is such that, the sum of the factors
excluding itself of one number is the other number and sum of the factors
excluding itself of the other number is this number.
Example, (220, 284). Since sum of factors excluding itself of:
220= 1+2+4+5+10+11+20+22+ 44+55+110=284
284= 1+ 2+4+71+142=220.

17. A Tech Number has even number of digits. If the number is split in two
halves then the square of sum of these halves is equal to the number itself.
Write a program to generate and print all four digit tech number.
Example:
Consider the number: 3025
Square of sum of the halves of 3025 = (30+25)2
= (55)2
= 3025 is a tech number

18. Write a program to roll a dice until six comes up. Display the outcomes
except when a one comes up. Also, display the number of iterations it takes.

Page 4|5
19. Using nested loops write programs for each of the following patterns on the
screen:

A. 1 2 3 4 5
1 2 3 4
1 2 3
1 2
1

B. 1
2 1
3 2 1
4 3 2 1
5 4 3 2 1

20. Using nested loops write programs for each of the following patterns on the
screen:

A. 1 0 1 0 1
0 1 0 1 0
1 0 1 0 1
0 1 0 1 0
1 0 1 0 1

B. 5 5 5 5 5
5 4 4 4 4
5 4 3 3 3
5 4 3 2 2
5 4 3 2 1

Page 5|5

You might also like