
Práctica de Lógica en JavaScript
Authored by Saidy Mata
Other
10th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
42 questions
Show all answers
1.
OPEN ENDED QUESTION
3 mins • 1 pt
Crea una variable miNombre con tu nombre y una constante anioNacimiento con tu año de nacimiento. Muestra en consola tu nombre y año de nacimiento.
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
3 mins • 1 pt
Crea una variable miEdad que calcula tu edad (usa el año actual para el cálculo) y muestra un mensaje en consola con tu edad.
Evaluate responses using AI:
OFF
3.
OPEN ENDED QUESTION
3 mins • 1 pt
Crea una variable edad que calcula tu edad en función del año actual. Si la edad es mayor a 18, imprime "Eres mayor de edad", de lo contrario, "Eres menor de edad".
Evaluate responses using AI:
OFF
4.
OPEN ENDED QUESTION
3 mins • 1 pt
Usa operadores ternarios para verificar si una variable x es par o impar y muestra el resultado en consola.
Evaluate responses using AI:
OFF
5.
OPEN ENDED QUESTION
3 mins • 1 pt
Crea dos variables a = 10 y b = 5. Usa operadores aritméticos para calcular la suma, resta, multiplicación y división entre a y b. Muestra los resultados en consola.
Evaluate responses using AI:
OFF
6.
OPEN ENDED QUESTION
3 mins • 1 pt
Usa operadores lógicos para verificar si a es mayor que b y si b es menor que 10. Muestra los resultados en consola.
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
3 mins • 1 pt
Crea una función llamada verificarEdad que recibe una edad como parámetro. Si la edad es mayor a 18, regresa "Eres mayor de edad", de lo contrario, regresa "Eres menor de edad".
Evaluate responses using AI:
OFF
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
46 questions
Japanese Hiragana Letters Test
Quiz
•
KG - 12th Grade
44 questions
ひらがな LENGKAP
Quiz
•
9th - 12th Grade
45 questions
Módulo 1. Entrenamiento 3
Quiz
•
2nd Grade - University
40 questions
TEST PSIKOTES SELEKSI CALON PASKIBRAKA JAKARTA PUSAT 2022
Quiz
•
10th - 11th Grade
37 questions
Neumática e hidráulica
Quiz
•
10th Grade
40 questions
Review of Naming and Writing Chemical Formulas
Quiz
•
10th Grade
38 questions
Financial Mgt Vocabulary
Quiz
•
9th - 12th Grade
40 questions
Reglas, símbolos e instrumentos de laboratorio
Quiz
•
10th 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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
20 questions
Cell Organelles
Quiz
•
10th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
10 questions
Exploring the Layers of the Earth
Interactive video
•
6th - 10th Grade