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

Computer Project (Part-1) 2025-2026

The document outlines instructions for a Computer Applications Project in Java, requiring students to write various programs and submit them by June 25, 2025. It includes tasks related to number-based questions, patterns, series, and array manipulations, along with guidelines for documentation such as variable description tables and an index. The project is divided into two parts, each worth 50 marks, totaling 100 marks.
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)
5 views2 pages

Computer Project (Part-1) 2025-2026

The document outlines instructions for a Computer Applications Project in Java, requiring students to write various programs and submit them by June 25, 2025. It includes tasks related to number-based questions, patterns, series, and array manipulations, along with guidelines for documentation such as variable description tables and an index. The project is divided into two parts, each worth 50 marks, totaling 100 marks.
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

Computer Applications Project (Part-1)

Instructions:
• Write the following Java programs neatly in a separate long register.
• Please mention your Name, Class, Section and Roll Number on the cover page of notebook clearly.
• Prepare Variable Description Tables (VDT) for at least 10 programs.
• Create a detailed index (either paste this sheet in your notebook or list the program numbers with descriptions).
• Part 1 will be of 50 marks and Part 2 will also be of 50 marks (Total 100 Marks)
• Submission Deadline : 25th June 2025

• Numbers Based Questions: Practice java programs to check following numbers-


1. Factorial: is product of all numbers from 1 to given number, 5! → 1*2*3*4*5
2. Prime Number: has only 2 factors, 1 and number itself
3. Perfect Number: sum of all factors is equal to double of number, e.g. 6
4. Twin Prime: pair of prime numbers with a difference of 2, e.g. (3 & 5), (5 & 7), (11 & 13) etc
5. HCF: Highest common factor of any two given numbers (HCF)
6. LCM: Least common multiple of any two number (LCM), without using any formula
7. Calculate sum of all digits at even place and odd places separately.
8. Armstrong Number: is equal to sum of cube of its digits, e.g., 153 → 13+53+33
9. Neon Number: for which sum of digits of its square is equal to number,9 2→81(8+1=9)
10. Palindrome Number: is equal to its reverse, e.g., 1221, 454 etc
11. Harshad Number: Number is divisible by sum of all digits, 200
12. Special 2 digit number: sum of all digit is equal to product of all digits, 22,
13. Special Number: is equal to sum of factorial of its digits, e.g., 145 →1!+4!+5!
14. Automorphic Number: is present at the end of its square, e.g., 252=625,
15. Magic Number: ultimate sum of digits of number and their successive sum, till sum is a single digit
value, is 1, e.g., 199 →19(1+9+9)→10 (1+9) →1 (1+0)
• Patterns: Write a java program to print following patterns on computer’s screen-
16. 2 4 6 8 17. 3 18. 4
4 6 8 3 5 3 4 3
6 8 3 5 7 2 3 4 3 2
8 3 5 7 9 1 2 3 4 3 2 1

19. 2 # 20. A1 21. 1


3 4 # A1 B2 2 4
5 6 7 # A1 B2 C3 3 6 9
8 9 1 2 # A1 B2 C3 D4 4 8 12 16

• Series : write a java program to print calculated value “Res”, after solving following series-
22. 𝑅𝑒𝑠 = (1+2) + (1+3+5) + (1+4+7+10)……..+ (1+6+11+16+21)
23. 𝑅𝑒𝑠 = 1 + 3 + 6 + 10 + 15 + 21 + ⋯ . . +𝑛 𝑡𝑒𝑟𝑚𝑠
1
𝑥 𝑥2 𝑥3 𝑥𝑛
24. 𝑅𝑒𝑠 = 5 + 1! + + + ⋯+
2! 3! 𝑛!
√2 √3 √4 √𝑛
25. 𝑅𝑒𝑠 = − + − ⋯ … … . ±
1! 2! 3! (𝑛−1)!

• Arrays
26. Binary Search: Initialize an array with 10 numbers, arranged in ascending order and search it for a
given value using “Binary Search Technique”
27. Bubble Sort: Input Name and capital of 20 countries and print them in ascending order of their
names (Alphabetically), using “Bubble Sort algorithm” , in following format-
Country Capital
India New Delhi
Nepal Kathmandu
xxxx xxxx
28. Write a java program to input a string and to print all words in Descending order according to total
number of letters present in the words, using-
a. Exchange Selection Sort Algorithm
b. Bubble sort Algorithm
29. Write a java program to input a double dimensional array and print-
• Inputted array in matrix form
• Sum of all Prime elements
• Sum of all elements of left diagonal
• Sum of all elements of right diagonal

30. Slab Based Programs) Write a java class to calculate and print the electricity bill to be paid by a
customer, using following conditions. Assume that the customer pays a monthly rent for meter @
100/KW/month-
No. of units Charge per unit
Upto 100 units ₹ 1.50
For the next 100 units ₹ 2.00
For next 50 units ₹ 2.50
Beyond 250 units ₹ 4.00

31. Slab Based Programs) Write a java class to calculate the income tax by taking monthly salary of an
employee based on the following conditions:
Annual income(Rs) Tax
Upto 130000 No tax
Between 130000 – 200000 15% of the amount exceeding over ₹ 130000
From 200000 – 250000 ₹ 5000 + 20% of the amount exceeding over ₹ 2000000
Above 250000 30% of the amount exceeding ₹ 250000

You might also like