Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Parcial - Escenario 4
Instrucciones
https://poli.instructure.com/courses/49163/quizzes/111975 1/10
19/9/22, 20:35 Parcial - Escenario 4: PRIMER BLOQUE-TEORICO - PRACTICO - VIRTUAL/PROGRAMACIÓN DE COMPUTADORES-[GRUPO B…
Historial de intentos
Las respuestas correctas estarán disponibles del 20 de sep en 23:55 al 21 de sep en 23:55.
Pregunta 1 10 / 10 pts
https://poli.instructure.com/courses/49163/quizzes/111975 2/10
19/9/22, 20:35 Parcial - Escenario 4: PRIMER BLOQUE-TEORICO - PRACTICO - VIRTUAL/PROGRAMACIÓN DE COMPUTADORES-[GRUPO B…
Pregunta 2 10 / 10 pts
ambiente
Respuesta 1:
https://poli.instructure.com/courses/49163/quizzes/111975 3/10
19/9/22, 20:35 Parcial - Escenario 4: PRIMER BLOQUE-TEORICO - PRACTICO - VIRTUAL/PROGRAMACIÓN DE COMPUTADORES-[GRUPO B…
Falso
Respuesta 2:
Verdadero
Pregunta 3 10 / 10 pts
Falso
Verdadero
Pregunta 4 10 / 10 pts
https://poli.instructure.com/courses/49163/quizzes/111975 4/10
19/9/22, 20:35 Parcial - Escenario 4: PRIMER BLOQUE-TEORICO - PRACTICO - VIRTUAL/PROGRAMACIÓN DE COMPUTADORES-[GRUPO B…
es_multiplo=true;
}
}
return es_multiplo;
}
Pregunta 5 10 / 10 pts
https://poli.instructure.com/courses/49163/quizzes/111975 5/10
19/9/22, 20:35 Parcial - Escenario 4: PRIMER BLOQUE-TEORICO - PRACTICO - VIRTUAL/PROGRAMACIÓN DE COMPUTADORES-[GRUPO B…
Respuesta 1:
15
Respuesta 2:
Sí
Pregunta 6 10 / 10 pts
Ejercicio de Compilación:
1. Ingrese a eclipse.
2. Cree un proyecto.
https://poli.instructure.com/courses/49163/quizzes/111975 6/10
19/9/22, 20:35 Parcial - Escenario 4: PRIMER BLOQUE-TEORICO - PRACTICO - VIRTUAL/PROGRAMACIÓN DE COMPUTADORES-[GRUPO B…
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
false
true
true
false
false
true
true
true
true
true
false
true
true
true
false
false
false
true
true
true
true
false
https://poli.instructure.com/courses/49163/quizzes/111975 7/10
19/9/22, 20:35 Parcial - Escenario 4: PRIMER BLOQUE-TEORICO - PRACTICO - VIRTUAL/PROGRAMACIÓN DE COMPUTADORES-[GRUPO B…
Pregunta 7 10 / 10 pts
static int calcular_pendiente(double P1, double x1, double y1, double P2,
double x2, double y2) { }
Pregunta 8 5 / 5 pts
https://poli.instructure.com/courses/49163/quizzes/111975 8/10
19/9/22, 20:35 Parcial - Escenario 4: PRIMER BLOQUE-TEORICO - PRACTICO - VIRTUAL/PROGRAMACIÓN DE COMPUTADORES-[GRUPO B…
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)
char i = 'd';
char j = 'e';
int n = 2;
String s = "d+e";
String t = "de";
String u = i + "" + n + j + "!";
System.out.println (i);
System.out.println (j);
System.out.println (s);
System.out.println (t);
System.out.println (u);
d
e
de
de
de!
d
e
de
de
d2!
e
e
d+e
de!
de
d
e
d+e
de
d2e!
https://poli.instructure.com/courses/49163/quizzes/111975 9/10
19/9/22, 20:35 Parcial - Escenario 4: PRIMER BLOQUE-TEORICO - PRACTICO - VIRTUAL/PROGRAMACIÓN DE COMPUTADORES-[GRUPO B…
https://poli.instructure.com/courses/49163/quizzes/111975 10/10