Exercise – Arrays in Java

  • Find the sum and mean of N number using array
  • Sort the array in descending order.
  • Find the largest and smallest elements in the array without sorting . Also find its position in the array.
  • Find the minimum and maximum of a set of values.
  • Remove the duplicate elements in the array.
  • Write a program to insert an element in a sorted array so that new array is also a sorted one.
  • Write a program to delete an element from a sorted array so that the new array is also sorted one.
  • Find the median of a given list of numbers.
  • Find the statement deviation of given N numbers.
  • Reverse the array elements.
  • Print the data values which are the above average.
  • To convert decimal to binary using arrays