CBSE Class 12 Computer Science Question 64 of 105

Python Revision Tour — Question 18

Back to all questions
18
Question

Question 18(a)

What are data types? How are they important?

Answer

Data types are used to identify the type of data a memory location can hold and the associated operations of handling it. The data that we deal with in our programs can be of many types like character, integer, real number, string, boolean, etc. hence programming languages including Python provide ways and facilities to handle all these different types of data through data types. The data types define the capabilities to handle a specific type of data such as memory space it allocates to hold a certain type of data and the range of values supported for a given data type, etc.