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 ALL Current Final Term Papers Fall 2015 & Past Final Term Papers at One Place from 27 February 2016 to 16 March 2016

CS304 ALL Current Final Term Papers Fall 2015 & Past Final Term Papers at One Place from 27 February 2016 to 16 March 2016 

You Can Download Solved Final Term PapersShort 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 Papers of 2016

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

Or visit this link 

Click Here For Detail.

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.OR Press alt+click the file ...

Thanks and Regards,

VU Students.ning Social Network

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

.

+ 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

ASLAM o alikum .....cs304 today my final term paper time 2pm ... 29 feb 2016

mcq takreban 40 ot 50 % mooaz walif file sy thy
or mery paper mei coding bht thi ...... coding ka error correct krna ... khud sy code likhna ...... code dia howa tha us ki output kiya hogi ......
or template sy related kaafi sawal thy
STL or vector sy related b
or catch bolock ka synatx KIYA HO ga
template ki declaration di howi thi 2 type ki or btana tha in mein difference kiya hai
abstract class sy related b tha code
subjective mera 60+% code sy related tha

best wishes
remember me in our prayers

My Todays Paper.

Q1. is it possible to have virtual constructor. justify ur answer.

Q2. give 2 advantage of iterators over cursors.

Q3. Rearrange resolution order of template function.
• Complete Specialization

• Generic Template

• Partial Specialization

• Ordinary Function

Q4. write syntax of nested try catch blocks

Q5. In which inheritance, we can make Specialization.

public, private or protected.

Almost 4 5 question of Code..

Good Luck ! :')

Yesterday my paper

Only 2 mcqs from moaz file

3 question coding correction

2 question about what is output result of coding.

3 describe STL

Best of luck for your exam.

acha guyz kis topic se related coding thi..... aur correction aur result of coding hi koi share kar do kesi ai thi,....

kindly sahre it....

please sir upload moazz file 

CS304(OOP) Exam (05/03/2016) final-term fall 2015 

Attachments:

            CS304(OOP) Final-Term Exam Fall 2015 (05/03/2016)

 

2 marks Questions:

 

  1. What is the purpose of template parameter?
  2. Sort the following data in the order in which compiler searches a function?
  3. Complete Specialization, Generic Template, Partial Specialization, Ordinary Function.
  4. Define Catch Handler in brief.

 

3 marks Questions:

 

  1. Consider the code below,

 

1)      class c1{

2)      public:

3)      int i_c1;

4)      c1(): i_c1(0) {  }

5)      };

6)      class c2 : public c1 {

7)      public:

8)      int i_c2;

9)      c2(): i_c2(0),c1() {  }

10)  };

11)  class c3 : public c2 {

12)  public:

13)  int i_c3;

14)  c3(): i_c3(0),c2() { }

15)  };

Indicate line numbers for any error/s in this code if there is any otherwise mention that there is no error.

 

  1. In both virtual inheritance and multiple inheritance, copy/copies of base class are created. Please list down; how many copy/copies of base class are created for:

Virtual Inheritance

            Multiple inheritance

 

  1. Consider the code below,

 

class B1{

   

    };

class B2: public B1{

   

   

    };

class B3: public B2,B1{

   

    };

Tell the possible error/s in this code and reason for this/these error/s.

 

 

  1. What will be the output of the code given below?

 

#include <iostream.h>

#include <stdlib.h>

 

using namespace std;

 

template <typename T>

class MyClass{

   

    public:

        MyClass(){

            cout"This is class1"endl;

           

            }

   

    };

template <typename T>   

class MyClass<T*>{

   

    public:

        MyClass(){

            cout"This is class2"endl;

            }

    };

template <>   

class MyClass<int>{

    public:

        MyClass(){

            cout"This is class3"endl;

            }

    };

 

int main(int argc, char *argv[])

{

  MyClass<int> c1;

  MyClass<char*> c2;

  MyClass<float> c3;

  system("PAUSE");     

  return 0;

}

 

5 marks questions:

 

  1. What is Graceful Termination method of Error Handling? Give its example using C++ code.

 

 

  1. The code given below has one template function as a friend of a template class,
    1. You have to identify any error/s in this code and describe the reason for error/s.
    2. Give the correct code after removing the error/s.

 

template<typename U>

void Test(U);

template< class T >

 

class B {

            int data;

            public:

            friend void Test<>( T );

};

 

template<typename U>

void Test(U u){

    B < int> b1;

    b1.data = 7;

    }

int main(int argc, char *argv[])

{

    char i;

    Test(i);

    system("PAUSE");   

    return 0;

}

 

  1. What output is produced by the following code?

 

int wait_time=46;

try

{

cout “Try-block entered.\n”;

            if (wait_time > 30)

                throw wait_time;

            cout ”Leaving try-block.\n”;

}

 

catch ( int thrown_value)

{

cout “Exception thrown with\n””wait_time equal to “thrown_valueendl;

}

cout “After catch-block” endl;

 

 

 

 

  1. Consider the following code,

 

class Base{

private:

void base1();

protected:

void base2();

public:

void base3();

};

 

class Derived: public Base{

private:

void derived1();

protected:

void derived2();

public:

void derived3();

};

 

int main(){

Base * base = new Derived();

return 0;

}

 

Fill in the following table to tell which member functions of Base and Derived classes we can access using the Base pointer in the code indicated in bold?

 

 

 

Function Name

Availability (Yes / No)?

base2()

?

base3()

?

derived1()

?

derived2()

?

derived3()

?

 

 

 

  1. Consider the following two classes, what will be the output of this program (assume that code is correct)?

 

#include<conio.h>

#include <iostream.h>

#include <stdlib.h>

class A{

public:

            A(){cout "A's Constructor";}

            ~A(){cout"A's Destructor";}

};

class B : public A{

public:

            B(){cout "B's  Constructor";}

            ~B(){cout "B's Destructor";}

};

int main(){

                   {

                   B obj;

                   }

                   getche();

                   return 0;

}

 

*MCQS were mostly from Moazz past paper

*Solution to some  of the question is in Moaaz past paper

 

 

Good Luck

and

Remember me in Prayers

cs304 today my final term paper time 2pm ... 29 feb 2016

mcq takreban 40 ot 50 % mooaz walif file sy thy
or mery paper mei coding bht thi ...... coding ka error correct krna ... khud sy code likhna ...... code dia howa tha us ki output kiya hogi ......
or template sy related kaafi sawal thy
STL or vector sy related b
or catch bolock ka synatx KIYA HO ga
template ki declaration di howi thi 2 type ki or btana tha in mein difference kiya hai
abstract class sy related b tha code
subjective mera 60+% code sy related tha

Question No: 34 ( Marks: 5 ) See the 5 code snippets below and tell whether these are correct or incorrect also justify your answers in the table given at the end.

Snippet No.1 template< class T> class A { } ; template< class T > class B : public A< T* > { … }

Snippet No.2 template< >

class B< int* > : public A< T* > { … } Snippet No.3 class B : public A< T* > { … } Snippet No.4 template< > class B< char* > : public A { … };

Snippet No.5 template< class T > class B : public A< T* > { … } Table:
Snippet No.
Is it correct or not (Correct/ Incorrect)
Justification of your answer
1
2
3
4
5

plz is ka answer share kr de koi mooaz file se he y question but solution nhe he wha is ka

please some one upload moazz file link

Moaaz file papers.

Attachments:

RSS

Latest Activity

+ ՏhehαrZααD + replied to + ՏhehαrZααD +'s discussion Assalamu Alaikum
23 minutes ago
+ ! ! ! ! ! Blu Moon replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
1 hour ago
+ ! ! ! ! ! ! ! ! ! AG liked + Iuuoɔǝut +'s discussion After and Before Marriage situations
1 hour ago
+ ! ! ! ! ! ! ! ! ! AG liked + Iuuoɔǝut +'s discussion Rules for Happy Marriage Life
1 hour ago
+ ! ! ! ! ! ! ! ! ! AG liked +***piya o ry piya***+'s discussion eng201
1 hour ago
+ ! ! ! ! ! ! ! ! ! AG liked 彡JK彡 ❤️'s discussion جسکی سنو وہی فرشتہ
1 hour ago
+ ! ! ! ! ! ! ! ! ! AG liked + ! ❤INNOCENT❤'s discussion Faqeer
1 hour ago
+++"MinShah"+++ updated their profile
1 hour ago
abdul bari updated their profile
1 hour ago
Zain Arshad replied to + M.Tariq Malik's discussion ENG201 Business and Technical English Writing Assignment No 01 Fall 2019 Solution & Discussion in the group ENG201 Business and Technical English Writing
1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
1 hour ago
+ "αяsαℓ " Ќąƶµяɨ •" and Isha Chuhdary are now friends
1 hour ago
Waseem Aziz added a discussion to the group MGMT627 Project Management
1 hour ago
Waseem Aziz added a discussion to the group STA630 Research Methods
1 hour ago
Waseem Aziz joined + M.Tariq Malik's group
1 hour ago
Zain Arshad replied to + M.Tariq Malik's discussion ENG201 Business and Technical English Writing Assignment No 01 Fall 2019 Solution & Discussion in the group ENG201 Business and Technical English Writing
1 hour ago
Profile IconZain Arshad, Misha Rajpoot and Nimra zahid joined + M.Tariq Malik's group
1 hour ago
Naser Javed (BBIT-6) replied to MIT's discussion Visual Programing (CS411) Assignment#01 Deadline Date = 18-11-2019 in the group CS411 Visual Programming
1 hour ago
Zaheer Bashir replied to + M.Tariq Malik's discussion FIN630 Investment Analysis & Portfolio Management GDB Fall 2019 Solution & Discussion in the group FIN630 Investment Analysis & Portfolio Management
1 hour ago

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

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