Microprocessors - Engineering

Q1:

Consider the following DO statement in FORTRAN 77

DO 25 J = 1, 7

The number of DO loop executions in the above statement is

A 7

B 6

C 1

D 8

ANS:A - 7

Do statement is executed when J = 1, 2, 3, 4, 5, 6, 7, i.e., a total of 7 times.