Question 16 • Intro to Computer Science B
The mode "a" means append. It lets the program write to the file, adding new content after anything already there rather than replacing the existing contents. If the file does not exist, append mode creates it. Therefore, the correct choice is “write to the file, adding to the current contents of the file.”
AI-written and checked against the verified answer.