PROGRAMATON C#

Description

QUIZ DE C#
Jonathan Rafael
Quiz by Jonathan Rafael, updated more than 1 year ago
Jonathan Rafael
Created by Jonathan Rafael about 8 years ago
60
0

Resource summary

Question 1

Question
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); } }
Answer
  • 0,1,2,3,4
  • 1,2,3,4
  • 1,2,3,4,5
  • 0,1,2,3,4,5

Question 2

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

Question 3

Question
Private Button print = new Button();
Answer
  • 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

Question 4

Question
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); }
Answer
  • x= 2
  • x= 4
  • x= 6
  • x= 144

Question 5

Question
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); }
Answer
  • X
  • Y
  • 2
  • 5

Question 6

Question
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("*"); }
Answer
  • %*
  • % < *
  • <
  • % < > *

Question 7

Question
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); }
Answer
  • 5
  • 5.1416
  • 3.1416
  • 2

Question 8

Question
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);
Answer
  • EL NUMERO DELA POSICION
  • EL TEXTO DE LA POSICION
  • NO EXISTE ESA FUNCION PARA COMBOBOX
  • NO SE AGREGA NADA

Question 9

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

Question 10

Question
El lenguaje de programación C# fue creado por ____________ que diseño también los lenguajes Turbo Pascal y Delphi
Answer
  • Pascal
  • Phyton
  • Hejlsberg
  • NI UNO DE LOS MENCIONADOS
Show full summary Hide full summary

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