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 Current Final Term Papers & Past Final Term Papers at One Place from 22 august TO 2 september2015

CS304 Current Final Term Papers & Past Final Term Papers at One Place from 22 august TO 2 september2015


Share Your Final Term Papers Here in Reply of this Discussion

May Allah Solve Our Problems and Give Us Success

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.

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

Or

For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past PapersE-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.

click on this link 

https://vustudents.ning.com/forum/topics/how-you-can-view-all-the

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

.

+ 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

All mcqs are from moaaz past ppr

short questions

q.1: name 2 types of templates

ans.function template e.g print array

class template e.g class array

q.2:name any 2 operators of generic algorithem

ans. increment operator (++)

derefrencing operator (*)

inequality operator (!=)

q.3 what are the 3 imp features of virtual function

ANS: check in handout

q.4:declare ordinary function a friend 

ans u can find this ans in past pprs

q.5.write  c++ code of setindex and get index

q.6: class template a friend

q.7 : didn't remember but constructor call karna tha

q.8:container requirment ans check past pprs

q.9 cursor advantages check them in past pprz

q.10 see past pprz question 35 

Thanks

plz ans share kare is ka
q.5.write c++ code of setindex and get index
Q5. How can we specialize a template class for any particular data type? Give C++ syntax.

q.5 get index return value of index 

set index replaces value at given index with given value

in this question incomplete code was given i didn't remember exactly what it was ....but 

here is the code

class complex

public:

*Pptr;

int i ;

index;

private

set index;

set index;

system('pause')

iski coding mujhy nai ati :P

specializtion of template is given in handout pg292 

Q 1. Explain public and private inheritance with example?
Q2. Given the example between Irterators and cursor?
Q3. Can derived template class take more parameters? Then parent template?
Q4. Binding in the process that function call to function implementation you are required to name the type of binding in which function?
Q5. How can we specialize a template class for any particular data type? Give C++ syntax.
Q6. Write a template function that takes one template and always return value that is always equal to double of its parameter value (parameter *2).
Q7. Write C++ code to declare template class ‘A’ is a friend class of any other template class ‘B’.
Q8. If we declare a function as friend for a particular of a template class, then will if be a friend for particular data type or for all data of that class? Justify four answer as well.
Q9. Create a vector array of length 8, and also initialize the element of this array will value 0,1,2,3,4,5,6,7.
Q10.Write C++ code for the getIdex() and setIndex() and method of the following template vector class.

ALL Final Term Papers Spring 2015 & Past Final Term Papers at One Place from 22 August 2015 ~ 02 September 2015

 

Share Your Current Final Term Papers (Questions/Pattern) 22 August 2015 ~ 02 September 2015 to help each other. Thanks

 

For more papers & Final Tem Papers Preparation Material check all the featured discussions in this group one by one discussion.

How you can check all the featured discussions in this group .Visit this link 

Click Here For Detail.

thanks sb ka kisi or ka b ho to share kre plzzzz

kisi ka to huwa ho ga bs jb tak paper ni hota disscusion dekhte paper k bad koe ni dekhta bs apa ho gya kisi se kya lena dena////

1) The process of hiding unwanted detail is called________.
2) An object has interface.
3) irater stands in relations to a container and a pointer stands in relation______.
4) ______ ensure that the correct function is called for an object are regardless of the expression used to make function call.
5) Vector contain contiguous elements stored as a[an]___________.
6) Friend complex & oprater-(complex&t); it is declaration of _____________.
Subjective
41) Sort the following data in the order in which compiler search a function.
42)Is it possible to have virtual constructer justify your answer?
43) Consider code:
Template
Class A { Public:
Static int data;
};
Int main(int argv,char*argv[])
{
Aa1, a2;
Return 0;
}
How many instances of data variable of class A.
44)Suppose a Programmer confuse tell techniques of following scenario.
a) There are different data types and he needs similar (somewhat different) operator on data type.
b) There are different data type and he needs exactly identical operator on data types.
Comment suitableTechniques in against scenario on Overloading or Template.
45)Writethree necessary properties for a container to implement General Algorithms.
46)Give C++ code of template function to print the valuesof any type of array.
47)if there is friend function of template class then is it friend of particular data type or all data type,
48) out of code:
code mujy likhna yaad ni raha exams ke bad .
49) Write template function that return average of all array element .
There should be array name and size of int type in parameter.
50)Suppose we have a Person class with an attribute age and we want another class voter with same attribute but with restriction that age can only greater then 18.Both classes have a function setAge that set their respective attribute age with passed value if in fulfilling the class conditions.< value is greater then 0 in caseof person class.
51) Write C++ code for the copy constructer of following template vector class.
Template
Private :
T ptr;
Int size;
Int index;
Public:
Vector(const vector &);
52)write c++ code for overloading operator of sub script[].
Template
Class vector {
Private:
T*ptr;
Int size;
Int index;
Public:
T& operator[](int);
};
Remember me in Prayer’s:

Not Mine

cs 304 Explain public and private inheritance with example? Q2. Given the example between Irterators and cursor?
Q3. Can derived template class take more parameters? Then parent template?
Q4. Binding in the process that function call to function implementation you are required to name the type of binding in which function?
Q5. How can we specialize a template class for any particular data type? Give C++ syntax.
Q6. Write a template function that takes one template and always return value that is always equal to double of its parameter value (parameter *2).
Q7. Write C++ code to declare template class ‘A’ is a friend class of any other template class ‘B’.
Q8. If we declare a function as friend for a particular of a template class, then will if be a friend for particular data type or for all data of that class? Justify four answer as well.
Q9. Create a vector array of length 8, and also initialize the element of this array will value 0,1,2,3,4,5,6,7.
Q10.Write C++ code for the getIdex() and setIndex() and method of the following template vector class.

All mcqs are from moaaz past ppr short questions
q.1: name 2 types of templates
ans.function template e.g print array
class template e.g class array
q.2:name any 2 operators of generic algorithem
ans. increment operator (++)
derefrencing operator (*)
inequality operator (!=)
q.3 what are the 3 imp features of virtual function
ANS: check in handout
q.4:declare ordinary function a friend
ans u can find this ans in past pprs
q.5.write c++ code of setindex and get index
q.6: class template a friend
q.7 : didn't remember but constructor call karna tha
q.8:container requirment ans check past pprs
q.9 cursor advantages check them in past pprz
q.10 see past pprz question 35

kisi or ka b paper ho to share kre

RSS

Today Top Members 

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

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

.