Question 1 of 30
In a programming environment, you are tasked with creating a list that holds the names of students in a class. You need to perform several operations on this list: adding new names, removing names, and retrieving names based on their position in the list. If you start with an empty list and add the names \"Alice\", \"Bob\", \"Charlie\", and \"Diana\" in that order, what will the list look like after you remove the name at index 1 and then add \"Eve\" at the end?
["Alice", "Charlie", "Diana", "Eve"]
["Alice", "Bob", "Charlie", "Diana", "Eve"]
["Charlie", "Diana", "Eve"]
["Alice", "Diana", "Eve"]

Preparing for Microsoft 98-380 Introduction to Programming Using Block-Based Languages (Touch Develop)? Now land the interview.

73% of qualified candidates get rejected because of weak resumes. Build an ATS-optimized, recruiter-ready resume in under 5 minutes - free to start.

Build My Resume Free