| Looking for new friends? Find one today at Asuku.com |
|
Home / Test Papers / IGNOU / CS08 Numerical and Statistical Computing CS08 Numerical and Statistical Computing June 2005 | Ask a question Print this page |
ADCA / MCA (II Yr)
Term-End Examination
June, 2005
CS08 : Numerical and Statistical Computing
Time: 3 hours
Maximum Marks: 75
1. (a) Write a FORTRAN 90 statement fo each of the following: (3)
(i) R = X2Y3 + √(X+Y)Z
(ii) F = 1/4 π εo Q1Q2/r2
(iii) Z = √R2+(ωL - 1/ωC)2
(b) Which of the following are correct representations of real constants ? Give 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 required to paint this area with one coat of paint (assuming that one litre of paint can cover 10 m2 area). Note that the area of a triangle is given by √s(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 following 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 following 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 calculate and print the ratio of surface area to volume of sphere with radii ranging from 1 unit to 20 units, in steps of 1 unit. (3)
(f) Give a situation, with justification, in which the median is the best measure of central tendency for a given set of data points. (3)
(g) Fit a straight line to the data given by the following table : (4)
| x (independent variable) | y (dependent variable) |
| 9 | 6 |
| 7 | 4 |
| 4 | 7 |
| 5 | 10 |
| 3 | 9 |
| 2 | 6 |
(h) Calculate the mean and standard deviation for the following :(5)
| Size of item | Frequency |
| 6 | 3 |
| 7 | 6 |
| 8 | 9 |
| 9 | 13 |
| 10 | 8 |
| 11 | 5 |
| 12 | 4 |
2. (a) What values will be printed by the following 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 find the two roots of the quadratic equation AX2 + BX + C = 0. Read the values of A, B, and C as 15.25, 30.12512 and 0.675 E-01, respectively. (4)
(c) Each of the following arithmetic statements contains at least one error. Point out the errors and correct the statements : (3)
(i) V = X/Y - 37,375.15
(ii) Z = 7.52 E+(2*I)
(iii) MAX/N = P
(d) After analysing the wage pallen of the workers of three firms A, B and C, the following results were obtained :
| Firm A | Firm B | Firm C | |
| No. of workers | 400 | 500 | 600 |
| Average monthly income | 250 | 200 | 150 |
| Standard deviation | 8 | 9 | 10 |
Find which of these have the larger variation. (4)
3. (a) The sum of the squares of the first n natural numbers is given by
S = n(n+1)(2n+1)/6
Write a FORTRAN program that will find S for n = 10[10] 250, i.e., n = 10, 20, 30,. . . ,250. (4)
(b) Write a FORTRAN program to read 50 numbers a1, a2, a3, . . . , a50 and print them in the order a50, a49, a48,.., a1.(4)
(c)Calculate the mean, median, and mode of the following data relating to weight of 120 articles : (5)
| Weight (in gm) | No. of Articles |
| 0 - 10 | 14 |
| 11 - 20 | 17 |
| 21 - 30 | 22 |
| 31 - 40 | 26 |
| 41 - 50 | 23 |
| 51 - 60 | 18 |
(d) A speak the truth in 70% cases and B speaks the truth in 80% cases. What is the probability that they will say the same thing while describing a single event ? (2)
4. (a) A factory manufacturing televisions has four units A, B, C and D. The units A, B, C, D manufacture 15%, 20%, 30%, and 35% of the total output, respectively. It was found that out of their output 1%, 2%, 2% and 3% are defective, A television is chosen at random from the total output, and found to be detective. What is the probability that it came from unit D ? (3)
(b) In a partially destroyed laboratory record, only the lines of regression of y on x, and x on y are available as
4x - 5y + 33 = 0 and 20x - 9y = 107
respectively. Calculate xBar, YBar and the co-efficient of correlation between x and y. (5)
(c) Write a program using FORTRAN 77 to check the consistency of the following system of equations:
2x - 5 = 3y + 7z
6x + y + 2z = 3
x - 5y = 20
Further, list the modifications required, if any, for effective program execution. If the program were written using FORTRAN 90 instead. (7)
5. (a) Calculate the Cost of Living Index Number from the following data : (5)
| Items | Price | Weights | Base Year | Current Year |
| Food | 400 | 500 | 5 |
| Fuel | 90 | 120 | 2 |
| Clothing | 150 | 200 | 3 |
| House Rent | 300 | 250 | 2 |
| Miscellaneous | 300 | 380 | 1 |
(b) Given below is a series of weekly demand for out-patient Care at an ambulatory centre. Also shown are forecasts of demand calculated by two forecasting methods that are under consideration.
| Demand | Forecast Model A | Forecast Model B |
| 536 | 575 | 550 |
| 590 | 600 | 580 |
| 554 | 580 | 545 |
| 622 | 595 | 600 |
| 718 | 610 | 670 |
| 673 | 625 | 645 |
| 640 | 630 | 650 |
| 595 | 640 | 645 |
(i) Compute the MAD for each forecast model.
(ii) Indicate which model you think is better-and why. (6)
(c) The Mother Dairy Ice Cream Shoppe has recorded the demand for a particular flavour during the past 6 weeks, as shown below :
| Week | Gallons | Week | Gallons |
| 1st Week, February | 19 | 4th Week, February | 27 |
| 2nd Week, February | 17 | Ist Week, March | 29 |
| 3rd Week, February | 22 | 2nd Week, March | 33 |
(i) Calculate a 3-week moving average for the data to forecast demand for the next week.
Caculate a weighted average forecast for the data, using a weight of 0.6 for the most recent data and weights of 0.3 and 0.1 for successively older data. (4)
Business Schools - Engineering Colleges - Medical & Nursing Admissions - BEd in Distance mode - Journalism & Media Studies - Forensic Science
Enter a detailed keyword. Ex: Question Papers of IGNOU MCA Ist Semester