GoConqr has a new look! Let us know what you think.

Quiz

PROGRAMATON C#

Jonathan Rafael 10 questions

Take the quiz

This quiz has a time limit, so it opens in the usual player.

Questions in this quiz (10)

  1. 1private void button1_Click(object sender, EventArgs e)
    {
    //QUÉ VALOR DE X SE IMPRIME?

    for ( int X = 1; X <= 5; X++) {


    MessageBox.Show(" X = " + X);
    }
    }
    1. A0,1,2,3,4
    2. B1,2,3,4
    3. C1,2,3,4,5
    4. D0,1,2,3,4,5
  2. 2 Esta bien escrita la siguente sintaxis? (ListBox1 es un control de tipo ListBox)
    ListBox1.Clear();
    1. ATrue
    2. BFalse
  3. 3Private Button print = new Button();
    1. ACrea un control de botón
    2. BInicializa un control de botón
    3. CInstancia un control de botón
    4. DCrea un control de botón e Inicializa un control de botón
    5. ECrea un control de botón e Instancia un control de botón
  4. 4 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);
    }
    1. Ax= 2
    2. Bx= 4
    3. Cx= 6
    4. Dx= 144
  5. 5 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);


    }
    1. AX
    2. BY
    3. C2
    4. D5
  6. 6private 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("*");

    }
    1. A%*
    2. B% < *
    3. C<
    4. D% < > *
  7. 7 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);


    }
    1. A5
    2. B5.1416
    3. C3.1416
    4. D2
  8. 8El 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);
    1. AEL NUMERO DELA POSICION
    2. BEL TEXTO DE LA POSICION
    3. CNO EXISTE ESA FUNCION PARA COMBOBOX
    4. DNO SE AGREGA NADA
  9. 9El nombre C Sharp fue inspirado por la notación musical donde '#' indica que la nota es un semitono más alta
    1. ATrue
    2. BFalse
  10. 10El lenguaje de programación C# fue creado por ____________ que diseño también los lenguajes Turbo Pascal y Delphi
    1. APascal
    2. BPhyton
    3. CHejlsberg
    4. DNI UNO DE LOS MENCIONADOS

Information

Description
QUIZ DE C#
Language
Español
Views
83
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?