1. True/False: The bubblesort can only sort in ascending order.
2. True/False: The sort()method is valuable because it keeps elements of parallel arrays Inthe correct order.
3. True/False: WhenJavaScript arrays are passed to a function, they are passed byreference.
4. True/False: The type ofsort routine that, if sorting from smallest to largest, will end upwith the smallest item in the first place after the first pass isthe bubble sort.
5. True/False: If thehighest index value in an array is N, to complete a selection sort,N – 1 passes must be made.
6. True/False:
OR
OR