Welcome to PAKITWORLD!
I hope you will find PAKITWORLD forum useful...
Welcome to PAKITWORLD!
I hope you will find PAKITWORLD forum useful...
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeSearchLatest imagesLog inRegister
Search
 
 

Display results as :
 
Rechercher Advanced Search
Freelancer.com
Visitors
Live Trafic
CS201 Final Term Paper Spring2011 Pageviews=1

 

 CS201 Final Term Paper Spring2011

Go down 
AuthorMessage
Admin
Admin



Posts : 216
Join date : 2011-06-17
Location : Rawalpindi

CS201 Final Term Paper Spring2011 Empty
PostSubject: CS201 Final Term Paper Spring2011   CS201 Final Term Paper Spring2011 EmptySat Jul 16, 2011 2:48 pm

Final Term Paper Spring2011
Introduction to Programming
Q:1
Write down the types of templates ?
Q:2
Const int*ptr=&x;
Explain this statement?
Q: 3
Write the output of the given function
Q:4
If we want to send the data by reference and don’t want the original data to be affected?
Q:5
Write the operator function in stream >> extraction . of the following code.
Q:6
What is shallow copy ? (2Marks)
Q:7 (3Marks)
Data encapsulation & data hiding.
Q:8 which one is copy constructor and which one is assignment operator ?

Q:9 marks(5Marks)
How we difference b/w reference variable and an address of variable.
Q: 10 marks(5Marks)
Int number=1;
While(true)
{
Cout<If(number==3)
Break;
Number+=vaule;
}
rewrite this code by using for loop.

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

Q:1
What is conversion constructor ?
Q:2
What will be the output of following code if user input a number 123
Int input;
Cin>>oct>>input;
Cout< From past papers
Q:3
Write down the meaning of line given below line code where m is an object of class martrix
If(&m!=this)
Q:4
Difference b/w switch statement & if statement ?
Q:5
Write down the general syntax for operator function ?
Q:6
What one (copy constructor or assignment operator ) will be called in each following code segment ?
Q:7
See the following code segment
Template
Class myclass
{
Private :
Tx;
Public
Myclass(ta)
{
X=a;
};
Write the main function which creates two objects of class for int & double types?
Q:8
Write the output of following program
Q:9 what is meant by life time of a variable what is lifetime of automatic variable ?
Q:10
Describe the purpose of using break statement in the conditional statement

[You must be registered and logged in to see this link.]
Back to top Go down
https://pakitworld.board-directory.net
 
CS201 Final Term Paper Spring2011
Back to top 
Page 1 of 1
 Similar topics
-
» CS201 Final Term Paper
» CS614 Final Term Paper Spring2011
» STA301 Final Term Paper Spring2011
» CS605 Final Term Paper Spring2011
» ENG101 Final Term Paper Spring2011

Permissions in this forum:You cannot reply to topics in this forum
 :: MCS/BCS/MIT/BIT/BSCS :: Computer Science :: CS201 Introduction to Programming C++-
Jump to: