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
CS-211
Programming Languages
(B.Tech 3rd Semester, 2122)
Time : 3 Hours Maximum Marks : 60
NOTE:- This paper consist of Three Sections. Section A is compulsory. Do any Four questions from
Section B and any two questions from Section C
Section-A Marks : 20
1 (a) What do you understand by C++ character set ?
(b) What are keywords ?
(c) What are different data types in C++ ?
(d) What are operators in C++ ?
(e) What are constants ?
(f) What is an array ? List its limitations.
(g) What is a pointer ? What is its significance ?
(h) Define Virus and list its various types .
(i) What do you mean by scope of class object ?
(j) Define the following terms :
(i) Data hiding
(ii) Data encapsulation
(iii) Data abstractraction.
Section-B Marks:5 Each
2. Write a program in C++ using pointers to contate two strings.
3. Write a program to read to check the equality of two matrices.
4. What are commonly used input/output functions in C++ ? How are they accessed ?
5. Write a program to read a five digit number and print it in reverse order.
6. (a) Briefly explain the relation between C and C++.
(b) How the objects of the classes can be defined using arrays ? Give an example.
Section-C Marks : 10 Each
7. (a) List the merits and demerits of single inheritance.
(b) What do you mean by inheritance ? What are its various advantages and disadvantages ?
8. (a) Write a program in C++ that determines whether a given number is prime or not and then print the using
polymorphism.
(b) Explain the technique of late binding / dynamic binding.
9. Write notes on the following :
(a) OLE
(b) Active X Controls with the MFC Library
(c) Dynamic Memory Allocation
No comments:
Post a Comment