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. Utilize flashcards and a variety of question formats, each complete with hints and detailed explanations. Ensure your success on exam day!

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 Passetra

You can unsubscribe at any time. Read our privacy policy