We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
+ Link For Assignments, GDBs & Online Quizzes Solution |
+ 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.
Final Term Papers Spring 2019 (24 August ~ 04 September 2019) & All Solved Past Papers, Solved MCQs & Helping Material
Share Your Final Term Papers Spring 2019 (Questions/Pattern) & Past Papers as well here to help each other. Thanks
Tags:
+ 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?.
+ 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)+ Final Term Papers Shared By Bilal Maqsood
+ All VU Subject Mid & Final Term Papers Data Shared by Moaazpk
+ Orignal Solved Final Term Papers By Waqar.siddhu
+ Solved Final Tem Papers Share By Malikooo
+ Final Term Made by waqar shiddu and solved by hadi
+ Final Term Past Papers by(Sheri Khan)
+ Another Final Term Past Papers by(Sheri Khan)
+ FINAL TERM PASTPAPER MADE BY WAQAAR
www.bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)
Today paper of cs304
1 Mcqs from past paper
18 mcqs from book
What is a constant function object? Write one example 3 marks
What is Multiple inheritance and give example? 3 marks
A person works that a company , id ,name and draw a composite and aggergation .. and what is composition and aggergation 5 marks
[Get information] class program 5 marks
Today Paper CS304
MCQs zyada template aur STL lec 32 say 45 main say aiy
Long Questions
What is template argumets? (3 marks)
Write three technique for error handling (3 marks)
Identify Inheritance. Problem kya is main aur uska solution bhi btana aur code bhi write krna (5 marks)
Give the pseudo code of non case sensitive comparison function of string class. (5 marks)
ANS:
int caseSencompare( char* str1, char* str2 ) { for (int i = 0; i < strlen( str1 ) && i < strlen( str2 ); ++i) if ( str1[i] != str2[i] ) return str1[i] - str2[i]; return strlen(str1) - strlen(str2); }
What is the output produced by the following program? (5 marks)
#include<iostream.h>
void sample_function(double test) throw (int);
int main() {
try
{
cout ”Trying.\n”;
sample_function(98.6);
cout “Trying after call.\n”;
}
catch(int) {
cout “Catching.\n”;
}
cout “End program.\n”; return 0;
}
void sample_function(double test) throw (int) {
cout “Starting sample_function.\n”;
if(test < 100) throw 42; }
ik program likha hua tha error find krna tha (5 marks)
1. #include <iostream>
2. #include <stdlib.h>
3. using namespace std;
4. template <typename T>
5. class MyClass{
6. public:
7. MyClass(){
8. cout"This is class1"endl;
9. }
10. };
11. template <typename T>
12. class MyClass<int*>{
13. public:
14. MyClass(){
15. cout"This is class2"endl;
16. }
17. };
18.
29. int main(int argc, char *argv[])
20. {
21. MyClass<int> c1;
22. MyClass<int*> c2;
23. system("PAUSE");
24. return 0;
25. }
A and B two classes inherit publically. Uskay methds aur data members ka btana konsa acces ho ga (3 marks)
Class A {
Public:
funcA1();
private:
funcA2();
protected
funcA3();
class B : public A {
Public:
funcB1();
private:
funcB2();
protected
funcB3();
};
Function Name Access Yes or No?
funcA1(); ?
funcA1(); ?
funcA1(); ?
funcB1(); ?
funcB1(); ?
funcB1(); ?
My Paper of Cs 304
Mcqs Sary Moaaz ki file sy thy
1: 2 questions thy coding k us ki output likhni thi
2: Next question tha program my error dekhna tha or is line my Jo error uski reason likhni thi
4:What is Template Function ? Desribe it briefly
5:What do you mean by catch Block ?
6:What do u mean by static ? Also describe its member function aik program diya hua tha us k hisab sy likhna tha ye ?
7: Aik program likhna tha jis my sy aik class k template function ko dosri class ka template functiion banana tha is tarha ka khuch tha?
Today paper of cs304
1 Mcqs from past paper
18 mcqs from book
What is a constant function object? Write one example 3 marks
What is Multiple inheritance and give example? 3 marks
A person works that a company , id ,name and draw a composite and aggergation .. and what is composition and aggergation 5 marks
[Get information] class program 5 marks
© 2019 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
VU Students reserves the right to delete profile, which does not show any Activity at site nor has not activity more than 01 month.
We are user-generated contents site. All product, videos, pictures & others contents on vustudents.ning.com don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com or Contact us at contact Page with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post