qobjects = [
{
question: "What is a correct syntax for joining list1 and list2 into list3?",
options: [
"list3 = join(list1, list2)",
"list3 = list1 + list2",
"list3 = [list1, list2]"
],
correct: 1
},
{
question: "What is a correct syntax for adding elements from list2 into list1?",
options: [
"list1.extend(list2)",
"list1.join(list2)",
"list1.push(list2)"
],
correct: 0
},
{
question: "Consider the following code:list1 = ['a', 'b' , 'c']
list2 = [1, 2, 3]
for x in list2:
list1.append(x)
What will be the value of list1?",
options: [
"['a', 'b', 'c', 1, 2, 3]",
"[1, 2, 3]",
"['a', 1, 'b', 2, 'c', 3]"
],
correct: 0
}
]