qobjects = [
{
question: "What does __str__() control?",
options: [
"What is returned when the object is printed",
"What happens when the object is created",
"How two objects are compared"
],
correct: 0
},
{
question: "Without a __str__() method, what does print(obj) show?",
options: [
"An empty string",
"The object's memory address",
"An error"
],
correct: 1
},
{
question: "What must a __str__() method return?",
options: [
"A string",
"A number",
"Nothing - it should just call print() itself"
],
correct: 0
}
]