Which of these best describes an array?
Anonymous Quiz
11%
A data structure that shows a hierarchical behavior
76%
Container of objects of similar types
13%
Arrays are immutable once initialised
0%
Array is not a data structure
How do you instantiate an array in Java?
Anonymous Quiz
32%
int arr[] = new int(3);
11%
int arr[];
56%
int arr[] = new int[3];
0%
int arr() = new int(3);
Elements in an array are accessed _____
Anonymous Quiz
22%
Randomly
72%
Sequentially
0%
Exponentially
6%
Logarithmically
Process of removing an element from stack is called __________
Anonymous Quiz
1%
Create
4%
Push
3%
Evaluation
91%
Pop
How many children does a binary tree have?
Anonymous Quiz
44%
2
24%
0 or 1 or 2
23%
Any number of children
9%
0 or 1
Process of inserting an element in stack is called ____________
Anonymous Quiz
4%
Create
95%
Push
0%
Evaluation
1%
Pop
What is the worst case time complexity of a quick sort algorithm?
Anonymous Quiz
10%
O(n)
36%
O(n*log(n))
44%
O(n^2)
11%
O(log(n))
Entries in a stack are “ordered”. What is the meaning of this statement?
Anonymous Quiz
14%
A collection of stacks is sortable
14%
Stack entries may be compared with the ‘<‘ operation
14%
The entries are stored in a linked list
57%
There is a Sequential entry that is one by one