CBSE CS

cbse cs logo

Home

Dictionary in Python

Syllabus in Dictionary class 11

 

Introduction, accessing items in a dictionary using keys, mutability of a dictionary (adding a new term, modifying an existing item), traversing a dictionary,

 

Built-in functions/methods – len(), dict(), keys(), values(), items(), get(), update(), del(), del, clear(), fromkeys(), copy(), pop(), popitem(), setdefault(), max(), min(), sorted();

 

Suggested programs:

Count the number of times a character appears in a given string using a dictionary,

Create a dictionary with names of employees, their salary and access them.

 

MCQ and Questions on Dictionaries

error: Content is protected !!