Address: WsCube Tech, Laxmi Tower, Bhaskar Circle, Jodhpur, Rajasthan, India
Contact Us at: +919269698122, +919024244886. Mail us at: info@wscubetech.com
Dic onary Tasksheet
Q.1 Write a program to sort a dic onary in ascending/descending order by key and
ascending/descending order by value.
Q.2 Write a program to create three dic onaries and concatenate them to create
fourth dic onary.
Q.3 Suppose there are two dic onaries called boys and girls containing names as
keys and ages as values. Write a program to merge the two dic onaries into a third
dic onary.
Q.4 Create a dic onary of 10 user names and passwords. Receive the user name and
password from keyboard and search for them in the dic onary. Print appropriate
message on the screen based on whether a match is found or not.
Q.5) In the following table check the box if a property is supported by the data types
men oned in columns?