• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 38 pages
Summary

Summary Highly structured java arrays and String basics.

Document preview thumbnail
Preview 4 out of 38 pages

You would be getting advance information for strings and arrays for buying these special notes.

Content preview

{ }
ICSE · CLASS 10 · COMPUTER APPLICATIONS




Java Arrays
Master Revision Handbook
Single & Two-Dimensional Arrays — Complete Board Edition


A complete, examiner-focused revision system covering array declaration, memory
representation, searching, sorting, and board-style programming — built for the 2027
ICSE Board Examination.


1D & 2D Arrays 4 Core Algorithms Previous Year Analysis 100+ Practice Qs




class ArrayDemo {
public static void main(String[] args) {
int[] marks = {92, 85, 78, 96, 88};
// binary search needs a sorted array first
System.out.println("Ready for the 2027 boards.");
}
}




Prepared for Manjot · 2027 ICSE Board · V10 Handbook System (White Edition)

,JAVA MASTER HANDBOOK Arrays · Chapter 7


NAVIGATE THE HANDBOOK


i Table of Contents

01 Chapter Roadmap 2
Visual overview of the entire Arrays chapter


02 Smart Concept Notes 3
Need for arrays, declaration, memory layout, initialisation, bounds


03 Array Reference — Declaration, Memory & Rules 7
Every syntax form, memory formula, default value and legal-range rule


04 Searching & Sorting — Algorithm Reference 8
Linear Search, Binary Search, Selection Sort, Bubble Sort explained


05 Comparison Zone 10
1D vs 2D, Linear vs Binary, Selection vs Bubble, Array vs Object & more


06 Programming Corner 12
6 full board-style programs with algorithm, dry run & examiner tips


07 Output Prediction Lab 26
15 trap-based output questions with full explanations


08 Previous Year Analysis 29
ICSE 2022 & 2025 questions mapped + recurring board patterns


09 Exam Practice Zone 30
Short answer, programming, output, error-spotting, assertion & HOTS


10 Memory Zone 33
Mnemonics, quick tricks, confusions, do's & don'ts


11 Rapid Revision 35
Cheat sheets, syntax sheet, error checklist, Top 25 questions


HOW TO USE THIS HANDBOOK
First read: Sections 1–2. Deep study: Sections 3–6 (keep a Java editor open and type every program yourself). Final 3 days before the exam: Sections 7, 10
and 11 only. Section 8 tells you exactly what the examiner tends to repeat — do not skip it.




ICSE Class 10 - Computer Applications - ARRAYS Page 1 of 37

,JAVA MASTER HANDBOOK Arrays · Chapter 7


BIG PICTURE FIRST


01 Chapter Roadmap

Arrays solve exactly one core problem: handling many values of the same type without drowning in separate variable names. Everything in
this chapter branches from that single idea — a single-dimensional array (a simple list) and a two-dimensional array (a table with rows
and columns). Once you can build one, the chapter simply asks what you can do with it: search it (Linear / Binary) and sort it (Selection /
Bubble). Use this map as your 60-second refresher before every revision session.

◆ The One Diagram To Remember

1-D Array — a List 2-D Array — a Table
One row of boxes, each holding one value of the same type. Rows and columns — literally an array of arrays. Position
Position is given by a single index. needs a row index and a column index.

int[] marks = new int[5]; int[][] sales = new int[5][12];
marks[0] = 92; sales[0][0] = 200;


Access needs one subscript: marks[i] . Best for: a single Access needs two subscripts: sales[r][c] . Best for: a grid
list of readings — marks, sales, temperatures. of data — students × test scores, day × month sales.



★ BOARD FAVOURITE CONCEPT
"Why do we need arrays?" is one of the most repeated 2–3 mark theory questions in ICSE papers. Your one-line answer: "Arrays let us store and process
many values of the same type using a single name and index, instead of declaring a huge number of separate variables that would be impossible to manage
— especially inside a loop."



◆ Roadmap of This Chapter

1. Need for Arrays — solves the "50 separate variables" problem with one indexed name.
2. Single-Dimensional Arrays — declaration, the 2-step creation process, initialisation, memory layout (contiguous, size × count), out-of-
bounds subscripts.
3. Two-Dimensional Arrays — row/column table, M×N elements, row-major memory, byte formula rows × columns × size.
4. Searching — Linear Search (works on any array) vs Binary Search (sorted array only, divide-and-conquer).
5. Sorting — Selection Sort (repeatedly pick the smallest) vs Bubble Sort (repeatedly swap out-of-order neighbours).
6. Arrays vs Objects — arrays are objects in Java (reference types); == and equals() compare reference, not content.
7. Advantages & Disadvantages — a fixed size is simultaneously the array's greatest strength and its biggest limitation.

NOTE — CONNECTING TO YOUR STRING HANDLING CHAPTER
You already met "reference type" behaviour in Chapter 8 (StringBuffer). Arrays behave the same way: two array variables can secretly point to the same
block of memory, so changing one through one name can affect the other. Section 5 revisits this exact idea with array-specific examples.




ICSE Class 10 - Computer Applications - ARRAYS Page 2 of 37

, JAVA MASTER HANDBOOK Arrays · Chapter 7


UNDERSTAND BEFORE YOU MEMORISE


02 Smart Concept Notes

◆ 2.1 Why Do We Need Arrays?

Imagine storing the marks of 50 students. Without arrays you would need 50 separate variable names — marks0, marks1, marks2 …
marks49 — and no sensible way to loop through them, since a for loop cannot generate a new variable name on every pass. An array
solves this with one name and an index that a loop variable can drive directly.

★ BOARD FAVOURITE CONCEPT
"Why do we need arrays?" / "State the need for arrays" is a repeated 2-mark theory question. One-line answer: "Arrays let us store and process many values
of the same type using a single name and index, avoiding the need for a huge number of separate variables that a loop could never generate on its own."



◆ 2.2 What Is An Array?

DEFINITION
An array is a collection of variables of the same data type, referred to by a common name, where each individual element is accessed using an index (also
called a subscript). In Java, indexing always starts at 0.


TERM MEANING

Base type The data type of every element in the array (all elements must share it)

Array name The single reference name used to access the whole collection

Size / length The fixed number of elements the array can hold, decided at creation

Index / subscript The position of an element, counted from 0 to size−1



◆ 2.3 Declaring & Creating Arrays — The Two-Step Process

Creating a usable array in Java is really two separate actions — examiners specifically like to test whether students understand both steps
exist.



JAVA — THE TWO STEPS
// Step 1: declare a reference (no memory for elements yet)


int marks[]; // or: int[] marks;



// Step 2: create the array object using 'new'


marks = new int[50];



// Combined in one line (most common style):


int marks[] = new int[50];


NOTE
Both type arrayName[] and type[] arrayName are legal and identical in meaning — your textbook uses both forms interchangeably. Legal
subscripts for this array run from marks[0] to marks[49] .



◆ 2.4 Using Array Elements

Once created, every element is accessed as arrayName[index] , and can be used exactly like a normal variable of the base type — read
from, written to, or used inside an expression or loop.




ICSE Class 10 - Computer Applications - ARRAYS Page 3 of 37

Document information

Uploaded on
July 30, 2026
Number of pages
38
Written in
2025/2026
Type
Summary
$3.69

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
2
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions