
Arrays
Quiz by Kavitha Praseed
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
Cell numbers of a dimensional array are also known as
The elements of array arr[20] are numbered:
Which element is represented by arr[20]?
State the total size in bytes of the array arr[5] of char data type.
Name the algorithm which makes several passes through the array, selecting the next smallest item in the array each time and placing it where it belongs in the array.
What is the output of the below Java program?
int[] marks = {25,44,65,95};
System.out.print(marks.length + "," + marks[1]);
Which one of the following is a valid statement?
What is the output of the below Java program with arrays?
String[] colors = {"RED";"YELLOW";"WHITE"};
System.out.print(colors[2]);
What is the output of the below Java program with arrays?
public class Polo {
public static void main(String args[]) {
String[] computer = {"RAM","HDD","MOUSE"};
String[] parts = {computer[0],computer[2]};
System.out.print(parts[1]);
}
}
Row number and Column number in a Multidimensional array start with ___.