Tuesday 19 July 2011

Re: [Pak Youth] mujhy cureently cs304 ky papers chehy

thanks brother






On Tue, Jul 19, 2011 at 10:47 AM, Manager <manager.pakyouth@gmail.com> wrote:

CS304

15th of July 2011

By Muhammad Awais on July 16, 2011

at 1:30pm

 

Subjective part
1-define composition and give its example with coding
2-what r container classes? How many types of container classes are there?
3-what is virtual inheritance?
4-can a constructor throw exception? If it fails, how should this error be handled?
5-define inheritance and give its example.
6- Three questions were about identification and correction of given coding and reason of error.
7-what is virtual constructor?
8-define static and dynamic binding.


On Tue, Jul 19, 2011 at 10:38 PM, meerub hayat <meerubhayat@gmail.com> wrote:
g
thanks

ye tu pehly bhi tha


or new koi nahi hy


kia
?



On Tue, Jul 19, 2011 at 10:24 AM, Manager <manager.pakyouth@gmail.com> wrote:

 

CS304

15th of July 2011

 

Create a vector array of  length 8,and also initialize the elements of this array with  values 0 1 2 3 4 5 6 7                                  (5 mrk)

=====================

 

2)

suppose base class and derive class have a member  function with same  signature.now call that  member function  throw pointer to a base class  object.Now  what determines that the    base class member function or derived class will be called? (mrk 5)

=======================

 

3):

Find and correct  the error(s) in the code  below

Class counter

{

Public:

Counter(intx=10{val=x;

}

Int increment data()const{return++vali}

Static int get count()

{

Cout<<"data is "<<Val<<end;

Return;

}

Private:

Int val;

Static in count;

};

================

4):

Describe the salint feature of abstract class (mrk3)

5):

Give the C++ code of template function to print  the values  of any type of array I int.this function will take  2 parameters one will be pointer and other will be  will be size of array       (mrk3)

6)

Give the name of three  operation that a corsor  or itrator generally provide  (mrk3)

7)

What do u know about function Template?

8)

Give the basic difference between itrator and cursors?

The least one advantage and Disadvantage of Template

 


On Tue, Jul 19, 2011 at 10:21 PM, meerub hayat <meerubhayat@gmail.com> wrote:
 ager  kasi k pass hain tu

plz share with me



--
{ALLAHA  is great}

--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.

--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.



--
{ALLAHA  is great}

--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.

--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.



--
{ALLAHA  is great}

--
You received this message because you are subscribed to the Google Groups "Pak Youth" group.
To post to this group, send email to pak-youth@googlegroups.com.
To unsubscribe from this group, send email to pak-youth+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pak-youth?hl=en.

No comments:

Post a Comment