New ! Computer Science MCQ Practise Tests



11th Standard Computer Science English Medium Free Online Test One Mark Questions with Answer Key 2020 - Part Nine

11th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 00:10:00 Hrs
Total Marks : 10

    Answer all the questions

    10 x 1 = 10
  1. Modifiers are also called as ________.

    (a)

    data

    (b)

    qualifiers

    (c)

    indentifiers

    (d)

    seperators

  2. Which of the following used to enclose a group of statements?

    (a)

    { }

    (b)

    ( )

    (c)

    [ ]

    (d)

    < >

  3. The sequential statement always end with ________.

    (a)

    ;

    (b)

    //

    (c)

    #

  4. In C++, which of the following is treated as true? 

    (a)

    non zero

    (b)

    negative numbers

    (c)

    zero

    (d)

    both a and b

  5. Which of the following statement is not true?
    (i) If nested inside if part.
    (ii) If nested inside else part
    (iii) for nested inside if part
    (iv) if nested inside both if part and else part

    (a)

    only (i)

    (b)

    only (ii)

    (c)

    both (i) and (iv)

    (d)

    only (iii)

  6. Which of the following statement is optional in switch? (i) case (ii) break (iii) default

    (a)

    only (i)

    (b)

    only (ii)

    (c)

    both (i) and (iii)

    (d)

    both (ii) and (iii)

  7. What is the output of the followings program snippet if a=11?
    int a;
    switch (a)
    {
    case 0;
    cout << "The number is zero" << break;
    default;
    cout << "The number is nonzem'' << break;
    int b = a% 2;
    swith (b)
    {
    case 0;
    cout << "The number is event" << break;
    case 1;
    cout << "The number is odd" << break;
    }
    (i) The number is zero
    (ii) The number is non zero
    (iii) The number is even
    (iv) The number is odd

    (a)

    both (i) and (iv)

    (b)

    both (ii) and (iii)

    (c)

    both (ii) and (i)

    (d)

    both (ii) and (iv)

  8. How many elements are there in every loop?

    (a)

    3

    (b)

    5

    (c)

    4

    (d)

    2

  9. How many times the following loop executes? for (i=0; i>5; i++) {= }

    (a)

    4

    (b)

    5

    (c)

    0

    (d)

    infinite

  10. if no statement in the body loop is called ________.

    (a)

    empty loop

    (b)

    finite loop

    (c)

    simple loop

    (d)

    selection loop

*****************************************

Reviews & Comments about 11th Standard Computer Science English Medium Free Online Test One Mark Questions with Answer Key 2020 - Part Nine

Write your Comment