# SET-II

1. (a) What is a computer? What are its capabilities?

(b) Compare and contrast dot matrix printer and line printer.

2. (a) Compare and contrast multi tasking and multi processor operating systems.

(b) Convert the following numbers into octal.

i. 10110001111011.11012

ii. 10001110011010.01012

3. (a) Explain all control statements supported by ‘C’.

(b) Write a C program to find the biggest of a given three numbers using conditional control operator.

4. (a) Explain call by value and call by reference with examples.

(b) Write a C program to replace a particular word by another word in a given string.

5. (a) Write an algorithm for Bisection method.

(b) Compute the real root of xlog10= 1.2 which lies between 2 and 3 correct to 3 decimal places using Bisection method.

6. (a) Solve the following system of equation by Gaussian Elimination method.

?7.4x+ 3.61x+ 8.04x= 25.1499.12.16x2.9x0.891x= 3.2157.?5.12x+ 6.63x4.38x?36.1383.

(b) Write an algorithm for Gaussian Elimination method.

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 3F(X) 6 2 2 10 Using Newton’s forward formula.

8. (a) Derive the formula to evaluate aydx using trapezoidal rule.

(b) Use the trapezoidal rule with n=4 to estimate

1R0 dx 1+xCorrect to four decimal places.

(c) Tabulate the values of y at x=0.1 to 0.5 using Eulers method given that dydxy, y(0) = 1