CS-08 : NUMERICAL AND STATISTICAL COMPUTING JUN 1996  

 

Time : 3 Hours

Max. Marks : 75


Note
: Question no . 1 is compulsory. Answer any three from the rest.

 

1.  (a). Rewrite the following after correcting the errors (if any) :  
   

(i). DO N I = -2; 5, 1
(ii). GO TO (5, 100, 60, 4); INDEX  
(iii). DIMENSION, A(40, 3), B(6); IN15  
(iv). ENDFILE (4, IOSTAT = KERR, ERR = 313)  
(v). ABC = 2DEF  

  (b). Write a FORTRAN programme to compute n! for 0 <= n <= 16  
  (c). Find the eigenvalues (using any method) of the matrix :  
 
2.   Enumerate and illustrate 5 points of differences between FUNCTIONS and SUBROUTINES in the context of FORTRAN programming.  
3. (a). Explain with appropriate examples the use of the FORMAT command for literal data, double precision data, complex data, and logical values.  
  (b). What are the printer control characters for triple spacing and moving to the next page ? How are they invoked?  
4.  

What are the salient features of the unit called MODULE in FORTRAN 90 ? Name 4 statements that ought not to be included in a module definition. What is the manner in which a module or any of its components may be accessed ? Illustrate with suitable examples.  

5. (a). For each of the following indicates whether you would expect a positive, negative or zero correlation
   

(i).   Salaries of civil servants and white collar crime.  
(ii).  The amount of fertiliser used and yield of crop  
(iii). Weight and shoe size of a man.  
(iv). Amount of air pollution and general health of the community.  

  (b). 

What are index numbers ? By means of examples, illustrate the advantages that index numbers have over new data. What criteria would you adopt to determine whether an index number is good ?  

6.   By means of properly tabelled diagrams alone, illustrate the meaning of positively and negatively skewed distributions in contrast to a symmetric distribution.  
7.   Explain very briefly and precisely the meaning of the following terms :  
(a). quartile  
(b). ogive  
(c). skewness  
(d). Comperte curve  
(e). moving averages.