162k views
2 votes
computer memory and the cpu can only represent numerical data. what do we use in order to store/represent non-numerical data?

User Rakib
by
3.3k points

2 Answers

1 vote

Final answer:

In order to store or represent non-numerical data, we use a data type called strings. Strings are sequences of characters and can be used to store text, symbols, and other non-numeric information.

Step-by-step explanation:

In order to store or represent non-numerical data, we use a data type called strings. Strings are sequences of characters and can be used to store text, symbols, and other non-numeric information. For example, a string can be used to store a person's name, a sentence, or a piece of code.

In programming, we can use various data structures to store and manipulate strings, such as arrays or linked lists. These data structures allow us to efficiently store and access non-numerical data in computer memory.

Additionally, we can use specialized storage formats like file formats to represent and store non-numerical data on disk, such as images, videos, audio files, and documents.

User Gabriel Jablonski
by
3.0k points
3 votes
In order to store and represent non-numerical data, computers use a system of encoding called character encoding. Character encoding is a method of representing individual characters (letters, numbers, symbols, etc.) using a unique sequence of bits (usually a series of 0s and 1s). These sequences of bits are then stored in the computer's memory and processed by the CPU. Different character encoding schemes have been developed to support different sets of characters and languages, such as ASCII and Unicode. By using character encoding, computers can represent and manipulate non-numerical data, such as text, in a way that can be understood and processed by the CPU.
User Sarosh
by
3.3k points