Quiz
Recursion and Array Problems
Crie uma conta grátis para terminar este quiz
Salve seu progresso e veja sua nota final.
Já tem uma conta? Inicie sessão
Perguntas do quiz (15)
1What is recursion?
- AA computer programming technique involving the use of a procedure, subroutine, function, or algorithm that calls itself
- BAn argument that seems to come up time and again for the negative party
- CA sequence of instructions
- DA resource
- ESomething I didn't learn
- FSorry, I don't know
2A factorial is an example of recursion.
- AVerdadeiro
- BFalso
3An array is a container object that holds a fixed number of values of different types
- AVerdadeiro
- BFalso
4Is this an example of a one dimensional array or a two dimensional array?

- AMaybe?
- BTwo dimensional array
- COne dimensional array
- DI don't know
- ENone of the above
5It is possible to pass just one location of an array to a function.
- AVerdadeiro
- BFalso
6Two dimensional arrays are
- Aa type of linear array
- Bindexed by two subscripts, one for the row and one for the column
- Can array where its elements are selected (identified) using two indices.
- Dselected using a one index
- Epotatoes
- FCute baby animals
7For Two Dimensional Arrays:
Each cell of the array is a variable that can hold a value and works like any variable.- AVerdadeiro
- BFalso
8A stack is a data type that create a collection of elements.
- AVerdadeiro
- BFalso
9An array can be used to implement a stack
- AVerdadeiro
- BFalso
10Another option for implementing stacks is to use a singly linked list
- AVerdadeiro
- BFalso
11You can see Two Dimensional Arrays as an excel layout
- AOne Dimensional Arrays
- BNo
- CUmm
- DYes
- EPlease, stop.
12What does this do?

- AAn average in row 0
- BFinds the sum in row 3.
- CFinds the average rating by the reviewer in row 2.
- DI really don't know.
13A 2D array is a 1D array of (references to) 1D arrays.
- AVerdadeiro
- BFalso
14Given
int[][] rating = new int[3][4];
What is the value of rating.length?- A3
- B4
- C2
- D1
- E0.999999
- F32
15What is the value of rating[0].length?
- A3.5
- B2.2
- C1
- D4
- E8.1
- F10.00000000001
Informações
- Descrição
- Recursion and Array Problems: Samantha Azuara
- Autor
- Samantha Azuara
- Idioma
- Español
- Visualizações
- 145
- Etiquetas
- Avaliação
- 1,0 de 5 · 1 avaliação Avalie este quiz