Test
TEST
Preguntas del test (1)
1We want to create an algorithm called swapValues. Given two variables x and y the result should have the values of x and y swapped. Which of the following algorithms correctly swaps the values of x and y?
- Ay ← x
temp ← x
x ← y - Bx ← y
y ← x - Ctemp ← x
x ← y
y ← temp - Dtemp ← x
y ← temp
y ← x
- Ay ← x
Información
- Descripción
- Test sobre TEST, creado por Victor Lu el 15/12/2018.
- Autor
- Victor Lu
- Idioma
- English
- Visitas
- 0
- Etiquetas
- Valoración
- Aún sin valoraciones Valora este test