Which term refers to a collection of characters used to store data, such as words or phrases?

Prepare for the IT GACE Computer Science Test. Use flashcards and multiple choice questions with hints and explanations. Excel in your exam preparation!

Multiple Choice

Which term refers to a collection of characters used to store data, such as words or phrases?

Explanation:
A string is a collection of characters used to store text such as words or phrases. In programming, strings hold textual data—letters, digits, and punctuation—as a continuous sequence. This makes them the exact match for describing a container of characters that represents words or phrases. A URL is a specific web address, not a general text container. A run refers to an execution instance of a program. Output is the data produced by a computation, not the storage for text. So, the term that fits best is string.

A string is a collection of characters used to store text such as words or phrases. In programming, strings hold textual data—letters, digits, and punctuation—as a continuous sequence. This makes them the exact match for describing a container of characters that represents words or phrases. A URL is a specific web address, not a general text container. A run refers to an execution instance of a program. Output is the data produced by a computation, not the storage for text. So, the term that fits best is string.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy