[{"question":"What does the strip() string method do?","options":["Removes all spaces in the string","Removes leading and trailing whitespace","Splits the string into a list","Converts the string to lowercase"],"correct":1},{"question":"Which statement ensures a file is properly closed after use?","options":["close","ensure","with","guard"],"correct":2},{"question":"Given name='Alice' and age=30, what does f'{name} is {age}' produce?","options":["{name} is {age}","Alice is 30","name is age","Error"],"correct":1}]