This block, Array Size, tell the user the size of an input array, in the number of columns and rows within the array. This block, Index Array, Tell the user the value of…