Sie sind auf Seite 1von 2

Code No: RR10106 RR

I B.Tech Supplementary Examinations, Apr/May 2007


INTRODUCTION TO COMPUTERS
( Common to Civil Engineering, Mechanical Engineering, Chemical
Engineering, Mechatronics, Metallurgy & Material Technology, Production
Engineering, Aeronautical Engineering and Automobile Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????

1. (a) Explain ALU of computer [4M]


(b) Compare and contrast CISC and RISC processors [8M]
(c) What is a system bus? [4M]

2. (a) What is compiler? [2M]


(b) Distinguish between compiler and interpreter [6M]
(c) Convert the following numbers into binary [8M]
i. 29bc.efl6
ii. -56f.bc16

3. (a) Write the output of the following: [9M]


i. main()
{
printf(“% d”,235);
}
ii. main()
{
intx = 10.26;
printf(“% f”,x);
}
iii. main()
{
charmesg[20];
mesg = “work is worship”
printf(“%.6s”,mesg);
}
(b) Write a C program to accept your name, roll number, branch and percentage
and display it in the required format. [7M]

4. (a) What is a structure? Explain the components of a structure. [4M]


(b) Differentiate struct and Union constructions in C. [4M]

1 of 2
Code No: RR10106 RR
(c) Write a C program to accept the empcode, empname, basic salary, of the em-
ployees and compute their gross salary. The gross salary should be computed
using the following formula.
Grosssalary = basic salary + DA + HRA [8M]

5. Find a root which lies between 1 and 2 of f (x) = x3 + 2x2 + 10x − 20 using Newton
Raphson and Regular Falsi method. Compare the results. [16M]

6. (a) Solve the following equations using Gauss- Jordan method. [8M]
2X+Y+Z=10
3X+2Y+3Z=18
X+4Y+9Z=16
(b) Write an algorithm for Gauss - Jordan method. [8M]

7. (a) Derive the formula to estimate the polynomial of degree n using Lagrange
interpolation method. [7M]
(b) Find the 3rd polynomial to fit the following points: [9M]
i 1 0 1 3
F(X) 6 2 2 10
Using Newton’s forward formula.

8. (a) Use Euler’s modified method to find y(1.1), y(1.2) and y(1.3) correct to three
dy
decimal places given dx = xy 1/3 , y(1) =1 [8M]
R1
(b) Use trapezoidal rule to evaluate 0 ydx from the given data [8M]
x: 0 0.25 0.50 0.75 1.0
y: 105 107.5 109.4 111 121.3

?????

2 of 2