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

ICSE Java Programs Last 50

The document lists 50 Java programming questions suitable for ICSE Class 10 Computer Applications, categorized into four main sections: Array Programs, Number-Based Programs, Pattern Printing, and String & Wrapper-Related Programs. Each section contains common programming tasks such as searching, sorting, and manipulating data structures. Additionally, it includes object-oriented programming concepts and methods, emphasizing practical coding skills.

Uploaded by

contactrudranil
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)
18 views2 pages

ICSE Java Programs Last 50

The document lists 50 Java programming questions suitable for ICSE Class 10 Computer Applications, categorized into four main sections: Array Programs, Number-Based Programs, Pattern Printing, and String & Wrapper-Related Programs. Each section contains common programming tasks such as searching, sorting, and manipulating data structures. Additionally, it includes object-oriented programming concepts and methods, emphasizing practical coding skills.

Uploaded by

contactrudranil
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

ICSE Class 10 - Computer Applications

Last 50 Java Program Questions (Without Answers)

Array Programs

1. Binary search in a sorted integer array (common)


2. Linear search in string array, print position or "not found" (common)
3. Find maximum element in integer array
4. Find minimum in integer array
5. Reverse an integer array (common)
6. Sum of all elements in the array
7. Count even and odd elements in array
8. Merge two arrays into a third
9. Copy elements from one array to another
10. Sort array in ascending (bubble sort)
11. Remove duplicate elements from an array
12. Split array into two halves

Number-Based Programs

1. Check if a number is a palindrome (common)


2. Check if a number is EvenPal (palindrome & even sum of digits)
3. List divisors of n (user input) (common)
4. Check if a number is prime
5. Find factorial of n (common)
6. Print Fibonacci series up to n terms (common)
7. Calculate sum of digits of n
8. Reverse digits of a number
9. Count number of digits in n
10. Check if a number is armstrong

Pattern Printing

1. Print star pyramid of size n (common)


2. Number pyramid with increasing numbers
3. Pascal's triangle up to n rows
4. Floyd's triangle up to n rows
5. Diamond star pattern
6. Square or rectangle star border
7. Right-angled number triangle
8. Hollow triangle of stars

String & Wrapper-Related Programs

1. Compare two strings using compareTo() (common)


2. Concatenate two strings (common)
3. Find first/last index of a character in string
4. Count vowels and consonants in string
5. Check if string is palindrome (common)
6. Convert string to uppercase/lowercase
7. Convert numeric string to number (Integer.parseInt) (common)
8. Use wrapper methods: parse integer, toString etc.
9. Check if string starts with or ends with a given substring
10. Count occurrences of a substring/character

OOP & Methods

1. Write a method to find greater of two numbers


2. Method for checking prime number
3. Method to reverse a string
4. Method to compute sums / factorial / palindrome
5. Parameterized constructor in a class
6. Default constructor + display method
7. Demonstrate call-by-value vs reference
8. Define a class with data members and methods (e.g. Bank Account)
9. Overload a method (same name, different params)
10. Use static method for utility function (e.g., max/min)

You might also like