Microprocessors - Engineering

Q1:

Consider the following DO statement in Fortran 77

DO 12 A = 1.0, 5.5, 0.5

The number of DO loop executions in the above statement is

A 1

B 11

C 10

D 4

ANS:C - 10

Do loop executations are for A = 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0, 5.5 or a total of 10 times.