Multiple choice technology

________ variables are also referred to as 'name value pairs', because a variable's name and its value can be thought of as a pair

  1. array

  2. hash

  3. scalar

  4. vector

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Scalar variables store a single value and are referred to as name-value pairs because each variable name maps to exactly one value. Arrays store multiple indexed values, hashes store key-value pairs (which are also name-value pairs but for collections), and vectors are ordered collections. Option C is correct as scalars represent the simplest name-value pairing.