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.

CS304 ALL Current Mid Term Papers Fall 2016 And Past Mid Term Papers at One Place from 17 December 2016 to 29 December 2016

Views: 2229

Replies to This Discussion

Note: (This is Featured Discussion)

For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

Or visit this link 

Click Here For Detail.


.•°How to Download past papers from study groups°•.

Share Your Current Mid Term Papers (Questions/Pattern) from 17 December 2016 to 29 December 2016 & Solved Past Papers, Solved MCQs as well here to help each other. Thanks 

Cs304 oop Current Paper

No automatic alt text available.

No automatic alt text available.

Image may contain: phone

No automatic alt text available.

class Exam {
char *ExamName;
int No_of_paper;
ExamName = "Final Term";
No_of_paper = 5;
void setname( char* name)
ExamName = name;
void setpaper(int paper)
No_of_paper = paper;
char* getname()
return ExamName;
int getpaper()
return No_of_paper;
int main()
Exam exam1;
cout " Exam = "exam1.getname()endl;
cout " Number of paper = " exam1.getpaper();
return 0;

CS304 Short Notes For Mid Term Exam Preparation


Thanks for sharing

mcqs were easy and from handouts... 

Q. difference in simple association and composition

Q. give output of given data

CS304 (28-12-2016)(10:30 PKST)

MCQS some were from past papers Moaz files

Or some were conceptual.

Subjective part as under

Remember me in ur prayers



26:   Write a program which consists of a class named Department, this class should consist of two data members DeptName and No_of_emps.

The class should further consist of three overloaded constructors, i.e. Default constructor, one argument constructor and two arguments constructor and a member function named Display() which displays the Department information.


In main program define three reference variables for respective constructors and display its information.

25:  How we resolve the following problems in overloading of assignment operator in string class, (explain with the help of c++ code)


  1. Self referencing
  2. Assigning a string value to more than one strings in a single line like, stringobject1 = string object2 = stringobject3 = stringobject4


24:  Let’s suppose you are the planning engineer in an LCD manufacturing unit. You are given a task to model the LCD for better domain understanding. In your opinion, will object orientation help in modeling this system (LCD Designing)? Briefly justify as well.

23:  Consider the following code segment:


class Complex {

double real, img;


Complex & operator *=(const Complex & rhs);


Overload the *= operator for the “Complex” class by writing C++ code.


22:  “Generalization and Specialization are same concepts”.

Do you agree with above statement? Justify your answer with solid reasoning.


21:  While overloading stream insertion and extraction operators a programmer can not declare ostream and istream reference as constant. Why?

AssalamuALAIKUM Bhai,

please bhai ap wo es subject final k lit notes aur past paper dy dyn please bhai ..


Looking For Something? Search Below

Latest Activity

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

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