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

APS

Uploaded by

pinkisaha470
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

APS

Uploaded by

pinkisaha470
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 65

ICSE COMPUTER APPLICATION PROJECT

SESSION: 2024-2025

NAME: APURBA SAHA


CLASS: X
SECTION: B
SCHOOL: STEPPING STONE MODEL SCHOOL

ACKNOWLEDGEMENT
1
I would like to express my special thanks of
gratitude to the principal of Stepping Stone Model
School, Ms. Mita Ghosh, for her encouragement
and for all the facilities that she provided for this
Computer Project.
Also, I would like to exert my heartly thanks to
Mr. Manna, our Computer teacher, who guided
me to the successful completion of this project. I
take this opportunity to express my deep sense of
gratitude for his valuable guidance, constant
encouragement and immense motivation, which
has sustained my effort at all the stages of this
project work.

2
OUESTIONS
1. WAP to print the ASCII code of each character with position

2. WAP to change the vowel in upper case

3. Write a program to find the ENCODE form. INPUT : AbZ OUTPUT : bCa

4. WAP TO TAKE INPUT two numbers. find LCM & HCF

5. WAP TO MARGE TWO INTEGER NOS .

6WAP TO FIND THE FREQUENCY OF EACH DIGIT OF A NUMBER

7. FIND THE SUM OF THE GIVEN SERIES --- s=1+(x/1!)+(x3/2!)+(x5/3!)+.......n terms

8. FIND THE SUM OF THE GIVEN SERIES --- s=x-(x3/3!)+(x5/5!)-(x7/7!)+....... n terms

9. TAKE INPUT AN ARRAY OF SIZE 5 .CHECK THE ARRAY IS A SET OR MULTISET IF NO DUPLICATION
THAN SET OTHERWISE MULTISET

10. W.A.P to take input any integer no. Find the Minimum Prime Factor present in the no.

11. WAP TO TAKE INPUT ANY NAME . PRINT THE NAME IN TITLE CASE. INPUT : my name is hari babu
OUTPUT : My Name Is Hari Babu

12. WAP TO TAKE INPUT ANY NAME . FIND ITS Abbreviations form . INPUT : SUBHAS CHANDRA BOSE
OUTPUT: S.CHANDRA B.

13. WAP to take input any number . Check the number is a NELSON number or not . it is a no which
has 3 same digits.

14. Write a program to take input any number. check it is EVIL or not . It is a number which has even
no of 1 or even no of 0 or odd no of 1 or odd no of 0

15. WAP TO TAKE INPUT ANYDECIMAL NUMBER . CONVERT IT INTO OCTAL FORM

16. Write a program to take input any word . find its alphabital form INPUT : WATRE OUTPUT :
AERTW

17. Write a program to take input any number . Find min & max digit

18. Write a program to take Input any sentence. Delete all vowels.

19. WAP to take 5 customer name and address . find the address of a particular customer using
LINEAR SEARCH If found then print SEARCH SUCESSFUL otherwise Print NAME IS NOT ENTERED

3
20. Write a program in Java to accept a number and Display Fibonacci series up to a given number.

21. .Write a program to check a pair of numbers are Twine prime numbers or not

22. Write a program to check whether the number is Armstrong or not .

23. Write a program to input two strings. Remove all common characters from both the strings.
Print both the strings after removing the common characters.

24. Write a program to input name of 7 students . Arrange and display the name of students in
alphabetical order .

25. Write a program to input any word . Check the word is a palindrome word or not .

26. . Write a program to input number of terms . To print the given series : 5 + 55 + 555 + 5555 +
………………… n terms

27. Write a program to print the given series --- 1 + 12 + 123 + 1234 + 12345+ 123456 + 1234567 +
12345678 + 123456789

28. .Write a program to input any sentence .Remove all article from the sentence and display .

29. Write a program to input any number . Check and display the number is a palindrome number or
not .

30. Write a program to input any word . Replace all vowel with * .

4
PROGRAM 1: WAP to print the ASCII code of each character with position

VARIABLE TABLE:
SL NO VARIABLE DATATYPE DESCRIPTION

1. s String To store a String

2. len int To store the length


of String s
3. i int To get the position
of each character of
String s
4. ch char To store each
character of String s
5. n int To convert each
character into its
ASCII code

5
OUTPUT:

6
PROGRAM 2: WAP to change the vowel in upper case

7
Variable Table:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. s String To store a String
2. len int To store the length
of the String s
3. temp String To store new String
4. i int To get position of
each character of
String s
5. ch char To get each
character of String
s

OUTPUT:

8
PROGRAM 3: Write a program to find the ENCODE form INPUT : AbZ OUTPUT : bCa

9
VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. s String To input a String
2. len int To store the length
of String s
3. temp String To store new String
4. i int To get position of
each character
5. n Int To increament
/decreament a
character
6. ch char To store each
character

OUTPUT:

10
PROGRAME 4: WAP TO TAKE INPUT two numbers. find LCM & HCF

VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. a int To store 1st
number
2. b int To store 2nd
number
3. s int To store the HCF
4. l int To store the LCM

11
OUTPUT:

12
PROGRAM 5: WAP TO MARGE TWO INTEGER NOS .

VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. a int To store 1st
number
2. b int To store 2nd
number
3. n2 int To store the value
of b
4. e int To store the place
value of 1st digit of
b
5. j int To join both the
numbers

13
OUTPUT:

14
PROGRAM 6: WAP TO FIND THE FREQUENCY OF EACH DIGIT OF A NUMBER

VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. n int To store a number
2. i int To check the digits
of number n
3. c int To store the
frequency of each
digit
4. N int To store the value
of n

15
5. rem int To store the last
digit of N every
time the loop
execute

OUTPUT:

16
PROGRAM 7: FIND THE SUM OF THE GIVEN SERIES --- s=1+(x/1!)+(x3/2!)+(x5/3!)+.......n terms.

VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. x int To input a value
2. n int To input the
number of terms
3. sum double To store the sum
4. a int For calculation
5. i int To execute 1st
loop
6. s int To store factorial
7. j int To calculate
factorial

17
OUTPUT:

18
PROGRAM 8: FIND THE SUM OF THE GIVEN SERIES --- s=x-(x3/3!)+(x5/5!)-(x7/7!)+....... n terms

VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. x int To input a value
2. n int To input the
number of terms
3. sum double To store the sum
4. a int For calculation
5. i int To execute 1st
loop
6. s int To store factorial
7. j int To calculate
factorial

19
OUTPUT:

20
PROGRAM 9: TAKE INPUT AN ARRAY OF SIZE 5 .CHECK THE ARRAY IS A SET OR MULTISET IF NO
DUPLICATION THAN SET OTHERWISE MULTISET

VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. a int To store a array of
size 5
2. i int To store the
position of each
element
3. flag int For calculation
4. j int To check
duplication

21
OUTPUT:

22
PROGRAM 10: W.A.P to take input any integer no. Find the Minimum Prime Factor present in the
no.

VARIABLE TABLE:

23
SL NO VARIABLE DATA TYPE DESCRIPTION
1. n int To input a number
2. flag int For calculation
3. i int To get a factor
4. j int To check whether
the factor is prime

OUTPUT:

24
PROGRAM 11WAP TO TAKE INPUT ANY NAME . PRINT THE NAME IN TITLE CASE INPUT : my name is
hari babu OUTPUT : My Name Is Hari Babu

VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. s String To input a String
2. len int To store the
length of String s
3. temp String To store the new
String
4. i int To get the index of
each character of
String s

25
5. a char To store a
character
6. b char To store the next
character after a

OUTPUT:

26
PROGRAM 12: WAP TO TAKE INPUT ANY NAME . FIND ITS Abbreviations form . INPUT : SUBHAS
CHANDRA BOSE OUTPUT: S.CHANDRA B.

VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. s String To input a String
2. temp String To store the new
String
3. a int To store the 1st
index of space
4. b int To store the last
index of space

27
OUTPUT:

28
PROGRAM 13: WAP to take input any number . Check the number is a NELSON number or not . it is
a no which has 3 same digits.

VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. n int To input a number
2. flag int For calculation
3. l int To get the last 3
digits

29
OUTPUT:

30
PROGRAM 14: Write a program to take input any number. check it is EVIL or not . It is a number
which has even no of 1 or even no of 0 or odd no of 1 or odd no of 0

VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. n int To input a number
2. r int To store
remainder when
divide by 2
3. c int To count the
number of 1s

31
OUTPUT:

32
PROGRAM 15: WAP TO TAKE INPUT ANYDECIMAL NUMBER . CONVERT IT INTO OCTAL FORM

VARIABLE TABLE:

SL NO VARIABLE DATA TYPE DESCRIPTION


1. n int To input a number
2. N int To store the octal
form
3. p int For calculation

33
OUTPUT:

34
PROGRAM 16: Write a program to take input any word . find its alphabital form INPUT : WATRE
OUTPUT : AERTW

VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. s String To input a word
2. S String To store the new
String
3. len int To store the
length of String s
4. n int To increament the
character

35
5. temp char To store each
character from A
to Z
6. i int To get the index of
each character

OUTPUT:

36
PROGRAM 17: Write a program to take input any number . Find min & max digit

VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. n int To input a
number
2. l int To store the
maximum digit
3. s int To store the
minimum digit
4. r int To store the last
digit of n each
time the loop
execute

37
OUTPUT:

38
PROGRAM 18: Write a program to take Input any sentence. Delete all vowels.

VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. s String To input a String
2. len int To store the
length of String s
3. temp String To store the new
String
4. i int To get the index
of each character
of String s
5. ch char To store each
character of
String s

39
OUTPUT:

40
PROGRAM 19: WAP to take 5 customer name and address . find the address of a particular
customer using LINEAR SEARCH If found then print SEARCH SUCESSFUL otherwise Print NAME IS NOT
ENTERED

VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. s String To store the name
of each customer
2. a String To store the
address of each
customer
3. i int To get index of
each element

41
4. info String To input a address
to find
5. flag int For calculation

OUTPUT:

42
PROGRAM 20: Write a program in Java to accept a number and Display Fibonacci series up to a
given number.

VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. n int To input a
number
2. a int For calculation
3. b int For calculation
4. c int For calculation

43
OUTPUT:

44
PROGRAM 21: .Write a program to check a pair of numbers are Twine prime numbers or not

VARIABLE TABLE
SL NO VARIABLE DATA TYPE DESCRIPTION
1. n int To input a
number
2. n2 int To input another
number
3. c int To count
number of
factors
4. i int To get factor
5. c2 int To count
number of
factors
6. i2 int To get factor
7. diff int To calculate
difference

45
OUTPUT:

46
PROGRAM 22: Write a program to check whether the number is Armstrong or not .

VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. n int To input a
number
2. N int To store the value
of n
3. ctr int To count the
number of digits
4. sum double For calculation

47
5. d int To store the last
digit of N each
time the loop
execute

OUTPUT:

48
PROGRAM 23: Write a program to input two strings. Remove all common characters from both the
strings. Print both the strings after removing the common characters.

VARIABLE TABLE:
49
SL NO VARIABLE DATA TYPE DESCRIPTION
1. s1 String To input 1st String
2. s2 String To input 2nd String
3. temp String To form new
String from s1
4. temp2 String To form new
String from s2
5. len1 int To store the
length of String s1
6. len2 int To store the
length of String s2
7. flag int For calculation
8. i int To store index of
each character
9. j int To store index of
each character
10. ch char To store ech
character of each
String

OUTPUT:

50
PROGRAM 24: Write a program to input name of 7 students . Arrange and display the name of
students in alphabetical order .

VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. s String To store a array of
size 7
2. i int To get the index
of each element
3. ch char To store each
character from A
to Z
4. n int To increament ch

51
OUTPUT:

52
PROGRAM 25: Write a program to input any word . Check the word is a palindrome word or not .

VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. s String To input a String
2. len int To store the
length of String s
3. i Int For calculation
4. j Int For calculation
5. flag int For calculation

53
OUTPUT:

54
PROGRAM 26: Write a program to input number of terms . To print the given series : 5 + 55 + 555 +
5555 + ………………… n terms

VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. n int To input the
number of terms
2. a Int For calculation
3. b Int For calculation
4. i int For executing
loop upto n terms

55
OUTPUT:

56
PROGRAM 27: Write a program to print the given series --- 1 + 12 + 123 + 1234 + 12345+ 123456 +
1234567 + 12345678 + 123456789

VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. n int To input the
number of terms
2. a int For calculation
3. i int For executing
loop upto n terms

57
OUTPUT:

58
PROGRAM 28: .Write a program to input any sentence .Remove all article from the sentence and
display .

59
VARIABLE TABLE:
SL N0 VARIABLE DATA TYPE DESCRIPTIO
N
1. s String To input a
sentence
2. len int To store the
length of String s
3. temp String To store new
String
4. i int To get the index
of each character
5. pos int To store the
position of space

OUTPUT:

60
PROGRAM 29: Write a program to input any number . Check and display the number is a palindrome
number or not .

VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. n int To input a
number
2. N int To store the value
of n
3. a int For calculation

61
OUTPUT:

62
PROGRAM 30: Write a program to input any word . Replace all vowel with * .

63
VARIABLE TABLE:
SL NO VARIABLE DATA TYPE DESCRIPTION
1. s String To input a word
2. len int To store the
length of String s
3. temp String To form a new
String
4. i int To get the index
of each character
5. ch char To store each
character of
String s

OUTPUT:

64
CONCLUSION

This project has helped me to increase my


knowledge and experience about
programming.
In this project I have learned about different
functions/methods of java , how to use them
and execute them.

65

You might also like