| CS-261 Application Programming For Engineers (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 : 2 Each 1 (a) What is structured programming? (b) How will you distinguish between unions and enumerators? (c) What are the rules in C for naming an identifier? (d) What is reference varible? (e) How does an inline function differs from a preprocessor macro? (f) What is the use of scope resolution operator :: in C++ ? (g) What is dynamic memory allocation? (h) What is operator overloading? (i) What are characteristics of a destructor? (j) What do you understand by term carets? Section-B Marks:5 Each 2. What are arrays? Write a program in C to arrange n numbers in assending order. 3. Write a function using refernce varible as arguments to swap the values of a pair of integers. 4. What is a constructor function? What are the merits and demerits of using a constructor function? 5. What are multiple threads? Explain with the help of suitable code fragments. 6. What are storage classes? How are they used? Section-C Marks : 10 Each 7. What are command line arguments? Write a program in C to copy the contents of one file into another file using command line arguments. 8. What do you mean by stack? Write an object oriented program in C++ to perform addition and deletion of an element from stack. 9. What are key features of MFC library? Write a sample application program using MFC library. |
| APPLICATION PROGRAMMING FOR ENGINEERS |
| PAPER NO.1 |
| You can also watch PROGRAMMING LANGUAGE papers of COMPUTER SCIENCE AND ENGG.. which are similar to APPLICATION PROGRAMMING FOR ENGINEERS |
![]() |
| PUT ON 28TH DEC., 2K2 |