EPIC Radiant Trainer Practice Test

Access More Questions
In a simple encoding dictionary, the entry for the key 'year' should be which pair?
Correct Answer:
year -> y
Explanation:
In a simple encoding dictionary, each word is mapped to a short code derived from the word itself. A common rule is to use the first letter of the word as its code. The word year begins with y, so its encoding is y. Therefore the pair is year -> y. This rule makes the dictionary predictable and easy to use, though in practice you’d handle potential collisions if other words also start with y.

Access more questions from this quiz

Continue to EPIC Radiant Trainer Practice Test for more practice questions and the full quiz experience.

Access More Questions