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 Final Term Papers Spring 2019 (24 August ~ 04 September 2019) & All Solved Past Papers, Solved MCQs & Helping Material

Final Term Papers Spring 2019 (24 August ~ 04 September 2019) & All Solved Past Papers, Solved MCQs & Helping Material

 

Share Your Final Term Papers Spring 2019 (Questions/Pattern) & Past Papers as well here to help each other. Thanks

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

.

+ 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

www.bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

Today paper of cs304
1 Mcqs from past paper
18 mcqs from book
What is a constant function object? Write one example 3 marks
What is Multiple inheritance and give example? 3 marks
A person works that a company , id ,name and draw a composite and aggergation .. and what is composition and aggergation 5 marks
[Get information] class program 5 marks

Today Paper CS304
MCQs zyada template aur STL lec 32 say 45 main say aiy
Long Questions
What is template argumets? (3 marks)
Write three technique for error handling (3 marks)
Identify Inheritance. Problem kya is main aur uska solution bhi btana aur code bhi write krna (5 marks)

Give the pseudo code of non case sensitive comparison function of string class. (5 marks)

ANS:
int caseSencompare( char* str1, char* str2 ) { for (int i = 0; i < strlen( str1 ) && i < strlen( str2 ); ++i) if ( str1[i] != str2[i] ) return str1[i] - str2[i]; return strlen(str1) - strlen(str2); }

What is the output produced by the following program? (5 marks)

#include<iostream.h>
void sample_function(double test) throw (int);
int main() {
try
{
cout ”Trying.\n”;
sample_function(98.6);
cout “Trying after call.\n”;

}
catch(int) {
cout “Catching.\n”;
}
cout “End program.\n”; return 0;
}
void sample_function(double test) throw (int) {
cout “Starting sample_function.\n”;
if(test < 100) throw 42; }

ik program likha hua tha error find krna tha (5 marks)

1. #include <iostream>
2. #include <stdlib.h>

3. using namespace std;
4. template <typename T>
5. class MyClass{
6. public:
7. MyClass(){
8. cout"This is class1"endl;
9. }
10. };

11. template <typename T>
12. class MyClass<int*>{
13. public:
14. MyClass(){
15. cout"This is class2"endl;
16. }
17. };
18.
29. int main(int argc, char *argv[])
20. {
21. MyClass<int> c1;
22. MyClass<int*> c2;
23. system("PAUSE");
24. return 0;
25. }

A and B two classes inherit publically. Uskay methds aur data members ka btana konsa acces ho ga (3 marks)

Class A {
Public:
funcA1();
private:
funcA2();
protected
funcA3();

class B : public A {
Public:
funcB1();
private:
funcB2();
protected
funcB3();
};

Function Name Access Yes or No?
funcA1(); ?
funcA1(); ?
funcA1(); ?
funcB1(); ?
funcB1(); ?
funcB1(); ?

My Paper of Cs 304

Mcqs Sary Moaaz ki file sy thy

1: 2 questions thy coding k us ki output likhni thi

2: Next question tha program my error dekhna tha or is line my Jo error uski reason likhni thi

4:What is Template Function ? Desribe it briefly

5:What do you mean by catch Block ?

6:What do u mean by static ? Also describe its member function aik program diya hua tha us k hisab sy likhna tha ye ?

7: Aik program likhna tha jis my sy aik class k template function ko dosri class ka template functiion banana tha is tarha ka khuch tha?

 Today paper of cs304
1 Mcqs from past paper
18 mcqs from book
What is a constant function object? Write one example 3 marks
What is Multiple inheritance and give example? 3 marks
A person works that a company , id ,name and draw a composite and aggergation .. and what is composition and aggergation 5 marks
[Get information] class program 5 marks

RSS

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

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

.