lab1 Flashcards

1
Q

Fortran (derived from

A

Formula Translation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Fortran (derived from Formula Translation) it is

A

a general-purpose, imperative programming language that is especially suited to numeric computation, scientific computing and engineering problems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Fortran is a

A

programing language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

(the richest library with programs) Instructions are given to the machine in order to

A

solve a problem and execute it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

fortran’s file format

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

……………………. are considered an integer automatically even if you do not declare it.

A

All variables I,J,K,L,M,N

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

You must not reach …………. columns, if so you must

A

80 columns, if so you must go back and start a new line

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

……………………….. are considered real values.

A

Any variable from A-H or O-Z(excluding W)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

……………….. is a string

A

C and W

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

……………….. is logical (true or false)

A

LL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

If the machine is 64 bit it accept numbers from

A

-264 to 264 -1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
  1. All Fortran programs are written with

integer range

A
  1. range -232 to 232 -1 (32 bit)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  1. All Fortran programs are written with
    1. the integer range -232 to 232 -1 (32 bit)

the real is

A

64 bit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

If Z is real and K is integer, Z=K transfers

A

an integer to a real value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

……………………….. turns the integer to a real number

A

If A is an integer, the command “Float(A)”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The word compile means

A

the transfer from user understandable instructions to computer understandable instructions

17
Q

implicit none means

A

statement forces the programmer to declare all variables

18
Q

integer::a

A

declare a as an integer

19
Q

real::b

A

declare b as a real

20
Q

character (len=20)::d

A

declare d as a character with 20 characters

21
Q

print*,a

A

print a

22
Q

declare a as an integer

A

integer::a

23
Q

declare a as a real

A

real::a

24
Q

declare a as a character of 20 characters

A

character (len=20)::a

25
Q

print the following

texta and a

A

print*, texta,a