
Quiz de JavaScript para Iniciantes
Authored by ITALO FERREIRA
Instructional Technology
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a diferença entre `let` e `const` em JavaScript?
`let` permite reatribuição de valores, enquanto `const` não permite.
`const` permite reatribuição de valores, enquanto `let` não permite.
Ambos permitem reatribuição de valores.
Nenhum permite reatribuição de valores.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a saída do seguinte código JavaScript? ```javascript let x = 10; if (true) { let x = 20; } console.log(x); ```
10
20
undefined
Erro
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual método é usado para adicionar um evento de clique a um elemento no DOM?
`addEventListener`
`attachEvent`
`onClick`
`clickEvent`
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que o seguinte código faz no contexto do DOM? ```javascript document.getElementById("meuElemento").innerHTML = "Olá, Mundo!"; ```
Altera o texto de um elemento com o id "meuElemento" para "Olá, Mundo!"
Adiciona um novo elemento com o texto "Olá, Mundo!"
Remove o elemento com o id "meuElemento"
Cria um novo documento HTML
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a saída do seguinte código? ```javascript const y = 5; y = 10; console.log(y); ```
5
10
undefined
Erro
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a estrutura correta para uma condição `if` em JavaScript?
`if x > 5 then { }`
`if (x > 5) { }`
`if x > 5: { }`
`if x > 5 { }`
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a diferença entre `var` e `let` em termos de escopo?
`var` tem escopo de bloco, enquanto `let` tem escopo de função.
`let` tem escopo de bloco, enquanto `var` tem escopo de função.
Ambos têm escopo de bloco.
Ambos têm escopo de função.
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
20 questions
Grade 10 Building Construction Technology
Quiz
•
10th Grade
18 questions
Conecta IF
Quiz
•
9th - 12th Grade
10 questions
1ª Questionário Avaliativo - 1º Trimestre P.C 8ª A - J.A
Quiz
•
8th Grade - University
10 questions
C# Консультация. Повторение
Quiz
•
9th - 12th Grade
20 questions
Redes sem fio
Quiz
•
10th Grade - University
11 questions
Fundamentos da Logística
Quiz
•
1st - 12th Grade
11 questions
Primeiro Quizizz
Quiz
•
9th - 12th Grade
14 questions
Konfigurasi Dasar MikroTik
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Instructional Technology
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
23 questions
TSI Math Vocabulary
Quiz
•
10th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Cell Organelles and Their Functions
Interactive video
•
6th - 10th Grade
10 questions
Plotting Points on a Coordinate Plane: Quadrant 1 Essentials
Interactive video
•
6th - 10th Grade
10 questions
Exploring Abiotic and Biotic Factors in Ecosystems
Interactive video
•
6th - 10th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
Figurative Language Review
Quiz
•
10th Grade