Foundations of Programming -Introduction to data and data types
In computer science, data is information that is stored or processed by a computer. While that might seem fairly abstract, there are a lot of data points we use in everyday life. A birthday, that's a data point. The latitude and longitude of a specific location. That's a piece of data. The name of a city. Whether a store is open or closed. Your initials. These are all data points. We store them in different ways within a computer. But how exactly do we represent these in code? Or use them in our programs? Well, the short answer is that it's a lot of ones and zeroes. However, to make it a little easier programing languages have created something called data types that we can use to represent common pieces of our data in code. What are some common pieces of data? Think numbers, letters, true or false values. In the programs we create, we use and store...
Comments
Post a Comment