Rajasthan Technical University 2009-3rd Sem B.E Electrical Engineering : (- ) Computer Programming-1 - Question Paper
Rajasthan tech. University(RTU)
B.Tech III sem. Main exam
January 2009
Computer Programming-1
S31S?
If* | |||
- 0 |
B.Tech. (Sem.lll) (1 (3EE&) Computer F (Electrical Engineerinc |
3E1482 Main/Back) Exam rogramming-l 3) |
ination, January 2009 |
Prg : 3 Hours] [Total Marks : 80
[Min. Passing Marks : 24 Attempt five questions in all. Schematic diagrams must tfe-~~ shown wherever necessary. Any data you feel missing may suitably be assumed and stated clearly.
Use of following supporting material is permitted during examinatj (Mentioned in form No, 205)
1___Ni|___ . 2. Nil__
1 (a) What is structure ? Make difference between structure and union.
(b) What is pointer ? Swap two numbers using the concept of pointer.
1 What is linked list ? Insert an element in doubly linked List.
2 (a) What is class ? Make difference between class and object, (b) Discuss function and operator overloading with example.
2 )hat is inheritance ? Discuss single and multiple inheritance.
3 (a) What is in line function ? Write a program that depicts the
example of inline function.
(b) Make difference between constructor and deconstructor.
* '
3E1482] ininillllllll 1 ' [Contd...
* 3 e 1 < a i .
4 What is vertical function ? Write a program in C++ that shows the functionality of virtual function.
* #* OR
4 Write a program in C++- that shows an example of multilevel inheritance.
5 What is template ? Give an example in C++ for handling text files.
.3E1482] [HI 1IIHIH
[ 4620 ]
J I 1 4 8 2*
Attachment: |
Earning: Approval pending. |