200k views
2 votes
1: In programming, a(n) is a group of objects that can be operated on together.

a) collision
b) anthology
c) assemblage
d) collection

2: A difference between a collection and an array is that a collection .
a) can hold references
b) can be passed to a method
c) is dynamically resizable
d) can hold primitive data types

User Behrang
by
7.1k points

1 Answer

4 votes

Final answer:

In programming, a collection is a group of objects that can be operated on together, and it is dynamically resizable, unlike an array.

Step-by-step explanation:

The answer to the first question: In programming, a collection is a group of objects that can be operated on together. Therefore, the correct answer is Option d) collection.

Regarding the second question, the difference between a collection and an array is that a collection is dynamically resizable. This means that unlike an array, the size of a collection can change during the execution of a program. Hence, the correct answer is Option c) is dynamically resizable.

User Jayant Varshney
by
7.6k points