"A capacity and taste for reading gives access to whatever has already been discovered by others" Abraham Lincoln

3 Books about Coding Arrays [PDF]

Updated: Oct 04, 2025 | Author:
Arrays are the foundation of programming. But what are Arrays? They're lists of things (like numbers or names). For example, we could have an array of students: students = array{"Alice", "Bob", "John"...}. Then we could retrieve each name from the array like this: students[0] => Alice. But why? Otherwise, we'd have to create a separate variable for each student, like student1="Alice", student2="Bob" and if we wanted to print a list of students, we'd have to write the "print" command as many times as there are students. But with an array, we can use a loop and write the command once:

for (i=0; i < 3; i++) {print student[i]}

What are two-dimensional arrays? Let's say we want not just create a list of student names, but have a whole list of parameters for each student (first name, last name, birthday, height). Then we can create a two-dimensional array—an array of arrays. And then we can retrieve each parameter like this: students[0][2]=>23.12.2006. However, this doesn't look very convenient and besides, in many programming languages, you can only store variables of the same type in an array. Therefore, for tasks like a list of students typically used one-dimensional array, containing Objects. Then the parameters are retrieved like this: students[0].birthday

Two-dimensional arrays, however, are perfect for storing matrices. This is very useful, since almost all machine learning and artificial intelligence systems today are based on matrix operations. Arrays allow you to write matrices directly in your code:

matrix = array {
{12, 53, 33},
{54, 22, 54},
{12, 32, 14},
}

and access each matrix element just like in higher mathematics: matrix[i][j], where i is the row number and j is the column number.

Here are some PDF books about arrays in programming:

C++ how to Program
2008 by Paul J. Deitel, Harvey M. Deitel


Download PDF

C# for Programmers
2005 by Harvey M. Deitel, Paul J. Deitel


Download PDF

PHP Arrays: Single, Multi-dimensional, Associative and Object Arrays in PHP 7
2016 by Steve Prettyman


Download PDF

See also: Top 10 eBook Organizers



How to download PDF:

1. Install Gooreader

2. Enter Book ID to the search box and press Enter

3. Click "Download Book" icon and select PDF*

* - note that for yellow books only preview pages are downloaded
Author: Maria Lin
Maria Lin, is a seasoned content writer who has contributed to numerous tech portals, including Mashable and bookrunch, as a guest author. She holds a Master's degree in Journalism from the University of California, where her research predominantly concentrated on mobile apps, software, AI and cloud services. With a deep passion for reading, Maria is particularly drawn to the intersection of technology and books, making book tech a subject of great interest to her. During her leisure time, she indulges in her love for cooking and finds solace in a good night's sleep. You can contact Maria Lin via email maria@bookrunch.com