GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

Functions

Code Ramp 5 Fragen

Quiz starten

Dieses Quiz enthält Fragetypen, die sich im gewohnten Player öffnen.

Fragen in diesem Quiz (5)

  1. 1Functions help make our programs more modular and let us reuse a block of code as many times as we need.
    1. ARichtig
    2. BFalsch
  2. 2In the following code we are both defining and then calling a function. What does `a` represent in this example?

    function findSum(a, b) {
    return a + b;
    }

    var sum = findSum(5, 8);
    console.log(sum);
    1. Aa parameter
    2. Ban argument
    3. Cthe returned value
    4. Dthe function name
  3. 3In the following code we are both defining and then calling a function. What does `8` represent in this example?

    function findSum(a, b) {
    return a + b;
    }

    var sum = findSum(5, 8);
    console.log(sum);
    1. Aa parameter
    2. Ban argument
    3. Cthe returned value
    4. Dthe function name
  4. 4The [blank_start]output[blank_end] of a function is often called a return value. If no value is explicitly provided the function defaults to returning [blank_start]undefined[blank_end].
    1. Aoutput
    2. Binput
    3. Cundefined
    4. Dnull
  5. 5The body of the function is the block of code contained in the curly braces. It may contain any of the following:
    1. AConditionals
    2. BLoops
    3. CVariables
    4. DOther functions

Informationen

Beschreibung
Quiz am Functions, erstellt von Code Ramp am 19/04/2018.
Sprache
English
Aufrufe
342
Schlagwörter
toefl
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck