PROMOTE MY BLOG: JUST CLICK BELOW BUTTON

Search Any Paper On This Blog

Wednesday, February 23, 2011

CS201 2010 Current Fall 2010 Paper FinalTerm Exam

CS201 Fall  2010
MCS

Question:
What is self assignment mean, why should it be avoided? [3 marks]

Question:
Is it possible to overload operators for primitive data type? Justify [3 marks]

Question:
What are the limitations of the friendship relations between classes?[3 marks]
www.allvupastpapers.blogspot.com  

Question:
C and C++ are free format languages. What does mean by free format? [2 marks]

Question:
What are the two types of conversions for user defined data type? [1 marks]
www.allvupastpapers.blogspot.com  

Question:
Describe the three important constructs to solve a given problem. [5 marks]

Question:
How can we increase the size of dynamic allocated memory in C? [5 marks]

Question:
Does the following statement create new variable? If not, why? [1 marks]
int &ref = val
www.allvupastpapers.blogspot.com  

Question: [10 marks]
Write a program which contains a class Account. The class should contains three data members Name, AcNo. and Balance. The class shouls further contains two constructors i.e. default constructor and parameterized constructor. Overload the stream insertion operator (<<) for this class.

Question: [10 marks]
Write a program that reads a number that says how many integer numbers to be stored in an array. Create an array to for the exact size of data and read in that many numbers into the array.
www.allvupastpapers.blogspot.com  

There were 30 MCQs among which following three:
1) C/C++ string constant is enclosed in
Small braces
Curly braces
Double quote
Single quote


2) Unary operator takes orgument
Zero
One
Two
Three
www.allvupastpapers.blogspot.com  

3) When define array of objects
Constructor will call
Destructor will call

No comments:

Post a Comment

PLEASE COMMENT ABOUT YOUR VISIT AND MY SITE

Note: Only a member of this blog may post a comment.