Home / ECE / Microprocessors :: Discussion

Discussion :: Microprocessors

  1. Consider the following logical IF statement in FORTRAN 77

    IF (SALT. EQ. PEPPER) GO TO 11
    GOTO 13

    The above statement using arithmetic IF statement would be

  2. A.
    IF (SALT - PEPPER) 13, 11, 13
    B.
    IF (SALT - PEPPER) 11, 11, 13
    C.
    IF (SALT - PEPPER) 11, 13, 13
    D.
    IF (SALT - PEPPER) 13, 11, 11

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    The given statement is logical IF statement. The control goes to statement 11 if SALT = PEPPER otherwise control goes to statement 13 Same is true in arithmetic statement (a).


Be The First To Comment