CS-07 : NUMERICAL & STATISTICAL
COMPUTING DEC 98
| Time : 3 Hours |
Max. Marks : 75 |
Note: Question no. 1 is compulsory. Answer
any three from the rest
| 1. | (a). | Rewirte the following after correctinf the errors (if any) |
|
1. READ (*,10) K, 4B |
||
| (b). | Assuming that the three sides of a triangle are A,B and C, write a FORTRAN program to calculate the area of the triangle. | |
| (c). | What are the various non-executable statements in FORTRAN ? Illustrate briefly with statement of the appropriate syntax rules. | |
| 2. | Explain the following statements in FORTRAN | |
|
(a). INTEGER A(50, 50) |
||
| 3. | (a). | Find the value of the logical expression : |
|
NOT, A, AND, B, OR , A,
AND, NOT, B. when |
||
| (b). | Given that A is a square matrix, write a function subprogram to find the product of the diagonal elements. | |
| 4. | A consignment of a similar micro-computers to a retail outlet contains 3 that are defective. If a firm makes a random purchase of 2 of these computers, find the probaility distribution for the number of defectives | |
| 5. | Write a FORTRAN program to evaluate the definite integral by using the trapezoidal rule. | |
| 6. | (a). | What are the main characteristics of normal distribution ? |
| (b). | What is the probability that in a normal distribution, x lies beyond | |
| 7. | Explain very briefly and precisely the meaning of the following terms : | |
|
1. Rank of a matrix. |