Marvin

A colorful illustration depicting various JavaScript fun<wbr>ctions and mathematical symbols, focusing on addition, subtraction, and coding elements.

Math Function Quiz: Test Your Skills!

Are you ready to challenge your understanding of JavaScript functions? This quiz will put your knowledge to the test with a focus on basic operations!
Each question evaluates a different mathematical function with multiple choice answers.

  • 5 challenging questions
  • Immediate feedback on your answers
  • Perfect for beginners and anyone looking to refresh their skills!
5 Questions1 MinutesCreated by CodingCat57
function somar(num1, num2) {
    return num1 + num2;
}
 
somar(14, 2)
16
12
142
2
function segredo(num) {
    const novoNumero = num + 1;
    return novoNumero;
}
 
segredo(41);
41
42
Vazio
Erro: const não está definido
function adicionarDois (num) {
    const novoNumeo = num + 2;
    return novoNumero;
}
 
adicionarDois(40);
40
42
Vazio/nada
Erro: novoNumero não está definido
function adicionarDois (num) {
    const novoNumero = num + 2;
    return;
}
 
adicionarDois(40);
Erro: return não está definido
42
Vazio/nada
Erro: num não está definido
function diminuir(num1, num2) {
     return num2 - num1;
}
 
diminuir(30, 18);
48
12
-12
Erro
{"name":"Marvin", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Are you ready to challenge your understanding of JavaScript functions? This quiz will put your knowledge to the test with a focus on basic operations! Each question evaluates a different mathematical function with multiple choice answers.5 challenging questionsImmediate feedback on your answersPerfect for beginners and anyone looking to refresh their skills!","img":"https:/images/course4.png"}
Powered by: Quiz Maker