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: 1038

.

+ 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

sardarni liked + M.Tariq Malik's discussion MCM531 Community Journalism Assignment No 01 Fall 2019 Solution & Discussion Due Date: 22-11-2019
10 minutes ago
sardarni joined + M.Tariq Malik's group
15 minutes ago
blackeagle replied to + M.Tariq Malik's discussion EDU402 Curriculum Development Assignment No 01 Fall 2019 Solution & Discussion in the group EDU402 Curriculum Development
48 minutes ago
sardarni joined + M.Tariq Malik's group
1 hour ago
sardarni joined + M.Tariq Malik's group
1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to +¢αяєℓєѕѕ gιяℓ's discussion Shadi Ho Rhi Hai Alhamdulillah.......... (^__^)!
1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" liked +¢αяєℓєѕѕ gιяℓ's discussion Shadi Ho Rhi Hai Alhamdulillah.......... (^__^)!
1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to +¢αяєℓєѕѕ gιяℓ's discussion Iss tasvir ko Unwan Dein :-P
1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" liked +¢αяєℓєѕѕ gιяℓ's discussion Iss tasvir ko Unwan Dein :-P
1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to +¢αяєℓєѕѕ gιяℓ's discussion Wo Naraz Ho Tabhe bhi....!
1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" liked +¢αяєℓєѕѕ gιяℓ's discussion Wo Naraz Ho Tabhe bhi....!
1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to +¢αяєℓєѕѕ gιяℓ's discussion Best Places To Propose Someone :-P
1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" liked +¢αяєℓєѕѕ gιяℓ's discussion Best Places To Propose Someone :-P
1 hour ago
+ Iuuoɔǝut + added a discussion to the group CS302 Digital Logic Design
1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to zohaib iftikhar's discussion ...* MARD AUR AURAT KA GUNAH ...*
1 hour ago
+ Iuuoɔǝut + added a discussion to the group CS301 Data Structures
1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + !! "AS" !!'s discussion Baat Karna ...
1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" liked zohaib iftikhar's discussion ...* MARD AUR AURAT KA GUNAH ...*
1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" liked + !! "AS" !!'s discussion Baat Karna ...
1 hour ago

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

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