ICSE computer practical sample paper 1
ICSE computer practical sample paper 1: ICSE Class 10 Computer Applications practical paper with Java programming questions and solutions.
ICSE computer practical sample paper
Pronic number program
ICSE computer practical sample paper
1. Input a number to check for palindrome number or Armstrong number. Design a program to create a class special having two functions, one as palin(int a) another as Armstrong(int b)
Example 1:
INPUT
Enter number
121
OUTPUT:
It is a palindrome number
Not an Armstrong number.
Example 2:
INPUT
Enter number
153
OUTPUT:
It is not a palindrome number
It is an Armstrong number.
2. Design a program to accept any number and print its Fibonacci series, where the number entered should be between 10 to 50 if the entered number is not inside the range then print relevant message.
Example 1:
INPUT
Enter number between 10 to 50
15
OUTPUT:
1, 1, 2, 3, 5, 8, 13
Example 2:
INPUT
Enter number
52
OUTPUT:
Invalid output
icse computer practical sample paper
3. Design a program to create an array of integers, size should be entered by the user(between 5 to 20). And search a number by any search technique. If the value is not found then print relevant message.
Example 1:
INPUT
Enter number between 5 to 20
5
Enter numbers
1,2,3,5,8
Enter search number:
3
OUTPUT:
Number found at position 2
Example 2:
INPUT
Enter number between 5 to 20
8
Enter numbers
3. 1,2,3,5,8, 13, 67
Enter search number:
67
OUTPUT:
Number found at position 6
4. Write a program to accept a word of any length and reverse the string.
Example 1:
INPUT
Enter String
school
OUTPUT:
loohcs.
Example 2:
INPUT
Enter String
papa
OUTPUT:
apap
ICSE computer practical sample paper
Watch JAVA videos
Related Posts
Continue learning with these related articles

String Methods in Java for ICSE Class 10: 25 Output Questions with Answers
ICSE Class 10 Computer Applications practice on String class methods: length, charAt, indexOf, lastIndexOf, substring, replace, trim, compareTo, equals and more, with 25 board-style output questions and step-by-step answers.

Special Number Programs in Java for ICSE: Armstrong, Spy, Neon, Disarium, Pronic and More
Every special number asked in ICSE Computer Applications – prime, perfect, Armstrong, palindrome, automorphic, neon, spy, Niven, duck, buzz, Disarium, special and pronic numbers – with definitions, examples and one complete Java program that checks them all.

Math Library Methods in Java for ICSE Class 9 (with Outputs)
ICSE Class 9 Computer Applications notes on the Java Math class: sqrt, cbrt, pow, abs, max, min, ceil, floor, round, rint and random, with return types, tricky negative-number outputs and Java expressions for formulas.