Arrays - ISC Class 11 Computer Science Notes, Diagrams and Solved Questions
Arrays as structured data with constant-time access, traversal for totals, maximum and minimum, linear and binary search, bubble, selection and insertion sort, two-dimensional arrays, and solving systems of linear equations by Gaussian elimination.
In this chapter
Declaring, creating and indexing arrays, and why access is constant time
Traversal: sum, average, maximum and minimum with their positions
Linear search on any array and binary search on a sorted array
Bubble sort with an early-stop flag
Selection sort and insertion sort, and how the three sorts compare
Two-dimensional arrays: rows, columns, diagonals and the transpose
Solving linear equations with an augmented matrix and Gaussian elimination
Counting comparisons, matrix multiplication and pivoting