Difficulty: Easy
Correct Answer: A FORTRAN program, written for the IBM-PC, is totally different from a FORTRAN program written for execution on the SUN machine
Explanation:
Introduction / Context:
High level languages aim to deliver portability across hardware platforms. FORTRAN, one of the oldest high level languages, remains heavily used in scientific and engineering computing. The question probes your understanding of what portability means in practice.
Given Data / Assumptions:
Concept / Approach:
Because FORTRAN is standardized, source code conforming to the standard is largely portable; it is not “totally different” across platforms. Therefore, the statement asserting total difference is not true. The correct choice is the false assertion. The other statements—FORTRAN is high level and widely used in scientific computing—are true.
Step-by-Step Solution:
Verification / Alternative check:
Real world scientific codes routinely compile across Linux, Windows, and UNIX variants with minimal conditional changes, confirming portability.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing platform specific I O or compiler pragmas with the core language; such differences do not make programs “totally different.”
Final Answer:
A FORTRAN program, written for the IBM-PC, is totally different from a FORTRAN program written for execution on the SUN machine
Discussion & Comments