Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS201 Introduction to Programming Current Final Term Papers Spring 2011
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
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 ?---------------------(2)

Q:7-------------------------------------(3)

Data encapsulation & data hiding.

Q:8 which one is copy constructor and which one is assignment operator ?

Past papers men se h

Q:9----------------------------marks(5)

How we difference b/w reference variable and an address of variable.

Q: 10--------------------------------------------marks(5)

Int number=1;

While(true)

{

Coutnumber;

If(number==3)

Break;

Number+=vaule;

}

rewrite this code by using for loop.



My friendzzz paper……………..



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;

Couthexinput;

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 T>

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


0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply
#2
1) What is the concept of encapsulation and data hiding? 2 mrks

2) Write down piece of code that will declare a matrix of 3*3.And initialize all its locations with 0. 2 marks

3) Write down the C++ code for the declaration of overlade stream insertion and stream extraction operator for the object data type 2 amrks

4) What is meant by *num and &num? 2 marks

5) How many arguments does binary member operator function and binary non-member operator function take?? 3 marks

6) Find error in the code

Int *p;

p= new int [10];

delete; 3 marks



7) write down the purpose of testing in designing programs 3 marks

8) whish functions are used to determine the state of input stream, briefly explain each fu nction 5 marks

9) Do you agree that in good programming practice , the main() factor is smaller than the class implemented 5 marks

10) What do yoy mean by garbage collection and how it works in JAVA and C++? 5 amrks

11) As we have learned about using degault statement in the switch statement. You are required to describe the purpose using default statement with simple codeing example? 5 marks


0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  BNK603 Consumer Banking Mid Term Papers Fall Semester 2012 Vuhelper 0 4,685 11-24-2012, 09:28 PM
Last Post: Vuhelper
  pak301- Final Term Solved Papers for 2011 Xpert 1 7,288 02-09-2012, 12:29 PM
Last Post: David
  eng201 midterm paper subjective 26th November, 2011 Xpert 2 4,903 11-27-2011, 05:27 PM
Last Post: Xpert
  ACC501 Midterm subjective paper shared by student 26th Noivember, 2011 Xpert 0 3,093 11-26-2011, 11:46 PM
Last Post: Xpert
  cs403 database management midterm current paper of fall 2011 on 26th November Xpert 0 2,807 11-26-2011, 11:35 PM
Last Post: Xpert
  CS507 mid term exam of today fall november 2011 Vuhelper 1 3,131 11-26-2011, 08:23 PM
Last Post: Vuhelper
  eco401 mid term today current paper fall november 2011 Vuhelper 0 3,111 11-26-2011, 08:21 PM
Last Post: Vuhelper
  acc501 mid term current solve paper fall November 2011 Vuhelper 0 3,518 11-26-2011, 08:08 PM
Last Post: Vuhelper
  CS601 Current Spring 2011 Final Term VU Paper 20 July 2011 Vuhelper 1 3,084 11-21-2011, 02:33 PM
Last Post: sid786
  MGT101 today's 25 july 2011 final term paper (subjective) naveed004 0 3,965 07-25-2011, 10:30 PM
Last Post: naveed004

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support