¿Cuál es la forma correcta de declarar una variable en JavaScript?

Preguntas de JavaScript

Quiz
•
Information Technology (IT)
•
11th Grade
•
Hard

Gabriel Hernandez
Used 6+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
let x;
int x;
declare x;
x = var;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué operador se usa en JavaScript para la asignación de valores?
==
===
=
=>
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué función se utiliza en JavaScript para leer la entrada del usuario?
alert()
prompt()
read()
scan()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la función correcta para mostrar un mensaje emergente en JavaScript?
Escribir()
write()
alert()
console.log()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Si tienes el siguiente código: let x = 5; x = x + 3; ¿Qué valor tendrá la variable x al final?
3
5
8
15
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo puedes declarar una variable constante en JavaScript?
let pi = 3.14;
const pi = 3.14;
var pi = 3.14;
final pi = 3.14;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué tipo de dato es el siguiente valor? let x = "Hola Mundo";
Número
Booleano
Cadena de texto
Arreglo
Create a free account and access millions of resources
Similar Resources on Quizizz
17 questions
Algoritmos

Quiz
•
1st Grade - University
21 questions
Repaso Tema 1

Quiz
•
1st Grade - University
19 questions
Historia de las RD

Quiz
•
11th Grade - University
21 questions
Evaluación periodo 1 grado 11

Quiz
•
11th Grade
15 questions
Quiz sobre la Historia de la Computadora

Quiz
•
9th Grade - University
17 questions
Pensamiento Computacional

Quiz
•
9th - 12th Grade
20 questions
Cuestionario sobre Tecnología

Quiz
•
6th Grade - University
15 questions
Hardware Software 1ºA

Quiz
•
9th - 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 Information Technology (IT)
17 questions
Chapter 12 - Doing the Right Thing

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

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

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