Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

STRUCTURE STUDY MATERIAL DICTIONARY

Satinder Rawal answered on April 17, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers


STRUCTURE STUDY MATERIAL DICTIONARY

0

We can use List, Tuple and Set to represent a group of individual objects as a single

entity.

֍ If we want to represent a group of objects as key-value pairs then we should go for

Dictionary.

Eg:

 rollno ---- name

 phone number -- address

 ipaddress --- domain name

֍ Duplicate keys are not allowed but values can be duplicated.

֍ Hetrogeneous objects are allowed for both key and values.

֍ Insertion order is not preserved

֍ Dictionaries are mutable

֍ Dictionaries are dynamic

֍ indexing and slicing concepts are not applicable

Note: In C++ and Java Dictionaries are known as "Map" where as in Perl and Ruby it is

known as "Hash" 

Popularity 1/10 Helpfulness 1/10 Language whatever
Source: Grepper
Link to this answer
Share Copy Link
Contributed on Apr 17 2023
Satinder Rawal
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.