CS304 Current Spring 2012 Final Term VU Paper [July 2012] Virtual University of Pakistan
1. two advantages of getter function? 2 marks
2. Which is best place to close file in try block of class? (2 marks)
3. Is it possible to make virtual function? VU solutions 2 marks
4. 3 advantage of Iterate over cursors? 3 marks
5. Create a vector array of length 8.
6. Create a vector array of length 8, and also initialize the elements of this array with values 0 1 2 3 4 5 6 7. 5 marks
2. Which is best place to close file in try block of class? (2 marks)
3. Is it possible to make virtual function? VU solutions 2 marks
4. 3 advantage of Iterate over cursors? 3 marks
5. Create a vector array of length 8.
6. Create a vector array of length 8, and also initialize the elements of this array with values 0 1 2 3 4 5 6 7. 5 marks