New ! Computer Science MCQ Practise Tests



11th Standard English Medium Computer Science Subject Polymorphism Book Back 1 Mark Questions with Solution Part - I

11th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 5

    1 Marks

    5 x 1 = 5
  1. Which of the following refers to a function having more than one distinct meaning?

    (a)

    Function Overloading

    (b)

    Member overloading

    (c)

    Operator overloading

    (d)

    Operations overloading

  2. Which of the following reduces the number of comparisons in a program?

    (a)

    Operator overloading

    (b)

    Operations overloading

    (c)

    Function Overloading

    (d)

    Member overloading

  3. void dispchar(char ch='$';int size=10)
    {
    for(int i=1;i < = size;i++)
    cout < < ch
    }
    How will you invoke the function dispchar() for the following input?
    To print  \(\$\) for 10 times

    (a)

    dispchar ();

    (b)

    dispchar( ch,size);

    (c)

    dispchar($,10);

    (d)

    dispchar('$',10 times);

  4. Which of the following is not true with respect to function overloading?

    (a)

    The overloaded functions must differ in their signature

    (b)

    The return type is also considered for overloading a function

    (c)

    The default arguments of overladed functions are not considered for Overloading

    (d)

    Destructor function cannot be overloaded

  5. Which of the following is invalid prototype for function overloading

    (a)

    void fun (intx);
    void fun (char ch);

    (b)

    void fun (intx);
    void fun (inty);

    (c)

    void fun (double d);
    void fun (char ch);

    (d)

    void fun (double d);
    void fun (inty);

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

Reviews & Comments about 11th Standard English Medium Computer Science Subject Polymorphism Book Back 1 Mark Questions with Solution Part - I updated Book back Questions

Write your Comment