Kindly do make vuhelps your default page and keep viewing it to get up to date information about current fresh exams. Also follow the blog. Send your papers to make them here uptodate at vuhelps@gmail.com or feel free to call at 03455242488
There are almost 3 to 4 questions regarding Template Classes ,
1. Do friend function have access to template classes.
2. Template class is not good for reuse of Code.
2 questions were regarding Destructor
1. Can destructor be overloaded? Marks 1
2. Can destructor be overloaded , if not justify your answer. Marks 3.
1 assignment was from Assignment No. 5 , which have 2 classes , one is Date and second is Person.
1 assignment was to make class Register , which have the data member of cashOnHand and member functions of getcash() , cashwithdraw(), cashdeposit() . Both assignments were of 10 number eachhhhhhhhhh.
3 questions were related to oct and Hexa strings like
int i;
i=123;
cin >> oct>> i;
cout << hex<< i;
I couldnt figure it , but 3 questions were like this.
1 question was of Input Stream functions , explain each function . Marks 5
There wasn't many questions on array or pointer in my test.
Regards Vuhelps
Showing posts with label cs201 2009 final paper. Show all posts
Showing posts with label cs201 2009 final paper. Show all posts
Thursday, July 2, 2009
Cs201 intro to programming
Kindly do make vuhelps your default page and keep viewing it to get up to date information about current fresh exams. Also follow the blog. Send your papers to make them here uptodate at vuhelps@gmail.com or feel free to call at 03455242488
Total time : 2 hours
Total Questions : 41
MCQ = 30 of 1 number each
Definitions = 1number + 2 number + 3 number each.
3rd & 4h last Q = 5 number
Last & 2nd Last Q = 10 number (classes use and write a bank cash draw program)
Questions ab mujhay theak se yaad nhy lakin try karta hon ke ap ko samjh lagh jaye.
Q. is this possible to overload destructor ?
Q. what is constructor? and its work?
Q. write the syntax of New and Delete operator.
Q. Disadvantages of inline function.
Q. what is (*this) pointer ??? usage.
Q. last 2 questions classes use kartay hoy program bananay thay.
Q. aik 3 number ke question mien chota sa program likha tha jiss mien error find karna tha. (use of new/delete operator).
Regards Vuhelps
Total time : 2 hours
Total Questions : 41
MCQ = 30 of 1 number each
Definitions = 1number + 2 number + 3 number each.
3rd & 4h last Q = 5 number
Last & 2nd Last Q = 10 number (classes use and write a bank cash draw program)
Questions ab mujhay theak se yaad nhy lakin try karta hon ke ap ko samjh lagh jaye.
Q. is this possible to overload destructor ?
Q. what is constructor? and its work?
Q. write the syntax of New and Delete operator.
Q. Disadvantages of inline function.
Q. what is (*this) pointer ??? usage.
Q. last 2 questions classes use kartay hoy program bananay thay.
Q. aik 3 number ke question mien chota sa program likha tha jiss mien error find karna tha. (use of new/delete operator).
Regards Vuhelps
Subscribe to:
Posts (Atom)