qobjects = [
{
question: "Which one of these is a dictionary?",
options: [
"x = ('apple', 'banana', 'cherry')",
"x = {'type' : 'fruit', 'name' : 'banana'}",
"x = ['apple', 'banana', 'cherry']"
],
correct: 1
},
{
question: "True or False.
Dictionary items cannot be removed after the dictionary has been created.",
options: [
"True",
"False"
],
correct: 1
},
{
question: "True or False.
A dictionary cannot have two keys with the same name.",
options: [
"True",
"False"
],
correct: 0
},
{
draganddroptext: "x = {'type' : 'fruit', 'name' : 'banana'}print(___(x))",
draganddropquestion: "Select the correct function to print the number of key/value pairs in the dictionary:",
options: [
"length",
"size",
"len",
"items"
],
correct: [2]
}
]