Benjamin está criando um programa em JavaScript e precisa armazenar a idade dos usuários. Qual é o tipo de dado utilizado para armazenar números inteiros em JavaScript?
JavaScript Quiz

Quiz
•
Instructional Technology
•
9th Grade
•
Hard
Ryan Castro
Used 9+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
String
Number
Boolean
Object
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Elijah está aprendendo JavaScript e quer declarar uma variável para armazenar seu nome. Qual é a sintaxe correta para fazer isso?
`var nome = "João";`
`variable nome = "João";`
`v nome = "João";`
`nome = "João";`
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ava está aprendendo JavaScript e quer saber qual é o resultado da expressão `typeof 42`. Qual é a resposta correta?
"string"
"number"
"boolean"
"object"
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kai is trying to write a function in JavaScript to calculate the sum of two numbers. How should he define the function?
`function minhaFuncao() {}`
`def minhaFuncao() {}`
`fun minhaFuncao() {}`
`function: minhaFuncao() {}`
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Abigail tinha 5 maçãs. Ela ganhou mais 3 maçãs. Qual é o valor de `x` (o número total de maçãs) após isso?
5
3
8
15
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ethan está criando um formulário em JavaScript e quer saber qual é o tipo de dado retornado pela função `prompt()` quando um usuário insere uma resposta. Qual é o tipo de dado retornado?
Number
String
Boolean
Object
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mason está aprendendo JavaScript e escreveu o seguinte código: `console.log(2 + "2");`. Qual é a saída?
4
"22"
"4"
22
Create a free account and access millions of resources
Similar Resources on Quizizz
11 questions
Introdução ao JavaScript - 2

Quiz
•
9th Grade
14 questions
Trabalho de Pensamento

Quiz
•
9th Grade
15 questions
R6_2.N_Lógica Computacional - Java

Quiz
•
2nd Grade - University
10 questions
JavasCript

Quiz
•
1st Grade - University
10 questions
Examen Parcial 5to Admo

Quiz
•
9th - 12th Grade
15 questions
R6_2.N_LC_3TRI_Métodos String Lógica Computacional

Quiz
•
9th Grade - University
17 questions
Pensamento Computacional - Quem acerta mais

Quiz
•
9th Grade
20 questions
E agora?

Quiz
•
6th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Instructional Technology
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University