Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

LANDMARK POLYTECHIC

VIA AYOBO ITELE/AYETORO,OGUN STATE.


MARCH 2024 EXAMINATION 2023/20204 ACADEMIC SESSION

COURSE TITLE: INTRODUCTION TO PROGRAMMING USING FORTRAN


COURSE CODE : COM129
INSTRUCTION : ANSWER ANY 4 QUESTIONS.

1 (A). What is FORTRAN?


(B)I. Give three Facts about FORTRAN as a high Level Language
ii. Name two Versions of FORTRAN
(C) Define the following term
(I). Tokens (ii). Identifier
(ii). Name the Five Intrinsic Data types in Provided by FORTRAN

2 (a). State Three Reasons why Program Modularity is Important.


(b). Write a FORTRAN Program to Evaluate and Output the sum of Even Numbers between Land
200 Using Do Continue Statement.
(c) I. What is Subroutine?
(ii . Write a FORTRAN Program to Swap any given two Numbers (Values). Using a Subroutine.

3 (a). State and Explain Four Features of Object Oriented Programming.


(b). Write a FORTRAN Program that Converts Temperature in Degrees Centigrade and Output
Temperature in Fehrenheit

4 (a). Differentiate between Formatted Input and Output Statements.


(b). State the Rules of Subscripted Variables in FORTRAN Statements.
(C). Explain the Following Format Statements
(I). F - Edit Descriptor
(ii). L - Edit Descriptor
(III). H - Edit Descriptor
5 (a). Write a Program to Generate and Output a Fibonacci Sequence
(b). Write a FORTRAN Program to Output the Squares and Square Roots of First 50 Integers (0-50)
(C). Write a Program to Print the sum of Four Values using Logical Operator.

You might also like