Revision for class X students
After solving all the number programs you can start solving all the patterns given here. Patterns are asked almost every year in the icse computer application paper for 7 or 8 or 15 marks(for 15 marks two patterns can be asked)
After solving all the number programs you can start solving all the patterns given here. Patterns are asked almost every year in the icse computer application paper for 7 or 8 or 15 marks(for 15 marks two patterns can be asked)
Two types of patterns can be asked
- Number related: for solving these patterns you should have the basic knowledge of nested for loop and how do they work(the flow of execution in the loop). If you know how to dry run the code, it will be very easy to solve these patterns.
- String related:These patterns require the knowledge of all the string function and their working other than basic working of nested for loops. Make sure that you know the use of length() and charAt() function You can start solving these patterns. (Solution of these patterns are available in previous posts but please remember reading a program can't ever be helpful to a student, you have to solve(practice) the programs to score good marks in the exam.)Always remember that ICSE never repeats the same program in the paper, it will be different than these programs so you should know how to edit the code according the requirement of the question.
<tbody>
A
A B
A B C
A B C D
A B C D E
A B C D E F
*
*#
*#*
*#*#
*#*#*
10101
01010
10101
01010
10101
*****
****
***
**
*
1
2 1 2
3 2 1 2 3
4 3 2 1 2 3 4
3 2 1 2 3
2 1 2
1
1 2 3 4 5
2 3 4 5
3 4 5
4 5
5
4 5
3 4 5
2 3 4 5
1 2 3 4 5
*
* *
* *
* *
* *
* *
* *
* *
*
*
***
*****
*******
*********
*******
*****
***
*
54321
4321
321
21
1
*****
****
***
**
*
***
***
***
***
***
12345
2345
345
45
5
11111
1111
111
11
1
54321
5432
543
54
5
LUEJB
UEJBL
EJBLU
JBLUE
J J J J
AAA
VV
A
1
21
321
4321
54321
1
22
333
4444
55555
111
111
111
111
111
*
**
***
****
*****
****
***
**
*
J
JA
JAV
JAVA
1
2 3
4 5 6
7 8 9 10
11 12 13 14 15
J
AA
VVV
AAAA
A
AB
ABC
ABCD
ABCDE
</tbody>
Related Posts
Continue learning with these related articles

ISC Practical 2027: College Enrolment Code Validator and Stream Report – Algorithm and Java Program
Fully solved ISC Computer Science Practical 2027 question: validate college enrolment codes made of a stream, year and serial number, give the exact reason for each rejection, auto-correct lowercase streams and prepare a stream-wise report.

ISC Practical 2027: Digital Lock Security Code Analyzer – Algorithm and Java Program
Fully solved ISC Computer Science Practical 2027 number-logic question: for a 5 to 10 digit security code, find the first and last digits, odd and even position sums, product of non-zero digits, digit frequency and classify the code as STRONG, MODERATE or WEAK.

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.