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

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

.

+ 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

+ ! ! ! ! ! AaiMa AnsaRi liked + M.Tariq Malik's discussion CS201 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 14-11-2019
1 minute ago
+ ! ! ! ! ! AaiMa AnsaRi replied to + M.Tariq Malik's discussion MGT211 GDB Fall 2019 Solution & Discussion in the group MGT211 Introduction To Business
2 minutes ago
+ ! ! ! ! ! AaiMa AnsaRi joined + M.Tariq Malik's group
2 minutes ago
+ ! ! ! ! ! AaiMa AnsaRi liked + M.Tariq Malik's discussion MGT211 GDB Fall 2019 Solution & Discussion
6 minutes ago
+ Abb@s replied to Farhan Amin's discussion your vu email address will deleted
22 minutes ago
+ Danial replied to Farhan Amin's discussion your vu email address will deleted
1 hour ago
Shine--Ex-VUStudent liked + "J ɨ y ą ⋆'s discussion meliiiiiiii dailyyyyyyyyyyyyyyyyy milkkkkkkkkkkkkkkkkk :(
1 hour ago
+ Danial replied to Farhan Amin's discussion your vu email address will deleted
1 hour ago
Shine--Ex-VUStudent liked +"Certified Gangster"++'s discussion New invention of Microsoft
1 hour ago
Moji posted a discussion
1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + M.Tariq Malik's discussion MGT211 GDB Fall 2019 Solution & Discussion in the group MGT211 Introduction To Business
1 hour ago
Muhammad Usman Shahzad replied to + M.Tariq Malik's discussion CS601 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 14-11-2019 in the group CS601 Data Communication
1 hour ago
Muhammad Usman Shahzad joined + M.Tariq Malik's group
1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to sayyad saqib hussain shah's discussion HRM 626 HANDOUTS REQUIRED PLS
1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to Farhan Amin's discussion your vu email address will deleted
2 hours ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + M.Tariq Malik's discussion MTH302 Business Mathematics & Statistics Assignment No 01 Fall 2019 Solution & Discussion in the group MTH302 Business Mathematics & Statistics
2 hours ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + M.Tariq Malik's discussion MTH302 Business Mathematics & Statistics Assignment No 01 Fall 2019 Solution & Discussion in the group MTH302 Business Mathematics & Statistics
2 hours ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + M.Tariq Malik's discussion MTH302 Business Mathematics & Statistics Assignment No 01 Fall 2019 Solution & Discussion in the group MTH302 Business Mathematics & Statistics
2 hours ago
Farhan Amin posted a discussion
2 hours ago
Profile Icon+ "αяsαℓ " Ќąƶµяɨ •" and Purple Work joined + M.Tariq Malik's group
3 hours ago

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

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