ECAT Computer Science Chapter 7 Fortran 77 Online Test With Answers

image
image
image

ECAT Computer Science Chapter 7 Fortran 77 Online Test

Sr. # Questions Answers Choice
1 Which of the following FORTRAN statement is valid? DIST=VELO * + TIME HYP ** 2=BASE **2 + PERP ** 2 X = X +1.0 SAL + COMM = 180.0 + PROFIT
2 The FORTRAN equivalent of the mathematical expression ab/cd is. A * B / C * D A.B / C.D A * B / (C*D) A*B/B*D
3 In FORTRAN, the variable COUNT is used as. integer variable real variable logical variable complex variable
4 The final value of K after following FORTRAN program segment is executed will be
J=2
Do 50 I=3,8,J
J=J+1
50 Continue
J=5 * J
2 7 40 The program can not be executed
5 The iteration count for the DO statement
DO 110 K = 3,19,4 will be
3 4 5 6
Download This Set