5.9. Glossary¶
- array¶
a data structure consisting of an ordered collection of data elements of identical type in which each element can be identified by an array index.
- collection¶
a grouping of a number of data items (possibly only zero or one) that have some shared significance or need to be operated upon together.
- hash table¶
a collection consisting of key-value pairs with an associated hash function that maps the key to the associated value.
- const (immutable)¶
unable to be modified.
- non-const (mutable)¶
the ability of an object to be modified.
- set¶
An unordered data structure consisting of unique, immutable data values.
- string¶
A sequential data structure consisting of zero or more characters.
- vector¶
sequence container storing data of a single type that is stored in a dynamically allocated array which can change in size.
- word¶
unit of data used by a particular processor design.
5.10. Matching¶
-
Q-1: Match the words to thier corresponding definition.
Feedback shows incorrect matches.
- array
- a data structure consisting of an ordered collection of data elements of identical type in which each element can be identified by an index.
- collection
- a grouping of a number of data items that have some shared significance or need to be operated upon together.
- vector
- sequence container storing data of a single type that is stored in a dynamically allocated array which can change in size.
- hash table
- a collection consisting of key-value pairs with an associated function that maps the key to the associated value.
- set
- An unordered data structure consisting of unique, immutable data values.
- string
- A sequential data structure consisting of zero or more characters.
- word
- unit of data used by a particular processor design.
- mutability
- able to be modified.
- immutable
- unable to be modified.