B.TECH - Semester 3 computer programming and numerical methods Question Paper 2019 (mar)
Practice authentic previous year university questions for better exam preparation.
Sample Questions
- 305 : COMPUTER PROGRAMMING AND NUMERICAL METHODS (MP) Time : 3 Hours Max. Marks : 100 Answer all questions. Each question carries 4 marks.
- What are the applications of 'void' data type in C++ ?
- What is a reference variable ? What is its major use ?
- How are data and functions organized in object oriented program ?
- What are the advantages of using function prototypes in C++ ?
- When will you make a function inline? Why?
- Explain friend function using a suitable example.
- What is a constructor ? Is it mandatory to use constructors in class ?
- What is a class ? How does it accomplish data hiding ?
- Write down the finite difference formula for Laplace equation. Explain the application of this equation.
- What is the principle of least squares ? Answer one full question from each Module. Each full question carries 15 marks.
- Describe the mechanism of accessory data members and member functions in the following cases.
- Explain with an example the significance of defining a class as friend of another class.
- OR
- Solve by relaxation method, the Laplace equation $\frac{\partial^{2} u}{\partial x^{2}}+\frac{\partial^{2} u}{\partial y^{2}}=0$, inside the square bounded by the lines $x=0, x=4, y=0, y=4$ given that $u=x^{2} y^{2}$ on the boundary.