Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

Please your current papers here 


Views: 3750

Replies to This Discussion

muhammad ishtiaq Discussion is already opened for current final term papers & some current papers are uploaded can check at the below link thanks

Total Questions: 52


Total Marks: 80


Total MCQs: 40 (Each of 1 Mark)

Total Short Questions: 4 (Each of 2 Mark)

Total Short Questions: 4 (Each of 3 Mark)

Total Long Questions: 4 (Each of 5 Mark)


2 mark Questions:

1. Write down a list of four intangible objects?

2. Describe three properties necessary a container to implement generic algorithms.


3. Write three important features of virtual functions


Give the C++ code of template function to print  the values of any type of array I int.this function will take   2 parameters one will be pointer and other will be  will be size of array  ?

3 mark Questions:

1. Describe the salint feature of abstract class (mrk3)

2. define composition and give its example with coding


3. define static and dynamic binding.


4. what is constructor?


5 mark Questions:

1. What is the difference (if any) between the two types of function declarations?

template function_declaration;

template function_declaration;

2. Give three advantages that Iterators provide over Cursors.

3. What are container requirements (5)

4. What is random iterator? What is its relation with vectors?

Total 52 questions:

4 questions of 2 marks

4 questions of 3 marks

4 questions of 5 marks.

2 mark Questions:

1.Give two uses of a destructor.

2. Write the syntax of declaring a pure virtual function in a class?

3. What is the purpose of template parameter?

4. Give the names of three ways to handle errors in a program.

3 mark Questions:         

1. Describe the way to declare a template class as a friend class of any other class.

2. What is the purpose of template parameter?

3. What is meant by direct base class?

4. State any conflict that may rise due to multiple inheritance?

5 mark Questions:

1. Suppose the base class and the derived class each have a member function with the same signature. When you have a pointer to a base class object and call a function member through the pointer, discuss what determines which function is actually called, the base class member function or the derived-class function

2. What are container requirements (5)

3. Tell the logical error/s in the code given below with reference to resource management; also describe how we

can correct that error/s.

class Test{


int function1(){


                        FILE *fileptr = fopen(“filename.txt”,“w”);

                         throw exception();


                         return 0;


                         catch(Exception e){





4. In which situation do we need to implement Virtual inheritance? explain with an example


Current paper of Cs304

Total 52 questions:

4 questions of 2 marks

4 questions of 3 marks

4 questions of 5 marks.

2 mark Questions:

1. Write three important features of virtual functions

2 Give the name of three operation that a cursor or iterate generally provide?

3. What do you know about function Template? Answer in two line.

4. What is a Virtual Destructor?

3 mark Questions:

1.define static and dynamic binding.


2. What are container requirements?

3. Sort data in the order in which compiler searches a function. Complete specialization, generic

template, Partial specialization, Ordinary function.

4. what is constructor?

5 mark Questions:

1. Describe problems with multiple inheritances?

2.Consider the code below,

template< typename T >

class T1 {


   T i;


   T j;


   T k;

   friend void Test();



This code has a template class T1 with three members i,j and k and a friend function Test(), you have to

describe which member/s of T1 will be available in function Test().

3. Give the c++ code of case sensitive comparison function of string class.

jo paper tariq sir ne share kye hain mn ne in se tyari ki th lekn jst ik hi que aya in mn se r 20 mcqs new thy 20 moaz ki file mn se thy

 S@@per Man thanks for info 

matlab ki is subject ma lag gayi ,,,, yeh tough hay buhat

g bilkul bohat tough ha ye subject......

Today's paper were very easy  ... mostly mcqs were in past paper...

mostly mcqs and question were related frm inheritance, function and templates 

bext of luck frnds

app paper tu share karoo, any questions. coding bhi ayi thi kia>>?

Kis file se Mcqs aaye the plz mention. 


© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service