It is advisable to be able to write any of the tasks below on a piece of paper (in a notebook) without errors.
-
Find the sum of the elements of the array.
-
Find maximum element, value and index.
-
Find minimum element, value and index.
-
Find the average of the elements of the array.
-
Count the number of elements equal to the given one.
-
Count the number of elements equal to zero.
-
Count the number of elements greater than zero.
-
Multiply the elements of the array by number.
-
Add index to the elements of the array.
-
Set to zero even by value elements of the array.
-
Set to zero elements with odd index.
-
Find the first positive element.
-
Find the last negative element.
-
Count the number of elements equal to the given one.
-
Find the indices of occurrence of the element in the array.
-
Check the array for ascending order of elements.
-
Check the array for descending ordering of elements.
-
Cyclic shift of array elements by k-positions to the right.
-
Display elements whose values are equal to the values of other elements.
-
Find the number of elements greater than the average.
-
Display elements whose values are not equal to the values of other elements.
-
Output the elements of one array, which are not equal to the elements of the second array.
-
Count how many elements in the array with the same value as the first one.
-
From two sorted arrays make the third sorted one without sorting it.
-
Change the first positive element with the last positive, the second with the penultimate, etc..