e301-Computer Programming & Numerical Methods

1
JNTUWORLD Code. No: E301 JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech (CCC) I Year Supplementary Examinations July/ August - 2010 COMPUTER PROGRAMMING & NUMERICAL METHODS (Common to CE, EEE, ME and ECE) Time: 3 Hours Max.Marks:100 Answer Any Five Questions All Questions Carry Equal Marks - - - 1.a) Discuss the concept of stored programs. b) What is meant by machine language? Explain the role of an assembler. [8+12] 2. What is meant by constant, and a variable? State and explain various types of constants and variables used in writing a C-program. [20] 3.a) State and explain various string operations that can be performed. b) What is meant by a parameter? Discuss the concept of parameter passing with an example. [10+10] 4.a) Discuss how to create and store data in file. b) Given a text file, create another text file deleting all the viewers. [10+10] 5.a) Find the order of convergence of the false position method. b) Describe the False position method to find the roots of an equation. [10+10] 6. Write and explain an algorithm for the Gauss elimination method. [20] 7.a) Discuss about least square approximation of functions. b) Explain the trigonometric and geometric regression. [10+10] 8.a) Explain the miline Predictor and corrector method. b) Discuss the trapezoidal rule and Weddle’s Method for Numerical integration. [10+10] --ooOoo-- www.jntuworld.com www.jntuworld.com

Transcript of e301-Computer Programming & Numerical Methods

Page 1: e301-Computer Programming & Numerical Methods

JNTUWORLD

Code. No: E301 JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

B.Tech (CCC) I Year Supplementary Examinations July/ August - 2010 COMPUTER PROGRAMMING & NUMERICAL METHODS

(Common to CE, EEE, ME and ECE)

Time: 3 Hours Max.Marks:100 Answer Any Five Questions

All Questions Carry Equal Marks - - -

1.a) Discuss the concept of stored programs. b) What is meant by machine language? Explain the role of an assembler. [8+12] 2. What is meant by constant, and a variable? State and explain various types of constants and

variables used in writing a C-program. [20] 3.a) State and explain various string operations that can be performed. b) What is meant by a parameter? Discuss the concept of parameter passing with an example. [10+10] 4.a) Discuss how to create and store data in file. b) Given a text file, create another text file deleting all the viewers. [10+10] 5.a) Find the order of convergence of the false position method. b) Describe the False position method to find the roots of an equation. [10+10] 6. Write and explain an algorithm for the Gauss elimination method. [20] 7.a) Discuss about least square approximation of functions. b) Explain the trigonometric and geometric regression. [10+10] 8.a) Explain the miline Predictor and corrector method. b) Discuss the trapezoidal rule and Weddle’s Method for Numerical integration. [10+10]

--ooOoo--

www.jntuworld.com

www.jntuworld.com