Welcome to PAKITWORLD!
I hope you will find PAKITWORLD forum useful...



 
HomeCalendarFAQSearchMemberlistUsergroupsLog inRegister
Search
 
 

Display results as :
 
Rechercher Advanced Search
Freelancer.com
Visitors
Live Trafic

Share | 
 

 CS201 Final Term Paper Spring2011

View previous topic View next topic Go down 
AuthorMessage
Admin
Admin


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

PostSubject: CS201 Final Term Paper Spring2011   Sat 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
View user profile http://pakitworld.board-directory.net
 
CS201 Final Term Paper Spring2011
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» 2011 f2 world final
» K100 final drive for a K75 ??
» leinster minor club final
» Junior A Football Final 2010 Robertstown V Caragh
» All Ireland colleges senior league final DIT v UCC

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: