
Funções
Authored by MARCELO DOS SANTOS ANTONIO
Other
11th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a sintaxe correta para definir uma função em JavaScript?
`function: minhaFuncao() {}`
`function minhaFuncao() {}`
`def minhaFuncao() {}`
`minhaFuncao function() {}`
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Como você chama uma função chamada `minhaFuncao` em JavaScript?
`call minhaFuncao`
`minhaFuncao()`
`execute minhaFuncao`
`run minhaFuncao`
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a saída do seguinte código JavaScript? ```javascript function soma(a, b) { return a + b; } console.log(soma(2, 3)); ```
`23`
`5`
`undefined`
`NaN`
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a diferença entre uma função declarada e uma função expressa em JavaScript?
Funções declaradas não podem ser chamadas antes de sua definição.
Funções expressas não podem ser chamadas antes de sua definição.
Não há diferença.
Funções declaradas são anônimas.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que a palavra-chave `return` faz em uma função JavaScript?
Interrompe a execução da função e retorna um valor.
Declara uma variável local.
Chama outra função.
Define um parâmetro de função.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a saída do seguinte código JavaScript? ```javascript function multiplicar(a, b) { return a * b; } console.log(multiplicar(4, 5)); ```
`20`
`45`
`9`
`undefined`
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Como você define uma função anônima em JavaScript?
`function() {}`
`() function {}`
`def () {}`
`function anony() {}`
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
TMAN I
Quiz
•
10th - 12th Grade
8 questions
Chung tay bảo tồn động vật hoang dã
Quiz
•
6th - 12th Grade
10 questions
Celebrity Baby Challenge
Quiz
•
11th - 12th Grade
10 questions
Função quadrática
Quiz
•
10th - 12th Grade
10 questions
Controladoria e Finanças
Quiz
•
11th Grade
10 questions
ญี่ปุ่นที่คุณต้องรู้
Quiz
•
9th - 12th Grade
12 questions
Tese e argumentação
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
15 questions
Atomic Habits: Career Habits
Lesson
•
9th - 12th Grade
16 questions
ACT English - Grammar Practice #2
Quiz
•
11th Grade
20 questions
Banking
Quiz
•
9th - 12th Grade