Home About Contact
vustudents.org
Connect with Facebook



CS304 CS304 Object Oriented Programming Download/upload Video Lectures, Handouts, Helping Materials, Assignments Solution, Online Quizzes, GDB, Past Papers, Solved Papers and more….

Download/upload Video Lectures, Handouts, Helping Materials, Assignments Solution, Online Quizzes, GDB, Past Papers, Solved Papers and more….
Reply
  #1  
Old 11-26-2011, 11:37 PM
lubna lolo's Avatar
Senior Member
 
Join Date: Nov 2011
Posts: 325
Default cs304 2011 final terms

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 “Valend;

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?

Cool

Give the basic difference between itrator and cursors?

The least one advantage and Disadvantage of Template

oday 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 Iterator 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
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
eco401 new mcqs for mid terms must check **** um abdullah ECO401 1 04-18-2012 11:55 AM
cs304 final term solved paper lubna lolo CS304 0 11-26-2011 11:35 PM
cs304 final term 2011 paper lubna lolo CS304 0 11-26-2011 11:05 PM
VU MCS FINAL PROJECTS FALL 2011 HELP,vu project help,cs619 lubna lolo CS619 0 11-25-2011 05:48 PM
Final Term Papers Spring 2011 um abdullah CS101 2 11-17-2011 03:00 PM


All times are GMT +5. The time now is 02:59 PM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

 

Gravatar as Default Avatar by 1e2.it