Computer Science, asked by ryadavs2017, 10 months ago

A : Short Answer Questions/Conceptual Questions
1. What are data types ? How are they important ?

Answers

Answered by lovekushmehra22
1

data is the type of network it is use

Answered by adithyashasan007
3

#answerwithquality

#BAL

Answer:

A data type is an attribute of data which tells the compiler or interpreter how the data is intended to be used. They are important because each programming language needs to work on different types of data like integers and strings and so they are stored as that data type.

Explanation:

Unlike humans, a computer does not know the difference between "1234" and "abcd." A data type is a classification that dictates what a variable or object can hold in computer programming. Data types are an important factor in virtually all computer programming languages, including C#, C++, JavaScript, and Visual Basic. When programmers create computer applications, both desktop and web-based, data types must be referenced and used correctly to ensure the proper result and an error-free program.

→Common examples of data types  :

  • Boolean (e.g., True or False)
  • Character (e.g., a)
  • Date (e.g., 03/01/2016)
  • Double (e.g., 1.79769313486232E308)
  • Floating-point number (e.g., 1.234)
  • Integer (e.g., 1234)
  • Long (e.g., 123456789)
  • Short (e.g., 0)
  • String (e.g., abcd)
  • Void (e.g., no data)
Similar questions