Evaluación II 4to Bachillerato

Description

Evaluación de Unidad para 4to Grado de Bachillerato Valle del saber
Miguel Arias
Quiz by Miguel Arias, updated more than 1 year ago
Miguel Arias
Created by Miguel Arias about 9 years ago
4
0

Resource summary

Question 1

Question
[blank_start]i=1;[blank_end] while (i<10) { System.out.println('hola'); i=i+1; }
Answer
  • i=1;

Question 2

Question
a=1; do [blank_start]{[blank_end] System.out.pritln(a + "*" +i+ "=" + a*i); [blank_start]i=i+1;[blank_end] } while ([blank_start]i<=10[blank_end]);
Answer
  • {
  • i=i+1;
  • +i+
  • pritln
  • i<=10
  • i==10

Question 3

Question
Scanner x=[blank_start]new[blank_end] Scanner (System.[blank_start]in[blank_end]);
Answer
  • in
  • int
  • ini
  • float
  • new
  • neu
  • nev

Question 4

Question
int i,vcs; String nm; Scanner x=new Scanner (System.in); System.out.println ("dame un nombre"); nm=x.nextLine(); System.out.println("cuantas veces quieres que se repita"); vcs=x.nextInt(); i=1; [blank_start]do[blank_end] { System.out.println(nm); i=i+1; } while (i<=vcs);
Answer
  • do
  • int
  • While
  • for

Question 5

Question
int i,n; Scanner x=new Scanner (System.in); i=1; System.out.println("Dame el valor de N"); n=x.next[blank_start]Int[blank_end](); [blank_start]do[blank_end] { System.out.println(i); i=i+1; } [blank_start]while[blank_end] (i<=n);
Answer
  • Int
  • do
  • while

Question 6

Question
int i; i=1; do { if (i [blank_start]%[blank_end] 2==0) { System.out.println([blank_start]i[blank_end]); } [blank_start]i=i+1[blank_end]; } while (i<=10); }
Answer
  • %
  • &
  • @
  • x
  • y
  • x+2

Question 7

Question
int us,cla,i,a; Scanner w=new [blank_start]Scanner[blank_end](System.in); System.out.println("cual es su usuario"); us=w.next[blank_start]Int[blank_end](); System.out.println("cual es su clave"); cla=[blank_start]w[blank_end].nextInt(); if (us == 1[blank_start]&&[blank_end] cla == 123) { System.out.println("Acceso autorizado"); } [blank_start]else[blank_end] { System.out.println("acceso denegado"); }
Answer
  • Scanner

Question 8

Question
[blank_start]switch[blank_end] (op) { case 1: System.[blank_start]out[blank_end].println("UNO"); break; case [blank_start]2[blank_end]: System.out.println("UNO")[blank_start];[blank_end] break; default: System.out.println("no existe opción"); [blank_start]break[blank_end]; [blank_start]}[blank_end]
Answer
  • switch
  • out
  • Swith
  • 2
  • break
  • ;
  • }

Question 9

Question
int A; A= 1; [blank_start]while[blank_end] (A<=10) { System.out.[blank_start]println[blank_end]("Jose")[blank_start];[blank_end] [blank_start]A= A+1[blank_end]; }
Answer
  • while
  • for
  • if
  • a++
  • primnt
  • :
  • }
  • println
  • printm

Question 10

Question
int i=1; while ([blank_start]i<=10[blank_end]) { if (i % 2 [blank_start]==[blank_end] 0){ System.out.println(i); } [blank_start]i=i+1[blank_end]; }
Answer
  • i<=10
  • x=10
  • i>=10
  • =
  • <=
  • x=x+x
Show full summary Hide full summary

Similar

Mapa Conceptual de la arquitectura de base de datos
Alan Alvarado
Abreviaciones comunes en programación web
Diego Santos
codigos QR
Cristina Padilla
ANALISIS SISTEMATICO DE LA COMPUTADORA Y LOS PERIFERICOS QUE LO INTEGRAN
Ana pinzon
Historia de la Computadora
Diego Santos
Interface en Java
tavoberry
MAPA CONCEPTUAL PARADIGMAS DE PROGRAMACIÓN I
DANY OSIEL RODRIGUEZ VARGAS
Comprobantes electronicos
esteban delgado
Arreglos en Java
Joel Valls
Programación Orientada a Objetos (POO) - Por Guillermo Ospitia
Guillermo Ospitia
Vocabulario de terminos de lenguaje en JAVA
Manüeel Hüeesca