We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

CS304 ALL Current Mid Term Papers Spring 2016 & Past Mid Term Papers at One Place from 28 May 2016 to 04 June 2016

CS304 ALL Current Mid Term Papers Spring 2016 & Past Mid Term Papers at One Place from 28 May 2016 to 04 June 2016 

 

You Can Download Solved Mid Term Papers, Short Notes, Lecture Wise Questions Answers Files, Solved MCQs, Solved Quizzes , Solved Mid Term Subjective Papers , Solved Mid Term Objective Papers From This Discussion For Preparation Mid Term Papers of Fall 2014

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.

You Can download papers by a simple click on file. All the uploaded filed are in Zip file or PDF format So Install Adobe Reader and Winrar Software’s to open these Files

Note: If you download files with Internet Download Manager (IDM), you would face problem of damage files. All files are correct and no damage file, If you face this problem, Open IDM > Click on Options > Click on File Types > Remove PDF and ZIP from files types and save. After it download again files, files will work properly.OR Press alt+click the file ...

Thanks and Regards,

VU Students.ning Social Network.

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 2168

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Replies to This Discussion

Share Your Current Mid Term Papers (Questions/Pattern) 28 May 2016 to 04 June 2016 to help each other. Thanks

Solved Mid Terms Papers By MOAAZ & Other Students

 

Click On the below link to download

 

Solved Mid Term Papers

 

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°•.

CS304 (30-5-2016) (10:30 PKST)
Q#1: (5 marks)
Consider the following code:
class Tutor{
int id;
char * name;
public:
Tutor(int, char*){
-------
-------
}
Tutor(const Tutor & obj){
------
------
}
};
Implement copy constructor for the Tutor class by shallow copy and by deep copy.
Q#2 (5 marks)
Consider the following code segment:
class Complex{
private:
double real, img;
public:
// declaration of overloaded subtraction operator
// declaration of overloaded multiplication operator
};
// Implementation of overloaded subtraction operator
// Implementation of overloaded multiplication operator
Give the declarations and implementations of each overloaded operator.
Q#3 (3 marks)
What will be output after executing following lines of code, (suppose there is no error and code will be executed correctly), justify your answer as well.
class Student{
static int noOfStudents;
int rollNo;
public:
Student::Student(){
noOfStudents++;
}
Student::~Student(){
noOfStudents--;
}
static int getTotalStudent(){
return noOfStudents;
}
};
int Student::noOfStudents = 0;
int main(){
Student obj1,obj2;
{
Student obj3;
}
cout/p>

Today’s (30-05-16) CS304 Paper
Subjective
1- Give the list of two operands which can’t be overloaded. (02)
2- Assign the value correctly in the given code. (02)
3- Given the class code of array of objects and justify if wrong or right. (03)
4- Identify the technique of OOP from the given code. (03)
5- Given the starting code of complex number we have to write the methods of Subtraction overloading multiplication overloading and also their implementations. (05)
6- Correct the errors from the given exam code. (05)
Objective
1-which of the following is the example of accessor function
(a) Getter for getting data members
(b) Copy constructor for creating new objects from existing object
2- A static member function can’t have access to ……………… pointer
(a)- Dangling (b)- This ©- Reference (d)- Null
3- Inheritance can be implemented by
(a) Function overloading (b) Function Overriding © Operator overloading (d) Operator overriding 
4- C1=C1 is the example of
(a) Assignment (b) Self assignment © Compound assignment (d) Multiple assignment
5-Constructor with a different signature , the default constructor is
(a) Overloaded constructor (b) Overloaded function ©Overridden constructor (d)overriding constructor
6-Derived class and base class is behaviorally incompatible with
(a)sub-typing (b) inheritance © extension (d) none
7- Classes are the representations of 
(a)- Model (b)- Object ©- Relation (d)- Inheritance
8- Which of the following function can’t be overloaded?
(a)- ?: (b)- * ©- / (d)- #

Please give me the solutions of Questions...
kal mera paper hai plzz rply fast

By +''_Dua_''+

My Paper MCQs
- Please choose one
___________, which means if A declares B as its friend it does NOT mean that A can access private data
of B. It only means that B can access all data of A.
► Friendship is one way only
► Friendship is two way only
► NO Friendship between classes
► Any kind of friendship
Identify which of the following overloaded operator function’s declaration is appropriate for the given
call?
Rational_number_1 + 2.325
Where Rational_number_1 is an object of user defined class Rational_number.
► Rational_number operator+( Rational_number & obj);
► Rational_number operator+(double& obj); (Page 145)
► Rational_number operator+(Rational_number &obj, double& num);
► operator+(double& obj);

Which operator can not be overloaded?
► The relation operator ( >= )
► Assignment operator ( = )
► Script operator ( [] )
► Conditional operator (? : ) 
Identify which of the following overloaded operator function’s declaration is appropriate for the given
call?
Rational_number_1 + 2.325
Where Rational_number_1 is an object of user defined class Rational_number.
► Rational_number operator+( Rational_number & obj);
► Rational_number operator+(double& obj); (Page 145)
► Rational_number operator+(Rational_number &obj, double& num);
► operator+(double& obj);

The ________ relationship indicates that an object contains other objects.
► None of given (Page 53)
► ‘has-a’
► ‘is-a’
► ‘be

Which operator can not be overloaded?
 ►The relation operator ( >= )
 ►Assignment operator ( = )
 ►Script operator ( [] )
 ►Conditional operator (? : ) 
Which one of the following terms best represents the statement given below,
” Hiding details of an object from the other parts of a program”
► Obfustication.
► Data Mining.
► Compilation.
► Encapsulation 
Subjective :_____________________________
Q:Friend Fn 2 marks 
Q:constructor k baray may zayada Q thay 
Q:Over loading ka tha 
Q:class k baray may code tha explain karna tha
Consider the class given below explain the order in which variables e,f and g will be initialized after
creating object of this class,
class XYZ{
int e;
int f;
int g;
public:
XYZ ();
};
XYZ:: XYZ ():g(30),e(10),f(20)
{

}
Answer:-
The value will give in the way which they are defined in the class.
E=10,f=30 and g=20
overall it was vvvv easy 
best of luck

 

By +''_Dua_''+

Q#1: (5 marks)
Consider the following code:
class Tutor{
int id;
char * name;
public:
Tutor(int, char*){
-------
-------
}
Tutor(const Tutor & obj){
------
------
}
};
Implement copy constructor for the Tutor class by shallow copy and by deep copy.
Q#2 (5 marks)
Consider the following code segment:
class Complex{
private:
double real, img;
public:
// declaration of overloaded subtraction operator 
// declaration of overloaded multiplication operator 
};
// Implementation of overloaded subtraction operator
// Implementation of overloaded multiplication operator
Give the declarations and implementations of each overloaded operator.
Q#3 (3 marks)
What will be output after executing following lines of code, (suppose there is no error and code will be executed correctly), justify your answer as well.
class Student{
static int noOfStudents;
int rollNo;
public:
Student::Student(){
noOfStudents++;
}
Student::~Student(){
noOfStudents--;
}
static int getTotalStudent(){
return noOfStudents;
}
};
int Student::noOfStudents = 0;
int main(){
Student obj1,obj2;
{
Student obj3;
}
cout/p>

Thnks Bro....
#Tahir Siddiqui

RSS

Latest Activity

Profile IconMuhammad Younas Rajpoot, Zeeshan Khalid, iramnadeem and 14 more joined Virtual University of Pakistan
34 minutes ago
Profile IconSyeda Kinza and Rana Usman joined + M.Tariq Malik's group
34 minutes ago
٤ دن replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
38 minutes ago
٤ دن updated their profile
44 minutes ago
༺łℳℜ₳₦༻ immy posted a discussion
1 hour ago
+ Danial replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
4 hours ago
Aijaz khan posted a discussion
4 hours ago
khurram us salam replied to + M.Tariq Malik's discussion ACC501 GDB Fall 2019 Solution & Discussion in the group ACC501 Business Finance
5 hours ago
khurram us salam joined + M.Tariq Malik's group
5 hours ago
+ ՏhehαrZααD + replied to + ՏhehαrZααD +'s discussion Assalamu Alaikum
6 hours ago
+ ! ! ! ! ! Blu Moon replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
7 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked + Iuuoɔǝut +'s discussion After and Before Marriage situations
7 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked + Iuuoɔǝut +'s discussion Rules for Happy Marriage Life
7 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked +***piya o ry piya***+'s discussion eng201
7 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked 彡JK彡 ❤️'s discussion جسکی سنو وہی فرشتہ
7 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked + ! ❤INNOCENT❤'s discussion Faqeer
7 hours ago
+++"MinShah"+++ updated their profile
7 hours ago
abdul bari updated their profile
7 hours ago
Zain Arshad replied to + M.Tariq Malik's discussion ENG201 Business and Technical English Writing Assignment No 01 Fall 2019 Solution & Discussion in the group ENG201 Business and Technical English Writing
7 hours ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
7 hours ago

Today Top Members 

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

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