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 & Past Final Term Papers at One Place from 03 June 2017 to 14 June 2017

CS304 ALL Current Mid Term Papers & Past Final Term Papers at One Place from 03 June 2017 to 14 June 2017

+ 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: 1103

.

+ 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) & Past Papers as well here to help each other. Thanks

Share Your Current Mid Term Papers (Questions/Pattern) & Past Papers as well here to help each other. Thanks

Past solved papers by Azher and Ishal Fatima

Attachments:

today's​ paper CS304: 3-6-17 by Tahir Akbar

MCQS were not from past papers but were so easy, all of them.

QUESTIONS:
1. The use of the "this pointer" is slightly changed in a constant member function. Do you think so? In both conditions, provide a solid justification. (3 marks)

2. Given the code:
class Rectangle{
private:
int Length;
int Width;
public:
int getLength();
int getWidth();
Rectangle operator ++();
};
int Rectangle::getLength{
return Length;
}
int Rectangle::getWidth{
return Width;
}
You are required to overload the operator '++' for the class Rectangle. (3 marks)

3. Given the Object Oriented Model (Two Objects of Lesson and Topic, there was a relation of Aggregation from Topic to Lesson). Explain the relations between Objects. Write the C++ code to declare the attributes and behavior(functions) of these Objects and also implement the relation in your code. (5 marks)

4. Given the code:
class Student{
private:
static int noOfStudents;
public:
static int getNoOfStudents();
};
In above code, we have declared a data-member 'static'. Briefly explain the benefits of declaring it as 'static' along with static method, provide solid justification. (5 marks)

5. We have a "Amphibious Vehicle" that is inherited from "Land Vehicle" and "Water Vehicle". Both "Land Vehicle" and "Water Vehicle" are inherited from "Vehicle". Write the C++ code to show and implement the relations among them. (5 marks)

Best of luck and a lot of prayers for all of you.

Current midterm today paper CS304: 3-6-17
MCQS were not from past papers but were so easy, all of them.
QUESTIONS:
1. The use of the "this pointer" is slightly changed in a constant member function. Do you think so? In both conditions, provide a solid justification. (3 marks)
2. Given the code:
class Rectangle{
private:
int Length;
int Width;
public:
int getLength();
int getWidth();
Rectangle operator ++();
};
int Rectangle::getLength{
return Length;
}
int Rectangle::getWidth{
return Width;
}
You are required to overload the operator '++' for the class Rectangle. (3 marks)
3. Given the Object Oriented Model (Two Objects of Lesson and Topic, there was a relation of Aggregation from Topic to Lesson). Explain the relations between Objects. Write the C++ code to declare the attributes and behavior(functions) of these Objects and also implement the relation in your code. (5 marks)
4. Given the code:
class Student{
private:
static int noOfStudents;
public:
static int getNoOfStudents();
};
In above code, we have declared a data-member 'static'. Briefly explain the benefits of declaring it as 'static' along with static method, provide solid justification. (5 marks)
5. We have a "Amphibious Vehicle" that is inherited from "Land Vehicle" and "Water Vehicle". Both "Land Vehicle" and "Water Vehicle" are inherited from "Vehicle". Write the C++ code to show and implement the relations among them. (5 marks)
Best of luck and a lot of prayers for all of you

RSS

Latest Activity

Moureen Max left a comment for Saddi
2 hours ago
Moureen Max left a comment for Muhammad Hassan Akbar
2 hours ago
Moureen Max left a comment for Muhammad Moin khan
2 hours ago
Moureen Max left a comment for Junaid
2 hours ago
Moureen Max left a comment for hafsa irum
2 hours ago
Moureen Max left a comment for ramla shireen
2 hours ago
Moureen Max left a comment for Raheela kanwal
2 hours ago
Moureen Max left a comment for AAMIR SHAHZAD BUTT
2 hours ago
Moureen Max left a comment for Iqbal
2 hours ago
Moureen Max left a comment for Bilal Raza
2 hours ago
Moureen Max left a comment for A-butt
2 hours ago
Moureen Max left a comment for HRM
2 hours ago

Today Top Members 

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

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

.