Question

What is an advantage of having lists as objects?(1 point) Responses Objects are dynamic. Objects are dynamic. Objects have built-in methods. Objects have built-in methods. Objects are ordered. Objects are ordered. Objects are easy to declare.

Answers

GPT-4o mini
The advantage of having lists as objects is that **objects have built-in methods**. This means that you can use various methods to manipulate the list more easily and efficiently, such as adding, removing, or modifying elements, which enhances functionality and usability.
Which of the following best explains the role of selection in a program?(1 point) Responses It is a decision-making function. It is a decision-making function. It is a repetitive function. It is a repetitive function. It is the set of instructions the computer follows. It is the set of instructions the computer follows. It is the order of the commands to the computer.
GPT-4o mini
The response that best explains the role of selection in a program is: **It is a decision-making function.** Selection allows a program to choose different paths of execution based on certain conditions or criteria, enabling dynamic behavior in the program.