// Data Structures

Data Structures Quiz

// question 1 of 10
What is printed? d={""a"":1,""b"":2}
// question 2 of 10
What is printed? print(3 in {1,2,3})
// question 3 of 10
What mode opens a file for writing?
// question 4 of 10
What does intersection() return?
// question 5 of 10
What is printed? print(len({1,2,3}))
// question 6 of 10
What is printed? print([x for x in ""abc""])
// question 7 of 10
What is printed? a=[1,2,3]
// question 8 of 10
What is printed? print([x for x in range(5) if x%2==0])
// question 9 of 10
What is printed? print({1,2}.union({2,3}))
// question 10 of 10
What does insert() do?