
Programación 2da Evaluación
Authored by Rogelio Lovera
Computers
12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
¿Cuál es el resultado de ejecutar el siguiente código?
Para i <- 1 Hasta 3 Hacer
Para j <- 1 Hasta 2 Hacer
Escribir i, j
FinPara
FinPara
1, 1;
1, 2;
2, 1;
2, 2;
3, 1;
3, 2
1, 2;
2, 3;
3, 4
1, 1;
2, 2;
3, 3
1, 1;
2, 2;
3, 3;
4, 4
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
¿Qué error hay en este código?
Contador <- 1;
Mientras Contador <= 10 Hacer
Contador <- 1;
Escribir Contador;
FinMientras
Falta la inicialización de Contador.
El Mientras no es válido para este tipo de programa.
El ciclo es infinito porque Contador siempre se reinicia a 1.
Escribir no debería ir dentro del ciclo.
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Observa el siguiente código en PSeInt:
Escribir "Ingrese un número:"
Leer n;
suma <- n + 5;
Escribir "La suma es:" + suma;
¿Cuál es el error en este código?
La variable suma no está inicializada.
Falta un FinAlgoritmo al final del programa.
El operador + en Escribir debe ser reemplazado por ,.
No es necesario leer el valor de n antes de calcular suma.
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Analiza el siguiente código en PSeInt:
Si x > 10 o x < 5 Entonces
Escribir "Número fuera de rango";
FinSi
¿Qué condición alternativa tiene el mismo resultado?
Si x < 10 y x > 5 Entonces
Si No(x >= 5 y x <= 10) Entonces
Si No(x < 5 y x > 10) Entonces
Si No(x > 10 o x < 5) Entonces
5.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
¿Cuál es el error en el siguiente código?
Si x > 0 Entonces
Escribir "Número positivo";
Sino
Escribir "Número negativo";
FinSi
Sino no es una palabra reservada válida.
Falta el FinAlgoritmo.
No se considera el caso donde x = 0.
Falta un Escribir dentro del bloque Si.
6.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
¿Cuál es el problema con el siguiente ciclo?
Contador <- 1;
Mientras Contador <= 5 Hacer
Escribir Contador;
Contador <- Contador - 1;
FinMientras
Escribir no debe usarse dentro de un ciclo.
La condición del ciclo es incorrecta, debería ser Contador < 5.
No se puede usar Mientras con una variable de control.
El ciclo nunca termina porque Contador no incrementa.
7.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
¿Qué imprimirá el siguiente código si x = 7?
Si x < 5 Entonces
Escribir "Menor a 5";
Sino
Si x > 10 Entonces
Escribir "Mayor a 10";
FinSi
FinSi
"Menor a 5"
No imprime nada.
"Mayor a 10"
"Menor a 5" y "Mayor a 10"
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
10 questions
Java: repetition control structure for & while
Quiz
•
10th - 12th Grade
10 questions
Structures de données
Quiz
•
12th Grade
10 questions
Java Fundamentals
Quiz
•
12th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
10 questions
Soal Ujian Komputer
Quiz
•
10th - 12th Grade
11 questions
Python Function
Quiz
•
11th - 12th Grade
10 questions
Alapismeretek
Quiz
•
7th - 12th Grade
10 questions
python quiz
Quiz
•
6th Grade - Professio...
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 Computers
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade
23 questions
CCG - CH8 Polygon angles and area Review
Quiz
•
9th - 12th Grade
8 questions
Momentum and Collisions
Lesson
•
9th - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade