PROGRAMATON C#

Descripción

QUIZ DE C#
Jonathan Rafael
Test por Jonathan Rafael, actualizado hace más de 1 año
Jonathan Rafael
Creado por Jonathan Rafael hace alrededor de 8 años
60
0

Resumen del Recurso

Pregunta 1

Pregunta
private void button1_Click(object sender, EventArgs e) { //QUÉ VALOR DE X SE IMPRIME? for ( int X = 1; X <= 5; X++) { MessageBox.Show(" X = " + X); } }
Respuesta
  • 0,1,2,3,4
  • 1,2,3,4
  • 1,2,3,4,5
  • 0,1,2,3,4,5

Pregunta 2

Pregunta
Esta bien escrita la siguente sintaxis? (ListBox1 es un control de tipo ListBox) ListBox1.Clear();
Respuesta
  • True
  • False

Pregunta 3

Pregunta
Private Button print = new Button();
Respuesta
  • Crea un control de botón
  • Inicializa un control de botón
  • Instancia un control de botón
  • Crea un control de botón e Inicializa un control de botón
  • Crea un control de botón e Instancia un control de botón

Pregunta 4

Pregunta
private void button3_Click(object sender, EventArgs e) { // QUE VALOR IMPRIME X? int x = 2; x = x + 4; x = x * x * 4; x = 4; MessageBox.Show("x = " + x); }
Respuesta
  • x= 2
  • x= 4
  • x= 6
  • x= 144

Pregunta 5

Pregunta
private void button4_Click(object sender, EventArgs e) { //¿QUÉ VALOR DE Y SE IMPRIME? int X; int Y; X = 5; Y = 2; X = Y; Y = X; MessageBox.Show("Y = " + Y); }
Respuesta
  • X
  • Y
  • 2
  • 5

Pregunta 6

Pregunta
private void button5_Click(object sender, EventArgs e) { // ¿QUÉ SECUENCIA DE CARACTERES IMPRIME ESTE PROGRAMA? int X ; int Y ; MessageBox .Show ("%"); if ( X > Y ){ MessageBox.Show(">"); } else MessageBox.Show("<"); MessageBox.Show("*"); }
Respuesta
  • %*
  • % < *
  • <
  • % < > *

Pregunta 7

Pregunta
private void button6_Click(object sender, EventArgs e) { // ¿QUÉ IMPRIME EL SIGUIENTE PROBLEMA? double x; int y= 1; y = 2; x = y + 3.1416 ; MessageBox.Show(" x= " + x); }
Respuesta
  • 5
  • 5.1416
  • 3.1416
  • 2

Pregunta 8

Pregunta
El combobox contiene los 5 nombres de las escuelas mas prestigiadas de la zona norte , y el rector desea enlistarlas por abecedario. Sabes que el siguiente codigo va a agregar ______________________ ListBox1.Items.Add(combobox1.SelectedItem);
Respuesta
  • EL NUMERO DELA POSICION
  • EL TEXTO DE LA POSICION
  • NO EXISTE ESA FUNCION PARA COMBOBOX
  • NO SE AGREGA NADA

Pregunta 9

Pregunta
El nombre C Sharp fue inspirado por la notación musical donde '#' indica que la nota es un semitono más alta
Respuesta
  • True
  • False

Pregunta 10

Pregunta
El lenguaje de programación C# fue creado por ____________ que diseño también los lenguajes Turbo Pascal y Delphi
Respuesta
  • Pascal
  • Phyton
  • Hejlsberg
  • NI UNO DE LOS MENCIONADOS
Mostrar resumen completo Ocultar resumen completo

Similar

Proceso de Desarrollo de Software
Steven Marin
ODBMS (Base de datos orientada aobjetos)
César Ramírez
Lenguajes de Programación
Freed CV
Lenguaje de programación
fabiola flores
Programando C#
pablomcsd
PARASITOLOGIA
marcela mendez
Hacia una Compresión conceptual del termino "Teoría de la Educación"
Roel Estrada
ANIME
Paula Olmos
Mapa conceptual de ejemplo de mkt
VICTOR HUGO ORTIZ ALCALA
EL DISEÑO INTERACTIVO. por Luis Briceño Manzanero
Luis Briceño
Mercadotecnia
ARACELI GARCIA NAVA