Showing posts with label Programming Languages - PL Papers. Show all posts
Showing posts with label Programming Languages - PL Papers. Show all posts

Wednesday, February 6, 2008

Programming Languages Paper 3

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, 2052)
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 mean by inheritance ?
(b) Define a pointer.
(c) Define a virus and list its types.
(d) Define the term data hiding and Data abstruction.
(e) What is an array ? How does it differs from the ordinary variable ?
(f) What are 'Nested for' loops ?
(g) Differentiate between Interpreater and Compiler.
(h) What are keywords ?
(i) What do you mean by compaired Data Structures ?
(j) Define the term Dynamic binding.
Section-B Marks:5 Each
2. What is the difference between direct and indirect base class ? Expalin them with examples.
3. Write a program in C++ to sort out a set of names in the Alphabetical order using pointer Technique.
4. How are arrays usually processed in C++ ? Can entire arrays be proessed with single instructions, without
using repetition ?
5. Write a program in C++ to find the number of vowels in each word of a given text using a pointer - "PUNJAB TECHNICAL UNIVERSITY ".
6. Write a program to display all the odd numbers between 1 and 100 using do-while loop.
Section-C Marks : 10 Each
7. (a) Write a program to display the entered number in reverse order.
(b) What are breaking control statements ?
8. Explain the following :
(a) Windows application with MFC
(b) Active X Controls
(c) OLE
9. (a) Write differences between C and C++.
(b) Recursion Vs. Iteration.

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.

Programming Languages Paper 1

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