215k views
1 vote
A nonlinear collection of items that are unordered is called a _____.

1) Set
2) List
3) Array
4) Graph

1 Answer

4 votes

Final answer:

A nonlinear collection of unordered items in computer science is referred to as a 'graph', which is a structure of nodes connected by edges without a linear path.

Step-by-step explanation:

A nonlinear collection of unordered items is called a graph. The options given were 1) Set 2) List 3) Array 4) Graph. A set is a collection of distinct objects, but it doesn't imply a nonlinear structure. A list and an array are dynamic or fixed-size collections of items, respectively, but both imply some sort of order. A graph, however, is a structure consisting of nodes (also called vertices) that are connected by edges. This connection does not have to follow a linear path, which allows for a variety of structures, including cycles and disconnected components. Therefore, the correct answer is 4) Graph.

User Alexarsh
by
8.1k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.