Here is an expected behavior for associated array in bash
$ declare -A PC=( [Monitor]=Dell [CPU]=HP ) $ echo ${PC[CPU]} HP
This gives me