Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Instrucciones
Historial de intentos
https://poli.instructure.com/courses/64451/quizzes/141980 1/6
18/3/24, 5:50 Actividad de puntos evaluables - Escenario 2: PRIMER BLOQUE-TEORICO-PRACTICO - VIRTUAL/PROGRAMACIÓN DE COMPUT…
Las respuestas correctas estarán disponibles del 19 de mar en 23:55 al 20 de mar en 23:55.
System.out.println("Hola Mundo");
Pregunta 2
10 / 10 pts
Una expresión que permite calcular el promedio de tres variables enteras a, b y c. Es:
a MOD b MOD c
(a+b+c)/3
Pregunta 3
10 / 10 pts
Ejercicio de Compilación:
1. Ingrese a eclipse.
2. Cree un proyecto.
3. Cree una clase.
4. Realize el encabezado public static void main (String[] args){
5. Declare variables ( DE SER NECESARIO)
boolean a = false;
boolean b = true;
https://poli.instructure.com/courses/64451/quizzes/141980 2/6
18/3/24, 5:50 Actividad de puntos evaluables - Escenario 2: PRIMER BLOQUE-TEORICO-PRACTICO - VIRTUAL/PROGRAMACIÓN DE COMPUT…
boolean c = !a;
boolean d = a || b;
System.out.println (a);
System.out.println (b);
System.out.println (c);
System.out.println (d);
System.out.println (e);
System.out.println (f);
false
true
true
true
true
true
false
true
true
true
true
false
true
true
true
true
true
true
https://poli.instructure.com/courses/64451/quizzes/141980 3/6
18/3/24, 5:50 Actividad de puntos evaluables - Escenario 2: PRIMER BLOQUE-TEORICO-PRACTICO - VIRTUAL/PROGRAMACIÓN DE COMPUT…
true
true
true
true
true
false
Pregunta 4
10 / 10 pts
Ejercicio de Compilación:
1. Ingrese a eclipse.
2. Cree un proyecto.
3. Cree una clase.
4. Realize el encabezado public static void main (String[] args){
5. Declare variables ( DE SER NECESARIO)
boolean a = false;
boolean b = true;
boolean c = !a;
boolean d = a || b;
boolean e = d || c && !a;
boolean f = true && !e;
System.out.println (a);
System.out.println (b);
System.out.println (c);
System.out.println (d);
System.out.println (e);
System.out.println (f);
false
true
true
true
false
false
false
true
false
true
true
false
https://poli.instructure.com/courses/64451/quizzes/141980 4/6
18/3/24, 5:50 Actividad de puntos evaluables - Escenario 2: PRIMER BLOQUE-TEORICO-PRACTICO - VIRTUAL/PROGRAMACIÓN DE COMPUT…
false
true
true
true
true
true
false
true
true
true
true
false
Pregunta 5
10 / 10 pts
Ejercicio de Compilación:
1. Ingrese a eclipse.
2. Cree un proyecto.
3. Cree una clase.
4. Realize el encabezado public static void main (String[] args){
5. Declare variables ( DE SER NECESARIO)
int a = 1;
int b = 2;
int c = 5;
int d = (a + b) * c;
int e = a + b * c;
int f = 2 * a * a * + b * 3 + c;
System.out.println (a);
System.out.println (b);
System.out.println (c);
System.out.println (d);
System.out.println (e);
System.out.println (f);
1
2
5
15
11
17
1
2
5
15
12
17
https://poli.instructure.com/courses/64451/quizzes/141980 5/6
18/3/24, 5:50 Actividad de puntos evaluables - Escenario 2: PRIMER BLOQUE-TEORICO-PRACTICO - VIRTUAL/PROGRAMACIÓN DE COMPUT…
2
3
6
15
11
17
1
3
5
15
10
17
https://poli.instructure.com/courses/64451/quizzes/141980 6/6