logo

Topic study hub

Dictionaries

Official AQA 7517 section 4.2.7.

0

Objectives

5

Flashcards

7

Questions

36 min

Study time

AqaA LevelComputer ScienceFundamentals of data structures

Choose a revision tool

Start revising Dictionaries

Syllabus checklist

What you need to know

0 objective pages available

Dictionaries1 objectives
  • Dictionaries: Be familiar with the concept of a dictionary. A collection of key-value pairs in which the value is accessed via the associated key. Be familiar with simple applications of dictionaries, for example information retrieval, and have experience of using a dictionary data structure in a programming language. Information retrieval: For example, the document 'The green, green grass grows' would be represented by the dictionary: {‘grass’: 1, ‘green’: 2, ‘grows’: 1, ‘the’: 1} ignoring letter case. 50

Key terms

DictionaryKey-value pair

Exam tips

  • State what both parts represent: When explaining a dictionary used for word information, identify the words as keys and the occurrence totals as values.

Common mistakes

  • Confusing a key with its value: "green" is the key and 2 is its associated value.

Practice preview

Continue by objective

Objectives are grouped by subtopic so students can jump straight to the exact skill they want to revise.

Related topics

Study nearby topics next