GoConqr has a new look! Let us know what you think.

Quiz

QQ

Lita Yurasova 1 question

Take the quiz

Questions in this quiz (1)

  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);
    }
    1. ADetermines the greatest common divisor between them
    2. BDetermines if they are both even or odd
    3. CLoops infinitely
    4. DCalculate the modulus between the two
    5. ESwitches the values of $p and $q

Information

Description
Quiz on QQ, created by Lita Yurasova on 18/01/2021.
Language
English
Views
0
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?