Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

question # 3 multiple choice which statement is true? a collection is a…

Question

question # 3
multiple choice
which statement is true?
a collection is a type of deque.
a list is a type of deque.
a deque is a type of collection.
a deque is a type of list.

Explanation:

Brief Explanations

A collection is a general term for a group of elements. A deque (double - ended queue) is a specific data structure. A deque is a type of collection as it is a way to group and manage elements. A list is a different data structure, and a deque is not a type of list. Also, a collection is not a type of deque, and a list is not a type of deque.

Answer:

C. A deque is a type of collection.