In C++ For the questions that ask to write a program, I only need the functions. 1. Write a C++ program that declares an array alpha of 20 components of type double. Initialize the array so that the first 10 components are equal to the square of the index variable, and the last 10 components are equal to four times the in dex variable. 2. What is a singly linked list? Explain its advantages and disadvantages compared to an array. A. What is : Head data : Head link link link data Head link data B. Turn the above linked list to a doubly linked list 4. Write a program that delete the first node of the linked list 5. Write a program that delete all nodes in a single linked list 6. Write a program that sum all the nodes 7. Write a function that will insert a node at the beginning of a given list 8. Write a function that will insert a node at the end of a given list.