Phu Xuan University Library
Introduction to Programming using Fortran 95/2003/2008

External

Introduction to Programming using Fortran 95/2003/2008

This text provides an introduction to programming and problem solving using the Fortran 95/2003/2008 programming language. This introduction is geared for non computer science majors. As such, this text is not a complete, comprehensive guide to the Fortran 95/2003/2008 programming language. The primary focus is on an introduction to problem solving and algorithm development. As such, many details of the Fortran 95/2203/2008 language are omitted.

Author
Ed Jorgensen
Publisher
University of Navada, Las Vegas
Source
LibreTexts
License
CC BY-NC-SA
Language
EN
Category
Information Technology
Contents· 196 sections
  1. 01: Introduction
  2. 1.01: Why Learn Programming
  3. 1.02: Fortran
  4. 1.03: Complete Fortran 95 2003 2008 Documentation
  5. 1.04: What Is A Program
  6. 1.05: Operating System
  7. 02: Computer Organization
  8. 2.01: Architecture Overview
  9. 2.02: Compiler
  10. 2.03: Information Representation
  11. 2.04: Exercises
  12. 03: Getting Started
  13. 3.01: Required Skills
  14. 3.02: Program Formats
  15. 3.03: Text Editor
  16. 3.04: Compiling
  17. 3.05: Executing
  18. 3.06: Exercises
  19. 04: Fortran 95 2003 2008 Basic Elements
  20. 4.01: Variables
  21. 4.02: Data Types
  22. 4.03: Declarations
  23. 4.04: Comments
  24. 4.05: Continuation Lines
  25. 4.06: Declarations Extended Size Variables
  26. 4.07: Exercises
  27. 05: Expressions
  28. 5.01: Literals
  29. 5.02: Arithmetic Operations
  30. 5.03: Order of Operations
  31. 5.04: Intrinsic Functions
  32. 5.05: Mixed Mode
  33. 5.06: Examples
  34. 5.07: Exercises
  35. 06: Simple Input and Output
  36. 6.01: Output Write
  37. 6.02: Input Read
  38. 6.03: Example
  39. 6.04: Exercises
  40. 07: Program Development
  41. 7.01: Understand the Problem
  42. 7.02: Create the Algorithm
  43. 7.03: Implement the Program
  44. 7.04: Test Debug the Program
  45. 7.05: Exercises
  46. 08: Selection Statements
  47. 8.01: Conditional Expressions
  48. 8.02: Logical Operators
  49. 8.03: IF Statements
  50. 8.04: Example One
  51. 8.05: SELECT CASE Statement
  52. 8.06: Example Two
  53. 8.07: Exercises
  54. 09: Looping
  55. 9.01: Counter Controlled Looping
  56. 9.02: EXIT and CYCLE Statements
  57. 9.03: Counter Controlled Example
  58. 9.04: Conditional Controlled Looping
  59. 9.05: Conditionally Controlled Loop Example
  60. 9.06: Exercises
  61. 10: Formatted Input Output
  62. 10.01: Format
  63. 10.02: Format Specifiers
  64. 10.03: Integer Format Specifier
  65. 10.04: Real Format Specifier
  66. 10.05: Horizontal Positioning Specifiers
  67. 10.06: Logical Format Specifier
  68. 10.07: Character Format Specifier
  69. 10.08: Advance Clause
  70. 10.09: Example
  71. 10.10: Exercises
  72. 11: Characters and Strings
  73. 11.01: Character and String Constants
  74. 11.02: Character Variable Declaration
  75. 11.03: Character Variable Initialization
  76. 11.04: Character Constants
  77. 11.05: Character Assignment
  78. 11.06: Character Operators
  79. 11.07: Character Substrings
  80. 11.08: Character Comparisons
  81. 11.09: Intrinsic Character Operations
  82. 11.10: Example
  83. 11.11: Exercises
  84. 12: File Operations
  85. 12.01: File Open
  86. 12.02: File Write
  87. 12.03: Stop Statement
  88. 12.04: File Read
  89. 12.05: Rewind
  90. 12.06: Backspace
  91. 12.07: Close File
  92. 12.08: Example
  93. 12.09: Exercises
  94. 13: Single Dimension Arrays
  95. 13.01: Introduction
  96. 13.02: Array Declaration
  97. 13.03: Accessing Array Elements
  98. 13.04: Implied Do-Loop
  99. 13.05: Intrinsic Functions
  100. 13.06: Initializing Arrays
  101. 13.07: Example
  102. 13.08: Arrays of Strings
  103. 13.09: Exercises
  104. 14: Multidimensional Arrays
  105. 14.01: Introduction
  106. 14.02: Array Declaration
  107. 14.03: Accessing Array Elements
  108. 14.04: Example
  109. 14.05: Exercises
  110. 15: Subprograms
  111. 15.01: Subprogram Types
  112. 15.02: Program Layout
  113. 15.03: Arguments
  114. 15.04: Variable Scope
  115. 15.05: Using Functions and Subroutines
  116. 15.06: Functions
  117. 15.07: Subroutines
  118. 15.08: Example
  119. 15.09: Exercises
  120. 16: Derived Data Types
  121. 16.01: Definition
  122. 16.02: Declaration
  123. 16.03: Accessing Components
  124. 16.04: Example One
  125. 16.05: Arrays of Derived Data
  126. 16.06: Example Two
  127. 16.07: Exercises
  128. 17: Modules
  129. 17.01: Module Declaration
  130. 17.02: Use Statement
  131. 17.03: Updated Compilation Commands
  132. 17.04: Module Example Program
  133. 17.05: Exercises
  134. 18: Recursion
  135. 18.01: Recursive Subroutines
  136. 18.02: Recursive Print Binary Example
  137. 18.03: Recursive Functions
  138. 18.04: Recursive Factorial Example
  139. 18.05: Recursive Factorial Function Call Tree
  140. 18.06: Exercises
  141. 19: Character String Numeric Conversion
  142. 19.01: Character String to Numeric Conversion
  143. 19.02: Numeric to Character String Conversion
  144. 19.03: Exercises
  145. 20: System Services
  146. 20.01: Date and Time
  147. 20.02: Command Line Arguments
  148. 20.03: Exercises
  149. 21: Appendix 1 - ASCII Table
  150. 21.01: ASCII Table
  151. 22: Appendix 2 - Start-Up Instructions
  152. 22.01: Working Files
  153. 22.02: Obtaining The Compiler
  154. 22.03: Windows Compilation
  155. 22.04: MacOS Compilation
  156. 23: Appendix 3 - Random Number Generation
  157. 23.01: Initialization
  158. 23.02: Generating Random Number
  159. 23.03: Example
  160. 23.04: Example
  161. 24: Appendix 4 - Intrinsic Functions
  162. 24.01: Conversion Functions
  163. 24.02: Integer Functions
  164. 24.03: Real Functions
  165. 24.04: Character Functions
  166. 24.05: Complex Functions
  167. 24.06: Array Functions
  168. 24.07: System Information Functions
  169. 25: Appendix 5 - Visualization with GNUplot
  170. 25.01: Obtaining GNUplot
  171. 25.02: Formatting Plot Files
  172. 25.03: Plotting Files
  173. 25.04: Example
  174. 26: Appendix 6 - Quiz Question Answers
  175. 26.01: Quiz Question Answers - Chapter 1
  176. 26.02: Quiz Question Answers - Chapter 2
  177. 26.03: Quiz Question Answers - Chapter 3
  178. 26.04: Quiz Question Answers - Chapter 4
  179. 26.05: Quiz Question Answers - Chapter 5
  180. 26.06: Quiz Question Answers - Chapter 6
  181. 26.07: Quiz Question Answers - Chapter 7
  182. 26.08: Quiz Question Answers - Chapter 8
  183. 26.09: Quiz Question Answers - Chapter 9
  184. 26.10: Quiz Question Answers - Chapter 10
  185. 26.11: Quiz Question Answers - Chapter 11
  186. 26.12: Quiz Question Answers - Chapter 12
  187. 26.13: Quiz Question Answers - Chapter 13
  188. 26.14: Quiz Question Answers - Chapter 14
  189. 26.15: Quiz Question Answers - Chapter 15
  190. 26.16: Quiz Question Answers - Chapter 16
  191. 26.17: Quiz Question Answers - Chapter 17
  192. 26.18: Quiz Question Answers - Chapter 18
  193. 26.19: Quiz Question Answers - Chapter 19
  194. 26.20: Quiz Question Answers - Chapter 20
  195. 27: Appendix 7 - Fortran 95 2003 2008 Keywords
  196. 27.01: Fortran 95 2003 2008 Keywords