
EXAMEN NOVENO BUCLES
Authored by SEBASTIAN CASTRO
Others
9th - 12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Pide 6 notas (0–5) y cuenta cuántas son ≥ 3.0.
Pide 6 notas (0–5) y cuenta cuántas son ≥ 3.0.
let aprobados = 0;
for (let i = 1; i <= 6; i++) {
let n = parseFloat(prompt("Nota " + i + ":"));
if (n >= 3) { ________; }
}
alert("Aprobados: " + aprobados);
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Lee ventas hasta ingresar 0. Cuenta cuántas superan 200000.
Lee ventas hasta ingresar 0. Cuenta cuántas superan 200000.
let c = 0;
let v = parseFloat(prompt("Venta (0 para terminar):"));
while (v !== 0) {
if (v > 200000) { c++; }
v = ________(prompt("Venta (0 para terminar):"));
}
alert("Destacadas: " + c);
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Para sumar solo valores positivos de 10 entradas:
Para sumar solo valores positivos de 10 entradas:
if (v >= 0) total += v;
if (v > 0) total += v;
if (v >= 0) total = v;
if (v >= 10) total = v;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Un cine quiere calcular cuántas entradas con descuento se venden en un día. El descuento aplica solo a clientes menores de 12 años o mayores de 60. El programa debe recibir la edad de cada cliente (5 en total) y contar cuántos obtienen descuento. ¿Qué condición usarías dentro del bucle for?
if (edad <= 12 || edad >= 60)
if (edad < 12 && edad > 60)
if (edad < 12 || edad > 60)
if (edad >= 12 && edad <= 60)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Una tienda procesa las compras de 8 clientes y quiere saber el total vendido. Solo sumará compras de más de $50.000. ¿Qué instrucción es correcta dentro de un while?
if (compra >= 50000) { total += compra; }
if (compra > 50000) { total = compra; }
if (compra >= 50000) { total =+ compra; }
if (compra > 50000) { total += compra; }
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Un colegio realiza un bucle do while para registrar calificaciones. Si una nota es menor a 3.0, se considera reprobada y se cuenta. ¿Qué variable debería aumentar en el if?
A) contador_aprobados++
contador_aprobados++
contador_reprobados++
nota++
total_notas++
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es el resultado de este código?
for (let i = 1; i <= 3; i++) {
if (i % 2 === 0) {
console.log(i * 2);
}
}
2, 4, 6
4
2, 6
4, 6
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
16 questions
Wish
Quiz
•
10th Grade
10 questions
Simple Past Tense TEST
Quiz
•
10th Grade
10 questions
Mental Health Care Quiz
Quiz
•
12th Grade
12 questions
Confusing verbs
Quiz
•
9th Grade
10 questions
Soal Evaluasi Apollo 11
Quiz
•
12th Grade
10 questions
Stawonogi
Quiz
•
9th - 12th Grade
15 questions
Modals of deduction
Quiz
•
9th - 12th Grade
15 questions
Puisi Kelas 10
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Others
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Cell Organelles and Their Functions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Combining Sentences
Lesson
•
9th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
Box and Whisker Plots
Quiz
•
9th Grade