What is recursion?
A computer programming technique involving the use of a procedure, subroutine, function, or algorithm that calls itself
An argument that seems to come up time and again for the negative party
A sequence of instructions
A resource
Something I didn't learn
Sorry, I don't know
A factorial is an example of recursion.
An array is a container object that holds a fixed number of values of different types
Is this an example of a one dimensional array or a two dimensional array?
Maybe?
Two dimensional array
One dimensional array
I don't know
None of the above
It is possible to pass just one location of an array to a function.
Two dimensional arrays are
a type of linear array
indexed by two subscripts, one for the row and one for the column
an array where its elements are selected (identified) using two indices.
selected using a one index
potatoes
Cute baby animals
For Two Dimensional Arrays: Each cell of the array is a variable that can hold a value and works like any variable.
A stack is a data type that create a collection of elements.
An array can be used to implement a stack
Another option for implementing stacks is to use a singly linked list
You can see Two Dimensional Arrays as an excel layout
One Dimensional Arrays
No
Umm
Yes
Please, stop.
What does this do?
An average in row 0
Finds the sum in row 3.
Finds the average rating by the reviewer in row 2.
I really don't know.
A 2D array is a 1D array of (references to) 1D arrays.
Given int[][] rating = new int[3][4]; What is the value of rating.length?
3
4
2
1
0.999999
32
What is the value of rating[0].length?
3.5
2.2
8.1
10.00000000001