CS304 Finalterm Paper 2013 File 6

No Comments

    my today's paper

    There was 40 Mcqs mostly from past papers.......

     2 marks Questions: 1.Describe the way to declare template class as a friend of any other class?

    2. Explain statement below

    Vector ivec (4, 3);

    3. You are required to list down default access specifier for c++ class and c structure.

    4. State two reasons why virtual method cannot be static.

     3 Marks Questions.

    1. Describe three properties necessary for a container to implement generic algorithm.

    2. In both virtual inheritance and multiple inheritance copy/copies of base class are created, List down how many copy/copies are created for:

    virtual inheritance

    Multiple inheritance

    3. Do you think that encapsulation is used to cope with complexity and simplifies the model and provide better understand? Explain the said perceptively with one real word example.

    5 Marks Question:

    1. Write the average function that returns the average of all the element of an array. The argument to the function should be array name and the size of the array (type int)

    2. There was a program with this question

    Identify concrete and abstract classes.
Next PostNewer Post Previous PostOlder Post Home

0 comments

Post a Comment