Question: Introduction Data types include: 1) Primitive (like numbers, text, date/time), arrays; 2) Collections (lists, arrays, tables); 3) Objects Collections and objects allows to combine multiple
Introduction
Data types include:
1) Primitive (like numbers, text, date/time), arrays;
2) Collections (lists, arrays, tables);
3) 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
Explain the applications of each data type to business data, and provide specific examples (for example, a date entry can store the date of the contract).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
