
Examen de Programación

Quiz
•
Other
•
University
•
Easy
Patszz Olivares
Used 1+ times
FREE Resource
29 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la salida del siguiente código en C++? int x = 10; int y = 3; printf("%d", x % y);
1
3
0
Error de compilación
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué sucede al ejecutar el siguiente código en Python? def divide(a, b): return a / b print(divide(5, 0))
0
None
Error de división entre cero
5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es el error en este código en C++? int main() { int a = 5; if a > 3 { cout << "OK"; }
Falta el punto y coma
Condición mal formada
Falta #include
Todas las anteriores
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué imprime el siguiente código en Python? x = [1, 2, 3] print(x[3])
3
Error: índice fuera de rango
[3]
0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué hace este código en C++? int x = 5; int y = 2; double z = x / y; printf("%f", z);
Imprime 2.5
Imprime 2.000000
Imprime 2.0000000 con warning
Error en la conversión de tipo
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la estructura más adecuada para leer 10 datos en C++?
if
switch
for
do-while
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué hace este fragmento en Python? for i in range(1, 5): if i % 2 == 0: print(i, end=' ')
1 2 3 4
2 4
1 3
Error de sintaxis
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Preguntas sobre Python

Quiz
•
University
30 questions
EXAMEN FINAL MORFOFISIOLOGIA I

Quiz
•
University
34 questions
Integrals

Quiz
•
12th Grade - University
25 questions
c language

Quiz
•
University
25 questions
Examen Parcial de Botánica

Quiz
•
University
25 questions
A la carga 2 - J

Quiz
•
University
25 questions
VÍAS METABÓLICAS

Quiz
•
University
25 questions
b1. EQUILIBRIO ÁCIDO - BASE

Quiz
•
University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Other
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

Quiz
•
10th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University