返回卡包市场

Arrays

暂无描述。系统推荐的高质量记忆内容,适合每天坚持背诵学习。

卡片总数: 8内容版本: v4公开卡包更新时间: 8/1/2026

卡片预览 (8 张)

#1
正面 (问题)

What is an array?

背面 (解答)

A data structure for sorting ordered sets of data of the same data type in a single identifier

#2
正面 (问题)

What are some characteristics of an array ?

背面 (解答)

• Static data structure • Mutable • Can only store one data type

#3
正面 (问题)

What does static mean?

背面 (解答)

It means cannot change size once created

#4
正面 (问题)

What does mutable mean?

背面 (解答)

It means items can be changed once created

#5
正面 (问题)

What are the types of array? a) b) c)

背面 (解答)

a) 1 dimensional array (1D array) b) 2 dimensional array (2D array) c) 3 dimensional array (3D array)

#6
正面 (问题)

1 dimensional array (1D array)

背面 (解答)

• A linear array • An ordered static set of elements

#7
正面 (问题)

2 dimensional array (2D array)

背面 (解答)

• Can be visualised as a table • Go down rows and along columns to find position in an array

#8
正面 (问题)

3 dimensional array (3D array)

背面 (解答)

• Can be visualised as a multi-paged spread sheet or multiple 2D arrays