Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

FORTRAN UPDATED ACTUAL Exam Questions and CORRECT Answers

Beoordeling
-
Verkocht
-
Pagina's
5
Cijfer
A+
Geüpload op
30-03-2025
Geschreven in
2024/2025

FORTRAN UPDATED ACTUAL Exam Questions and CORRECT Answers mkdir D - CORRECT ANSWER what do you do? vi script.f90 - CORRECT ANSWER - You want to create a directory/folder named D in Linux, - You want to access script.f90 in the vi editor, what do you do? (Note: this command would also create script.f90 if it did not exist prior) :wq - CORRECT ANSWER do you do? - To exit from vi while at the same time saving changes, what

Meer zien Lees minder
Instelling
Fortran
Vak
Fortran

Voorbeeld van de inhoud

FORTRAN UPDATED ACTUAL Exam
Questions and CORRECT Answers
mkdir D - CORRECT ANSWER - You want to create a directory/folder named D in Linux,
what do you do?


vi script.f90 - CORRECT ANSWER - You want to access script.f90 in the vi editor, what
do you do? (Note: this command would also create script.f90 if it did not exist prior)


:wq - CORRECT ANSWER - To exit from vi while at the same time saving changes, what
do you do?


program sniffy - CORRECT ANSWER - What is the first line in a FORTRAN "main"
script called "sniffy"?


end program sniffy - CORRECT ANSWER - What is the last line in a "FORTRAN
program" named "sniffy"?


integer :: var = 10 - CORRECT ANSWER - Define an integer variable with the value 10!



real - CORRECT ANSWER - What is the counterpart of "float" in fortran?



implicit none - CORRECT ANSWER - What necessary statement prevents potential
confusion in variable types, and makes detection of typographic errors easier?


contains - CORRECT ANSWER - What to add to the main FORTRAN script before
adding functions?


real function add(i,j) - CORRECT ANSWER - You want to create a function that adds
variables i and j, how do you write the first line?

, implicit none - CORRECT ANSWER - First line of a function?



yes - CORRECT ANSWER - Do you have to define function variables within the
function?


print*, 'Hello world!' - CORRECT ANSWER - Print "hello world" in FORTRAN!



gfortran hello.f90 -o hello.x - CORRECT ANSWER - You want to link hello.f90
FORTRAN script you just created to an executable hello.x to run the code, what do you do?


real - CORRECT ANSWER - x = 1.32312 is a...



logical - CORRECT ANSWER - f = .false. is a...



integer - CORRECT ANSWER - i = 1 is a...



do i =1,10 - CORRECT ANSWER - Make a loop in FORTRAN over the range 1-10 using
the predefined integer variable i


print*, 'my name is' ,name - CORRECT ANSWER - Print variable "name" with preceding
string: "my name is"


enddo - CORRECT ANSWER - At the end of a do loop you must always write...



character(len=100) :: b - CORRECT ANSWER - Define a character variable with length
100: so basically a string

Geschreven voor

Instelling
Fortran
Vak
Fortran

Documentinformatie

Geüpload op
30 maart 2025
Aantal pagina's
5
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$10.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF


Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
MGRADES Stanford University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
1390
Lid sinds
2 jaar
Aantal volgers
105
Documenten
87389
Laatst verkocht
10 uur geleden
MGRADES (Genius Brains)

Welcome to MGRADES Exams, practices and Study materials The work speaks for itself Me and my team will always make sure you get the best value from the exams markets. I offer the best study and exam materials for a wide range of courses and units. Make your study sessions more efficient and effective. Dive in and discover all you need to excel in your academic journey!

3.8

232 beoordelingen

5
94
4
50
3
53
2
14
1
21

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen