Lab #18 Array Cardio Day 1

Lab #18 is titled "Array Cardio Day 1". This lab has literally little to no HTML within it. Everything for this lab is in the console. Within this lab, I take a set of data of inventors and then organize it into arrays. The first thing I do with the received data is to filter the list of inventors for those who were born in the 1500's. Next, I get an array of the inventor's first and last names. After that, I sort the inventors by birthdate, oldest to youngest. Then, I calculate how many years all the inventors had lived. Using that data, I sort the inventors by the years lived.

Finishing up with the inventor data, I move on to create a list of Boulevards in Paris that contain 'de' anywhere in the name. Moving back to the inventor data, I sort the people in my data alphabetically by last name. I then receive data about transportation. Lastly, I sum up the instances of each of the data of cars, trucks, bikes, walks, vans, and pogo sticks. This is literally the most random lab I have ever done in my life.


Web designer could use arrays to keep their databases more organized and to sort it out for certain instances. For example, if you have a list of people attending an event on your website, you can sort the data in an array and then find whoever you need to easier to make sure they are registered to attend.

Comments

Popular posts from this blog

WBL Workshop #6 Interview Skills

CTE Expo Reflection Journal

Lab #12 Reflection