What is a data type?
18 views
- A data structure that organizes data in a specific way
- A way to represent a certain type of information in a programming language (Correct Answer)
- An abstract data structure
- None of the above
Explanation
Answer: b) A way to represent a certain type of information in a programming language.
Explanation: A data type is a way to represent a certain type of information in a programming language. It defines the type of data that a variable can hold and the operations that can be performed on that data.