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.


ALL STUDENTS SHARE YOUR PAPERS FOR HELP OTHERS

Views: 1092

Replies to This Discussion

thanks for sharing Atif

My Today’s Paper……….cs201 ,final term

7/3/2015                                  

Just 10 % was from objective mooaz file and 10 % from subjective moaaz file.

1) How you differentiate an object from a class? 2 marks

2) How the data members of the class are initialized with meaning full value? 2 marks

3) Suppose we have a class student which contains the object of the class string as its data member, now if we create an object of student type, then what will the construction sequence of the objects? 2 marks

4) What happened when we use new and delete operators? 2 marks

5) Suppose you are going to code a macro over function in this particular case? 3 marks

6) Write equivalent template function for the given function                    

     Float Clesius(float fahrenheit)

{

Float Celsuis=0.0 ;

Celsuis=((Fahrenheit -32)*5/9;

}                                                                      3 marks

7) What will the output for the given code……code was very lengthy about width… 3 marks

8) Write general syntax of” two way friendship between two classes” i.e [class 1 and class 2].  3 marks

9) Output of the code the (code about friend function).   5 marks

10) Code was again about friend function  .          5 marks

11) What will the output of the code (Class file …) .   5 marks

12) Coding…Bad practice has adopted here…Change the code.  5 marks

RSS

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

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