ICSE –COMPUTER APPLICATIONS PROJECT-[2025-26]
General Instructions:
a. Use double sided comment sheet
b. Use only blue and black pen
c. Cover the file with brown cover and fill the following
➢ COMPUTER APPLICATIONS
➢ 2025-26
➢ NAME, CLASS, ROLL NO.
d. In each program following things are required
➢ Write complete question
➢ Coding
➢ Variable Description Table
➢ Input And Output
e. Last Day of Submission of Project is 20 November, 2025.
f. Project is of 100 Marks.
List of Programs:
1. Write a program to input a number and check and print whether it is a Pronic Number or not.
(Pronic number is the number which is the product of two consecutive integers)
Examples :
12 = 3 x 4
20 = 4 x 5
42 = 6 x 7
2. A Tech Number has even number of digits. If the number is split in two equal halves, then the
square of sum of these halves is equal to the number itself. Write a program to generate and print all
four digits tech numbers.
Example:
Consider the number 3025
Square of sum of the halves of 3025 = (30 + 25)2
= (55)2
= 3025 is a tech number.
3. Write a program to accept a number and check and display whether it is a spy number or not. (A
number is spy if the sum of its digits equals the product of its digits.)
Example: consider the number 1124.
Sum of the digits = 1 + 1 + 2 + 4 = 8
Product of the digits = 1 x 1 x 2 x 4 = 8
4. Write a program to accept a number and check and display whether it is a Niven Number or not.
(Niven number is that number which is divisible by its sum of digits.).
Example: Consider the number 126. Sum of its digits is 1 + 2 + 6 = 9 and 126 is divisible by 9.
5. Using switch statement, write a menu driven program to:
(i) To find and display all the factors of a number input by the user ( including 1 and the excluding
the number itself).
Example:
Sample Input : n = 15
Sample Output : 1, 3, 5
(ii) To find and display the factorial of a number input by the user (the factorial of a non-negative
integer n, denoted by n!, is the product of all integers less than or equal to n.) Example:
Sample Input : n = 5
Sample Output : 5! = 1*2*3*4*5 = 120
For an incorrect choice, an appropriate error message should be displayed.
6. Design a class to overload a function area( ) as follows:
double area (double a, double b, double c) with three double arguments, returns the area of a scalene
triangle using the formula:
area = √(s(s-a)(s-b)(s-c))
where s = (a+b+c) / 2
double area (int a, int b, int height) with three integer arguments, returns the area of a trapezium
using the formula:
area = (1/2)height(a + b)
double area (double diagonal1, double diagonal2) with two double arguments, returns the area of a
rhombus using the formula:
area = 1/2(diagonal1 x diagonal2)
7. Write a program to input 10 integer elements in an array and sort them in descending order using
bubble sort technique.
8. Write a program to accept the names of 10 cities in a single dimensional string array and their STD
(Subscribers Trunk Dialling) codes in another single dimension integer array. Search for the name
of a city input by the user in the list. If found, display "Search Successful" and print the name of the
city along with its STD code, or else display the message "Search unsuccessful, no such city in the
list".
9. Write a program to input and sort the weight of ten people. Sort and display them in descending
order using the bubble sort technique.
10. Write a program to accept name and total marks of N number of students in two single subscript
array name[] and totalmarks[].
Calculate and print:
The average of the total marks obtained by N number of students.
[average = (sum of total marks of all the students)/N]
Deviation of each student’s total marks with the average.
[deviation = total marks of a student – average]
11. Write a program to input integer elements into an array of size 20 and perform the following
operations:
(a) Display largest number from the array.
(b) Display smallest number from the array.
(c) Display sum of all the elements of the array
12. Write a program to input a sentence. Count and display the frequency of each letter of the sentence
in alphabetical order.
13. Write a program to accept a word and convert it into lower case, if it is in upper case. Display the
new word by replacing only the vowels with the letter following it.
Sample Input: computer
Sample Output: cpmpvtfr
14. Write a program to accept a string. Convert the string into upper case letters. Count and output the
number of double letter sequences that exist in the string.
Sample Input: "SHE WAS FEEDING THE LITTLE RABBIT WITH AN APPLE"
Sample Output: 4
15. Design a class to overload a function Joystring( ) as follows:
void Joystring(String s, char ch1, char ch2) with one string argument and two character arguments
that replaces the character argument ch1 with the character argument ch2 in the given String s and
prints the new string.
Example:
Input value of s = "TECHNALAGY"
ch1 = 'A'
ch2 = 'O'
Output: "TECHNOLOGY"
void Joystring(String s) with one string argument that prints the position of the first space and the
last space of the given String s.
Example:
Input value of s = "Cloud computing means Internet based computing"
Output:
First index: 5
Last Index: 36
void Joystring(String s1, String s2) with two string arguments that combines the two strings with a
space between them and prints the resultant string.
Example:
Input value of s1 = "COMMON WEALTH"
Input value of s2 = "GAMES"
Output: COMMON WEALTH GAMES
(Use library functions)
16. Using the switch statement, write a menu driven program for the following:
(a) To print the Floyd’s triangle [Given below]
1
2 3
4 5 6
7 8 9 10
11 12 13 14 15
(b) To display the following pattern:
I
IC
ICS
ICSE
For an incorrect option, an appropriate error message should be displayed.
17. Design a class to overload a function series( ) as follows:
(a) void series (int x, int n) – To display the sum of the series given below:
x1 + x2 + x3 + .......... xn terms
(b) void series (int p) – To display the following series:
0, 7, 26, 63 .......... p terms
(c) void series () – To display the sum of the series given below:
1/2 + 1/3 + 1/4 + .......... 1/10
18. Define a class named BookFair with the following description:
Instance variables/Data members:
String Bname — stores the name of the book
double price — stores the price of the book
Member methods:
(i) BookFair() — Default constructor to initialize data members
(ii) void Input() — To input and store the name and the price of the book.
(iii) void calculate() — To calculate the price after discount. Discount is calculated based on the
following criteria.
Price Discount
Less than or equal to ₹1000 2% of price
More than ₹1000 and less than or equal to ₹3000 10% of price
More than ₹3000 15% of price
(iv) void display() — To display the name and price of the book after discount.
Write a main method to create an object of the class and call the above member methods.
19. Define a class called ParkingLot with the following description:
Instance variables/data members:
int vno — To store the vehicle number.
int hours — To store the number of hours the vehicle is parked in the parking lot.
double bill — To store the bill amount.
Member Methods:
void input() — To input and store the vno and hours.
void calculate() — To compute the parking charge at the rate of ₹3 for the first hour or part
thereof, and ₹1.50 for each additional hour or part thereof.
void display() — To display the detail.
Write a main() method to create an object of the class and call the above methods.
20. Define a class Student as given below:
Data members/instance variables:
name, age, m1, m2, m3 (marks in 3 subjects), maximum, average
Member methods:
a. A parameterized constructor to initialize the data members.
b. To accept the details of a student.
c. To compute the average and the maximum out of three marks.
d. To display the name, age, marks in three subjects, maximum and average.
Write a main method to create an object of a class and call the above member methods.