3TDS - Programação Backend - Aula 10
Quiz
•
Information Technology (IT)
•
12th Grade
•
Practice Problem
•
Hard
JOAO MONTEIRO
Used 1+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que é uma função anônima em JavaScript?
Uma função que não possui um nome.
Uma função que é chamada automaticamente.
Uma função que é usada apenas uma vez.
Uma função que retorna sempre o mesmo valor.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a diferença entre parâmetros e argumentos em funções JavaScript?
Parâmetros são valores passados para a função, enquanto argumentos são variáveis dentro da função.
Parâmetros são variáveis definidas na declaração da função, enquanto argumentos são os valores passados para a função quando ela é chamada.
Parâmetros e argumentos são a mesma coisa.
Parâmetros são usados apenas em funções anônimas.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é o escopo de uma função em JavaScript?
O escopo de uma função é global, podendo acessar todas as variáveis do programa.
O escopo de uma função é local, podendo acessar apenas variáveis definidas dentro dela.
O escopo de uma função é limitado apenas a variáveis passadas como argumentos.
O escopo de uma função é indefinido até que a função seja chamada.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que caracteriza uma função de ordem superior em JavaScript?
Uma função que retorna sempre o mesmo valor.
Uma função que aceita outras funções como argumentos ou retorna uma função.
Uma função que é chamada automaticamente.
Uma função que não possui um nome.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das opções abaixo é um exemplo de função anônima?
`function exemplo() { return 1; }`
`const exemplo = function() { return 1; };`
`function exemplo() { return function() { return 1; }; }`
`const exemplo = () => { return 1; };`
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Considere a função abaixo. Qual será o valor de `x` após a execução? ```javascript let x = 10; function alterarX() { let x = 5; } alterarX(); ```
5
10
15
Indefinido
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a saída do seguinte código? ```javascript function soma(a, b) { return a + b; } console.log(soma(2, 3)); ```
23
5
6
2
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
8 questions
Quiz sobre P5.js e JavaScript
Quiz
•
1st Grade - University
10 questions
3TDS - Programação Backend - Mapas
Quiz
•
12th Grade
10 questions
3TDS - Programação Frontend - Recuperação 2
Quiz
•
12th Grade
8 questions
Intro to JS: Functions, Scope & Objects
Quiz
•
11th Grade - University
5 questions
Pytyhon Intro 1
Quiz
•
12th Grade
5 questions
USB Apocalipse S3 M4 CS01/2025
Quiz
•
12th Grade
10 questions
Quiz de Sensores e Arduino
Quiz
•
12th Grade
10 questions
Quiz sobre Espelhos Planos
Quiz
•
12th 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 Information Technology (IT)
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th 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
20 questions
Banking
Quiz
•
9th - 12th Grade
15 questions
Exponential Growth and Decay Word Problems Practice
Quiz
•
9th - 12th Grade
18 questions
AP Bio Insta-Review Topic 6.1*: DNA & RNA Structure
Quiz
•
9th - 12th Grade
