quiz

profilesanosh3
  • Question 1

    0 out of 1.5 points

      
     

    Which of the following statements is incorrect?

     
  • Question 2

    0 out of 1.5 points

      
     

    A ______ file is one that holds the C# code that handles events related to the controls on the form and other events such as what should happen when the form first loads in the browser.

     
  • Question 3

    0 out of 1.5 points

      
     

    Which of the following is incorrect?

     
  • Question 4

    0 out of 1.5 points

      
     

    Upon execution of the following code block, what will be the value of the variable "result"?

    int i = 1;

    int k = 6;

    string result = String.Empty;


    i++;

    k -= 2;

    i *= k;

    if (i < 5 && k != i)

         result = "if";

    else if (k == 3 && i == 8)

        result = "else if";

    else if (k == 3 || i == 8)

        result = "else if (2)";

    else

      result = "else";

     
  • Question 5

    0 out of 1.5 points

      
     

    At the time the following loop is exited, what value will the integer variable "result" hold?

    int result = 0;

    for (int i = 0; i < 7; i++)

    {

       if (i == 3)

          continue;

       if (i == 5)

          break;
       result += i;

    }

     
  • Question 6

    1.5 out of 1.5 points

      
     

    In the following block two nested loops are presented. Upon exiting the outer loop, what value will the variable k hold?


    int k = 6;

    int i = 0;

    do

     {

            while (i != k)  

          {

               k -= i;

               i++;

            }

           k++;

    }

    while(i < 2);

     
  • Question 7

    1.5 out of 1.5 points

      
     

    With regards to methods, which of the following statements is incorrect?

     
  • Question 8

    0 out of 1.5 points

      
     

    Which statement about Master Pages is correct?

     
  • Question 9

    1.5 out of 1.5 points

      
     

    Which of the following is not a pillar of Object Oriented Programming (OOP)?

     
  • Question 10

    0 out of 1.5 points

      
     

    With regards to classes, which of the following statements is incorrect?

    • 11 years ago
    • 20
    Answer(1)

    Purchase the answer to view it

    blurred-text
    • attachment
      quries.docx