APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Previous Years Question Paper & Answer

Course : B.Tech

Semester : SEMESTER 5

Year : 2017

Term : DECEMBER

Scheme : 2015 Full Time

Course Code : ME 305

Page:1





PDF Text (Beta):

Reg No.:

C7061

Total Pages: 2

Name:

APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
FIFTH SEMESTER B.TECH DEGREE EXAMINATION, DECEMBER 2017

Course Code: ME305

Course Name: COMPUTER PROGRAMMING & NUMERICAL METHODS

(MA, ME, MP, PE)
Max. Marks: 100 Duration: 3 Hours
PART A
Answer any three full questions, each carries 1Omarks. Marks

1

a) Explain how integer number and floating numbers are represented internally in a
(5) computer.

b) Write an algorithm and draw a neat flowchart to find all the possible roots of a (5) quadratic

equation.

2 a) Explain with examples the tokens in C++ (5) b) Describe the structure of a
C++ program with an example. (5)

3 a) Explain the use of a switch statement with an example. (5) b) Explain the C++declaration
and initialization of 2-D arrays with suitable (5) examples.

4 What are the different types of functions supported by C++ ? Give examples for (10) each
function.

PART B
Answer any three full questions, each carries 10marks.

5 a) Discuss the advantage of using pointers with examples. (5) b) Write a program to input
two സന matrices and display their product. (5) 6 a) Write a program to generate N"
Fibonacci number using arrays . (5) b) Write a function big to find largest of two numbers
and use this function in the (5) main program to find largest of three numbers.

7 a) Explain different types of inheritances in C++ (5) b) Explain public inheritance
and private inheritance with suitable examples (5)

8 Explain major features of OOP (10)

PART C
Answer any four full questions, each carries 10marks.
9 a) Give the step by step procedure for solving algebraic equations by Gauss (6) elimination
method
b) What are the sources of error in numerical computations? Explain. (4)
10 Using Lagrange’s formulae find the values of )10(
i) ೫:1೯ ‏لابلا ,91120 ,4 لاز‎ 340, ysO 2544
ii) if ‰730 [] 30, 71120 34, 9३ 38, yisO 42
11 Solve by Gauss Siedel method the following system of equations (10)

Page 1 of 2

Similar Question Papers