Test
Preguntas del test (1)
1What does the following function do when passed two integer values for $p and $q ?
function magic($p, $q) {
return ($q == 0) ? $p : magic($q, $p % $q);
}- ADetermines the greatest common divisor between them
- BDetermines if they are both even or odd
- CLoops infinitely
- DCalculate the modulus between the two
- ESwitches the values of $p and $q
Información
- Descripción
- Test sobre QQ, creado por Lita Yurasova el 18/01/2021.
- Autor
- Lita Yurasova
- Idioma
- English
- Visitas
- 0
- Valoración
- Aún sin valoraciones Valora este test