<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.omnivision.website/index.php?action=history&amp;feed=atom&amp;title=3.5.1_Arrays_%28One-dimensional%2C_Multi-dimensional%29</id>
	<title>3.5.1 Arrays (One-dimensional, Multi-dimensional) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.omnivision.website/index.php?action=history&amp;feed=atom&amp;title=3.5.1_Arrays_%28One-dimensional%2C_Multi-dimensional%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.omnivision.website/index.php?title=3.5.1_Arrays_(One-dimensional,_Multi-dimensional)&amp;action=history"/>
	<updated>2026-08-23T08:47:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.omnivision.website/index.php?title=3.5.1_Arrays_(One-dimensional,_Multi-dimensional)&amp;diff=129&amp;oldid=prev</id>
		<title>Mr. Goldstein: Created page with &quot;=== 3.5.1 Arrays (One-dimensional, Multi-dimensional) === Imagine you have a row of mailboxes, all lined up. Each mailbox has a number (like 1, 2, 3...) and can hold one letter. If you want to find the letter in mailbox number 5, you just go directly to mailbox 5.  An &#039;&#039;&#039;Array&#039;&#039;&#039; is like a row of mailboxes (or a list of numbered slots) in a computer&#039;s memory. It&#039;s a data structure that stores a &#039;&#039;&#039;fixed-size collection of items of the same type&#039;&#039;&#039; in a specific order. Ea...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.omnivision.website/index.php?title=3.5.1_Arrays_(One-dimensional,_Multi-dimensional)&amp;diff=129&amp;oldid=prev"/>
		<updated>2025-07-08T12:42:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=== 3.5.1 Arrays (One-dimensional, Multi-dimensional) === Imagine you have a row of mailboxes, all lined up. Each mailbox has a number (like 1, 2, 3...) and can hold one letter. If you want to find the letter in mailbox number 5, you just go directly to mailbox 5.  An &amp;#039;&amp;#039;&amp;#039;Array&amp;#039;&amp;#039;&amp;#039; is like a row of mailboxes (or a list of numbered slots) in a computer&amp;#039;s memory. It&amp;#039;s a data structure that stores a &amp;#039;&amp;#039;&amp;#039;fixed-size collection of items of the same type&amp;#039;&amp;#039;&amp;#039; in a specific order. Ea...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== 3.5.1 Arrays (One-dimensional, Multi-dimensional) ===&lt;br /&gt;
Imagine you have a row of mailboxes, all lined up. Each mailbox has a number (like 1, 2, 3...) and can hold one letter. If you want to find the letter in mailbox number 5, you just go directly to mailbox 5.&lt;br /&gt;
&lt;br /&gt;
An &amp;#039;&amp;#039;&amp;#039;Array&amp;#039;&amp;#039;&amp;#039; is like a row of mailboxes (or a list of numbered slots) in a computer&amp;#039;s memory. It&amp;#039;s a data structure that stores a &amp;#039;&amp;#039;&amp;#039;fixed-size collection of items of the same type&amp;#039;&amp;#039;&amp;#039; in a specific order. Each item in the array has a special number called an &amp;#039;&amp;#039;&amp;#039;index&amp;#039;&amp;#039;&amp;#039; (starting from 0 for the first item).&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Fixed-size:&amp;#039;&amp;#039;&amp;#039; Once you create an array, you usually can&amp;#039;t change how many items it can hold.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Same type:&amp;#039;&amp;#039;&amp;#039; All items in an array must be of the same data type (e.g., all numbers, or all words).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Ordered:&amp;#039;&amp;#039;&amp;#039; The items are stored in a specific order, and you can access them using their index.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Types of Arrays:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;One-dimensional Arrays:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** This is the simplest type, like a single row of mailboxes. It&amp;#039;s a list of items.&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039; A list of student scores: &amp;lt;code&amp;gt;[85, 92, 78, 95, 88]&amp;lt;/code&amp;gt;&lt;br /&gt;
*** Score at index 0 is 85&lt;br /&gt;
*** Score at index 1 is 92&lt;br /&gt;
*** ...and so on.&lt;br /&gt;
** You would use a one-dimensional array to store a list of names, a list of temperatures, or a list of answers to a quiz.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Multi-dimensional Arrays:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** Imagine a grid of mailboxes, like a checkerboard, or seats in a movie theater that have both a row number and a seat number.&lt;br /&gt;
** A &amp;#039;&amp;#039;&amp;#039;multi-dimensional array&amp;#039;&amp;#039;&amp;#039; (most commonly a &amp;#039;&amp;#039;&amp;#039;two-dimensional array&amp;#039;&amp;#039;&amp;#039;) is an array of arrays. It&amp;#039;s used to store data in a table-like format, with rows and columns.&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039; A chessboard (8 rows, 8 columns) or a seating chart for a classroom.&lt;br /&gt;
*** To find a specific seat, you&amp;#039;d need two numbers: &amp;lt;code&amp;gt;row&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;column&amp;lt;/code&amp;gt;.&lt;br /&gt;
*** &amp;lt;code&amp;gt;grades[row][column]&amp;lt;/code&amp;gt; might store the grade of a student in a specific seat.&lt;br /&gt;
** You might use a two-dimensional array to store pixel data for an image, a game board, or a spreadsheet.&lt;br /&gt;
&lt;br /&gt;
Arrays are fundamental for storing collections of similar data in an organized and quickly accessible way, especially when you know exactly how much data you&amp;#039;ll be storing.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Bibliography:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;GeeksforGeeks - Arrays in C/C++&amp;#039;&amp;#039;&amp;#039;: https://www.geeksforgeeks.org/arrays-in-c-cpp/&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;W3Schools - Python Arrays (Lists)&amp;#039;&amp;#039;&amp;#039;: https://www.w3schools.com/python/python_arrays.asp (Python uses lists, which are dynamic arrays)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Wikipedia - Array data structure&amp;#039;&amp;#039;&amp;#039;: https://en.wikipedia.org/wiki/Array_data_structure&lt;/div&gt;</summary>
		<author><name>Mr. Goldstein</name></author>
	</entry>
</feed>