Skip to content

2-D arrays: working with a grid · ⁨二维数组:操作网格⁩

English

A grid of values

  • A normal array is a single row of values.
  • A 2-D array is a grid: it has rows and columns, like a table or a spreadsheet.
  • We use it for game boards, images, tables of marks, and more.
中文

一个数值的网格

  • 普通的数组是一行数值。
  • 二维数组(2-D array)是一个网格(grid):它有行(row)和列(column),就像一张表格或电子表格。
  • 我们用它来表示棋盘、图像、成绩表等等。

Handout

Log in or create account · ⁨登录或创建账户⁩

IGCSE, A-Level · ⁨IGCSE、A-Level⁩ & AP · ⁨与 AP⁩