RR
Code No: RR100106
I B.Tech (RR) Supplementary Examinations, June 2009 INTRODUCTION TO COMPUTERS (Common to Civil Engineering and Mechanical Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. (a) Give different types of computers. (b) Compare and contrast cache memory and associate memory. (c) Enumerate various input and output devices.
[4+4+8]
2. (a) What is operating system? (b) Enumerate various features of real time operating system. (c) Convert the following numbers into octal.
[2+6+8]
i. 11010.00110 ii. 01101.101110 3. (a) Explain all the increment and decrement operations with examples. (b) Write a C program to evaluate the following equation: area= P i∗ r∗ r + 2∗ pi∗ r∗ h
[8+8]
4. (a) What do you mean by modularization? Give their advantages and disadvantages. (b) Differentiate the standard functions and user-defined functions. (c) Write a function to find the factorial of a number.
[6+6+4]
5. (a) Write an algorithm for Newton Raphson method. (b) Find a root of the equation 2x − log10 x-7=0 using Bisection method.
[8+8]
6. (a) Solve the system of equations using Gauss-Seidal method. 10X1 − 2X2 − X3 − X4 = 3 −2X1 + 10X2 − X3 − X4 = 15 −X1 − X2 + 10X3 − 2X4 = 27 −X1 − X2 − 2X3 + 10X4 = −9. (b) Write an algorithm for Gauss - Jordan method.
[8+8]
7. (a) Derive the formula to estimate the polynomial of degree n using Lagrange interpolation method. (b) Find the 3rd polynomial to fit the following points: i 1 0 1 3 F(X) 6 2 2 10 Using Newton’s forward formula.
[7+9]
8. (a) Use simple Runge-Kutta method to obtain an approximate solution to the differential dy equation dx = y-x+5 at the points x=2.1, 2.2, 2.3 with initial condition y(2) = 1 (b) Use Simpson’s (3/8) rule to evaluate 1/3 rule and actual value
π/2 R
x sin xdx. Compare the results by using Simpson
0
?????
[8+8]