PDA

View Full Version : cs201 current midterm paper fall 2010 4 december



Xpert
12-03-2010, 09:44 PM
total 26 question thay

1-difference in pointer and veriable?
2-differenc in tellg() and tellp()
3-why we close a file after use?
call by value and call by reference?
ye short questio thy baaqi mcq,z thy


20 mcqs thay

1. give one use of pointer
2. bubble sort
3. what happened when we increment pointer
4. basic steps for file handling
5. which function is used in read/write while handling files

Xpert
12-04-2010, 02:52 AM
I did my my paper on Wed, some of the questions I remember:
Describe Pointers to pointers (5 marks)
Perform The shift left operation on binary no. 0101 and write the
answer in decimal and binary
(3) marks. Sorry bus itne hi yaad aye. agar or yaad to send kr don ga