Data types

Easy
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
Question 47
Easy

State the data type of the variable is_orbit_stable in the orbital decay simulation algorithm shown in Figure 1.

Figure 1

1  altitudes ← [120, 150, 180, 210]
2  scale_height ← 8.5
3  base_density ← 1.2
4  is_orbit_stable ← TRUE
5  FOR EACH h IN altitudes
6      density ← base_density * EXP(-h / scale_height)
7      IF density < 0.00001 THEN
8          is_orbit_stable ← FALSE
9      ENDIF
10 ENDFOR
[1]

Data types Questions

  1. GCSE
  2. /Computer Science
  3. /Data types