How To Exam?

a knowledge trading engine...


Indira Gandhi National Open University (IGNOU) 2005 Diploma Computer Applications CS08 Numerical and Statistical Computing - - Question Paper

Wednesday, 07 August 2013 02:50Web

ADCA / MCA (II Yr)
Term-End exam

June, 2005

CS08 : Numerical and Statistical Computing

Time: three hours
Maximum Marks: 75

Note : ques. No. one is compulsory. Attempt any 3 ques. from Q2 to Q5. Use of calculators is not allowed.
1. (a) Write a FORTRAN 90 statement fo every of the following: (3)
(i) R = X2Y3 + v(X+Y)Z
(ii) F = 1/4 p eo Q1Q2/r2
(iii) Z = vR2+(?L - 1/?C)2

(b) Which of the subsequent are accurate representations of real constants ? provide reasons for your answers. (4)
2225; 0.137; 2E-7; 101.2E+2

(c) Write a program in FORTRAN which reads a, b, and c (the lengths in met€rs of the sides of a triangle), computes the area of the triangle and then determines the number of one-litre tins of paint needed to paint this area with 1 coat of paint (assuming that 1 litre of paint can cover 10 m2 area). Note that the area of a triangle is provided by vs(s-a)(s-b)(s-c) where s = 0.5 x (a + b + c). (4)

(d) What value will be stored in location K at the end of the subsequent sequence ?

K = 0
DO 10 J = 1, 3
DO 10 N = J + 1, 4
10 K = K + J * N
PRINT *, K(ii) What will be printed by the subsequent program ? (4)

PROGRAM VYAS
IMPLICIT NONE
REAL a,b,P,Q,R
INTEGER X,Y,Z
a = 2.5
b = 4.0
P = a + b
X = a + b
Q = a * b
Y = a * b
R = P/Q
Z = X/Y
PRINT *, P,Q,R
PRINT *, X,Y,Z
STOP
END(e) Write a program in FORTRAN to compute and print the ratio of surface area to quantity of sphere with radii ranging from one unit to 20 units, in steps of one unit. (3)

(f) provide a situation, with justification, in which the median is the best measure of central tendency for a provided set of data points. (3)

(g) Fit a straight line to the data provided by the subsequent table : (4)

x (independent variable) y (dependent variable)
9 six
7 four
4 seven
5 10
3 nine
2 six

(h) compute the mean and standard deviation for the subsequent :(5)

Size of item Frequency
6 three
7 six
8 nine
9 13
10 eight
11 five
12 four

2. (a) What values will be printed by the subsequent program ?
PROGRAM EG2
I = 2
J = 4
x = 22.5
Y = -10.0
Z = 0.25
P = Z+X*Y
Q = P+2.0*Y**I
R = -Y*8.0/REAL (J)
X = Q+R
Y = X*2.0 - Z
Z = Z * R
J = INT(3.0*Z/REAL (I)
I = I + 6
PRINT *, I,J,X,Y,Z
PRINT *, P,Q,R
STOP
END

(b) Write a FORTRAN program to obtain the 2 roots of the quadratic formula AX2 + BX + C = 0. learn the values of A, B, and C as 15.25, 30.12512 and 0.675 E-01, respectively. (4)

(c) every of the subsequent arithmetic statements contains at lowest 1 fault. Point out the errors and accurate the statements : (3)



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Indira Gandhi National Open University (IGNOU) 2005 Diploma Computer Applications CS08 Numerical and Statistical Computing - - Question Paper