Computer scienceProgramming languagesTypeScriptData TypesBasic Types

Arrays and tuples

Theory

Match the Concept

Report a typo

Match the data structure with its description.

Match the items from left and right columns
Tuples
Arrays
Fixed number of elements
Any number of elements
Store multiple values of the same type and can grow/shrink in size.
A feature of arrays.
A characteristic of tuples.
Store a fixed set of elements where each can have a different type.

Create a free account to access the full topic