Monday, July 25, 2011

Re: [ vuZs.net ] CS401 23rd Paper by Umair Saulat

5. Create a vector array of length 8.  

6. 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.  plzzzzzzzzzzzzzzzzzzzzzzzzz anssssssssssss of theseeeeeeeee Questionzzzzzzzzzzzzzzzz

On Mon, Jul 25, 2011 at 6:25 AM, mc100403250 Syed M. Umair Saulat <mc100403250@vu.edu.pk> 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

 

 

 

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.

CS304

20th of July 2011

By Hania Abad



 

Today paper of cs304 (object oriented programming)

 

1. two advantages of getter function?  2 marks

2. Which is best place to close file in try block of class? (2 marks)

3. Is it possible to make virtual function? 2 marks 

4. 3 advantage of Iterate over cursors? 3 marks 

5. Create a vector array of length 8.  

6. 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 marks                       

 


On Mon, Jul 25, 2011 at 1:15 PM, mc100204328 Muhammad Asad Khan <mc100204328@vu.edu.pk> wrote:
Plz send me the latest paper of cs304.
Mara kal (26-07-2011) ko paper hay.
plzzzzzzzzzzzzz


On 7/24/11, CS-Boy <mc090400780@vu.edu.pk> wrote:
> **
>>
>> *CS604 paper*
>>
>
> --
> --
> Please visit www.vuzs.net For Current & Old Papers, Quizzes, Assignments and
> study material.
> --
> You received this message because you are subscribed to the Google
> Groups "vuZs" group.
> --
> To post a new message on this group, send email to vuZs@googlegroups.com
> --
> Message Posting Rules:
> http://vuzs.net/faq/4795-vuzs-google-groups-basic-rules-for-posting-messages.html
> --
> To unsubscribe from this group, send email to
> vuZs+unsubscribe@googlegroups.com
> --
> To join this group Send blank email from your virtual university email
> address to
> vuZs+subscribe@googlegroups.com
> or visit
> http://groups.google.com/group/vuZs/subscribe
> ---
> For more information Contact vuZs Manager at info@vuzs.net
>


--








*Muhammad Asad Khan*
*0333-8042868*

--
--
Please visit www.vuzs.net For Current & Old Papers, Quizzes, Assignments and study material.
--
You received this message because you are subscribed to the Google
Groups "vuZs" group.
--
To post a new message on this group, send email to vuZs@googlegroups.com
--
Message Posting Rules: http://vuzs.net/faq/4795-vuzs-google-groups-basic-rules-for-posting-messages.html
--
To unsubscribe from this group, send email to vuZs+unsubscribe@googlegroups.com
--
To join this group Send blank email from your virtual university email address to
vuZs+subscribe@googlegroups.com
or visit
http://groups.google.com/group/vuZs/subscribe
---
For more information Contact vuZs Manager at info@vuzs.net



--

Regards, 

Professor Copy Paste,
MCS 2nd Semester



--
--
Please visit www.vuzs.net For Current & Old Papers, Quizzes, Assignments and study material.
--
You received this message because you are subscribed to the Google
Groups "vuZs" group.
--
To post a new message on this group, send email to vuZs@googlegroups.com
--
Message Posting Rules: http://vuzs.net/faq/4795-vuzs-google-groups-basic-rules-for-posting-messages.html
--
To unsubscribe from this group, send email to vuZs+unsubscribe@googlegroups.com
--
To join this group Send blank email from your virtual university email address to
vuZs+subscribe@googlegroups.com
or visit
http://groups.google.com/group/vuZs/subscribe
---
For more information Contact vuZs Manager at info@vuzs.net

--
--
Please visit www.vuzs.net For Current & Old Papers, Quizzes, Assignments and study material.
--
You received this message because you are subscribed to the Google
Groups "vuZs" group.
--
To post a new message on this group, send email to vuZs@googlegroups.com
--
Message Posting Rules: http://vuzs.net/faq/4795-vuzs-google-groups-basic-rules-for-posting-messages.html
--
To unsubscribe from this group, send email to vuZs+unsubscribe@googlegroups.com
--
To join this group Send blank email from your virtual university email address to
vuZs+subscribe@googlegroups.com
or visit
http://groups.google.com/group/vuZs/subscribe
---
For more information Contact vuZs Manager at info@vuzs.net

No comments:

Post a Comment