Wednesday 19 December 2012

2009 Kerala University B.Tech Production Engineering Fourth Semester B.Tech. Degree Examination, December 2009 Question paper

Fourth Semester B.Tech. Degree Examination, December 2009
(2003 Scheme)
Branch : Production
03.402 - COMPUTER PROGRAMMING (P)
Time : 3 Hours Max. Marks : 100
PART – A
Answer all questions. Each question carries 4 marks.
1. a) What is meant by "Von Neumann Architecture" of a digital computer ?
b) Differentiate RAM and ROM.
c) Define High level language, low level language and medium level language.
d) Define flow chart.
e) Write an algorithm to find the sum of elements of an array.
f) Write the syntax with example of "If-else" statement.
g) What is a functional program ?
h) Define flow chart.
i) Write the Newtons Forward formula.
j) What is meant by 3
1 rule of Simpson ? (4×10=40 Marks)
PART – B
Answer all questions taking one from each Module. Each question carries 20 marks.
MODULE – I
2. a) Explain the functional units of a Digital Computer.
b) Discuss the features of any two of the operating systems.
OR

3. a) Write the algorithm and flowchart to find the sum and average of 100 number of
real values.
b) Differentiate the primary and secondary storage devices with examples.
MODULE – II
4. a) Write a C program to compute the complete solutions of a quadratic equation
and print roots in a neat form.
b) What is meant by the command-line arguments ? Write an example for the
command-line argument.
OR
5. a) With suitable examples, explain the various types of "IF" control structure of
C.
b) Write a C program without using string handling functions to count the number
of "blanks" in a sentence.
MODULE – III
6. a) Find the real root of x3 – 4x – 9 = 0 which lies between 2.625 and 2.75 correct
upto four significant digits.
b) Write a C program for the Newton-Raphson method.
OR
7. a) Evaluate ??
2
1
e0.5x dx using four intervals.
b) Write a C program for Newtons forward difference method. (20×3=60 Marks)
––––––––––––––––
 

No comments:

Post a Comment