Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 1 out of 4 pages
Exam (elaborations)

FORTRAN OVERVIEW TEST QUESTIONS AND ANSWERS

Document preview thumbnail
Preview 1 out of 4 pages

FORTRAN OVERVIEW TEST QUESTIONS AND ANSWERS...

Content preview

FORTRAN OVERVIEW TEST QUESTIONS AND
ANSWERS

If you assign an INT a REAL value, the decimal will be
truncated
What does the link command do?
- Takes the in-depth compiled programs that have been turned into
machine code by a compiler
- links them together along with PRINT and READ commands (if any)
- creates one executable machine code file

What does the run command do?
Takes single machine code file. The loader takes this and loads it into
the main memory.
The address of the first instruction is put into the PC of the CPU
When a caller calls the callee in Fortran, what happens with:
Params
IP fields
PC
- Params passed and put into place
- Stores in IP field address of next instruction in the program unit
- Caller copies into PC the address of the beginning of the unit, thus
passing control over
How is control returned to the caller?
The return block in the subprogram will assign to the PC the bit pattern
in the IP field.
This bit pattern is the address to the next instruction in main.
Pass by ref is when the first formal param uses the _____ space in
memory as the actual param
same
32 bits has how many bytes?
4
Whats coercion
when the compiler promotes data type or truncates data type to another
type.
what information is static in the fortran memory map?
- the address of each location: IPs, params, local var, first executable
statement, etc

Document information

Uploaded on
October 31, 2024
Number of pages
4
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
luzlinkuz
3.8
(329)
Sold
1599
Followers
852
Items
32398
Last sold
1 day ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions