Park University Data Types Discussion
Question Description
I’m working on a programming discussion question and need an explanation and answer to help me learn.
Data types include:
Primitive (like numbers, text, date/time), arrays;
Collections (lists, arrays, tables);
Objects
Collections and objects allows to combine multiple data entries together. For example, arrays are used to store a number of entries, addressing each entry by the collection name and a numerical index of the entry within the collection. For example, students[0] means the first student I the list.
- Objects can store multiple data entries of any type including collections and even objects which stored under a field name. Then each entry is addressed by the object name and the field name. For example, user.name. Objects can also have methods which are algorithms or computing modules that can work with the data of object itself. For example, student.listOfCourses() can be a module that will output the names from each course object associated with the student.
- Directions
- Explaining the applications of each data type to business data, and providing specific examples (for example, a date entry can store the date of the contract).
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."