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

Study for the IT GACE Computer Science Test. Take quizzes with flashcards and multiple choice questions—each with hints and detailed explanations. Prepare effectively for your exam!

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