Wednesday, February 6, 2008

Programming Languages Paper 2

Download FREE Computer Science Engineering (CSE Engg. Branch) Previous 5 Years solved Regular and Reappear Question Papers B.tech PTU (2007, 2006, 2005, 2004, 2003) and related Placement HR - Technical Interview Questions for subject PROGRAMMING LANGUAGES - PL

PROGRAMMING LANGUAGES (CS - 211)
Time: 03 Hours
Maximum Marks: 60
Instruction to Candidates:
1)Section - A is compulsory.- .
2)Attempt any Four questions from. Section - B.
3)Attempt any Two questions from Section - C. .

Section - A

a)What is the difference between char and short data type?
b)What are I/O streams?
c)What is recursion?
d)What is the role of argc and argv constructs?
e)What is the role of this pointer? What is a friend class?
f)What is Windows API?
g)What is the purpose of WM-PAINT message?
i)What do you understand by Butter Handlers?
j)What are Accelerator Keys?

Section – B

Q2)Write a function to add and delete a node in a Link List?
Q3)What do you understand by operator overloading? Using Classes, write
a program to add two complex numbers?
Q4)What do you understand by OLE? Explain by taking suitable examples?
Q5)What is CString class? Write programs to overload '+' function for
concatenating two strings?
Q6)What do you understand by managed and un-managed code in VC++?

Section - C

Q7) (a) Can destructors be virtual? What is the purpose of a virtual destructor?
,(b) What does public, protected and private inheritance mean?
Q8) (a) Explain the working of windows API?
(b) Using Window API, explain the method to output a'text to window?
Q9) (a) What do you understand by .Net framework?
(b) What do you understand by MFC Exception Handling? Explain.

No comments: