Lab: Types of Data
Video Runtime: 05:36
Data is a big part of what you do, no matter which language you’re working with. In this lesson, we’ll talk about the different types of data type classifications.
Data Type Classifications
- Composite (e.g. array and collection)
- Special (e.g. enumerated)
- Abstract (e.g. list, objects)
Why are Data Type Classifications Important?
What are some of the reasons you need to know about these data types?
- You need to understand how the data is being computed. Knowing how each of these data types is represented helps you avoid unexpected results.
- What happens when you compare a floating point to an integer number?
- What is the result when adding a floating point to an integer?
- What is type-casting?
- Memory usage becomes very important when dealing with large amounts of data.
- Computers represent and map numbers based upon their type.
- Data is an essential element in software.
- Certain languages (e.g. C, Java, Pascal) require you to declare the data type.
Your functions are bloated. Put them on a diet. Think "skinny" and "as few lines as possible."
Total Lab Runtime: 00:48:33
- 1 Lab Introductionfree 05:36
- 2 Primitive Data Typefree 08:58
- 3 Composite Data Typefree 19:19
- 4 Special Data Typefree 03:30
- 5 Abstract Data Typefree 11:10