
Nguồn ngoài
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.
- Tác giả
- Ed Jorgensen
- Nhà xuất bản
- University of Navada, Las Vegas
- Nguồn
- LibreTexts
- Giấy phép
- CC BY-NC-SA
- Ngôn ngữ
- EN
- Danh mục
- Công nghệ thông tin
Mục lục· 196 mục
- 01: Introduction
- 1.01: Why Learn Programming
- 1.02: Fortran
- 1.03: Complete Fortran 95 2003 2008 Documentation
- 1.04: What Is A Program
- 1.05: Operating System
- 02: Computer Organization
- 2.01: Architecture Overview
- 2.02: Compiler
- 2.03: Information Representation
- 2.04: Exercises
- 03: Getting Started
- 3.01: Required Skills
- 3.02: Program Formats
- 3.03: Text Editor
- 3.04: Compiling
- 3.05: Executing
- 3.06: Exercises
- 04: Fortran 95 2003 2008 Basic Elements
- 4.01: Variables
- 4.02: Data Types
- 4.03: Declarations
- 4.04: Comments
- 4.05: Continuation Lines
- 4.06: Declarations Extended Size Variables
- 4.07: Exercises
- 05: Expressions
- 5.01: Literals
- 5.02: Arithmetic Operations
- 5.03: Order of Operations
- 5.04: Intrinsic Functions
- 5.05: Mixed Mode
- 5.06: Examples
- 5.07: Exercises
- 06: Simple Input and Output
- 6.01: Output Write
- 6.02: Input Read
- 6.03: Example
- 6.04: Exercises
- 07: Program Development
- 7.01: Understand the Problem
- 7.02: Create the Algorithm
- 7.03: Implement the Program
- 7.04: Test Debug the Program
- 7.05: Exercises
- 08: Selection Statements
- 8.01: Conditional Expressions
- 8.02: Logical Operators
- 8.03: IF Statements
- 8.04: Example One
- 8.05: SELECT CASE Statement
- 8.06: Example Two
- 8.07: Exercises
- 09: Looping
- 9.01: Counter Controlled Looping
- 9.02: EXIT and CYCLE Statements
- 9.03: Counter Controlled Example
- 9.04: Conditional Controlled Looping
- 9.05: Conditionally Controlled Loop Example
- 9.06: Exercises
- 10: Formatted Input Output
- 10.01: Format
- 10.02: Format Specifiers
- 10.03: Integer Format Specifier
- 10.04: Real Format Specifier
- 10.05: Horizontal Positioning Specifiers
- 10.06: Logical Format Specifier
- 10.07: Character Format Specifier
- 10.08: Advance Clause
- 10.09: Example
- 10.10: Exercises
- 11: Characters and Strings
- 11.01: Character and String Constants
- 11.02: Character Variable Declaration
- 11.03: Character Variable Initialization
- 11.04: Character Constants
- 11.05: Character Assignment
- 11.06: Character Operators
- 11.07: Character Substrings
- 11.08: Character Comparisons
- 11.09: Intrinsic Character Operations
- 11.10: Example
- 11.11: Exercises
- 12: File Operations
- 12.01: File Open
- 12.02: File Write
- 12.03: Stop Statement
- 12.04: File Read
- 12.05: Rewind
- 12.06: Backspace
- 12.07: Close File
- 12.08: Example
- 12.09: Exercises
- 13: Single Dimension Arrays
- 13.01: Introduction
- 13.02: Array Declaration
- 13.03: Accessing Array Elements
- 13.04: Implied Do-Loop
- 13.05: Intrinsic Functions
- 13.06: Initializing Arrays
- 13.07: Example
- 13.08: Arrays of Strings
- 13.09: Exercises
- 14: Multidimensional Arrays
- 14.01: Introduction
- 14.02: Array Declaration
- 14.03: Accessing Array Elements
- 14.04: Example
- 14.05: Exercises
- 15: Subprograms
- 15.01: Subprogram Types
- 15.02: Program Layout
- 15.03: Arguments
- 15.04: Variable Scope
- 15.05: Using Functions and Subroutines
- 15.06: Functions
- 15.07: Subroutines
- 15.08: Example
- 15.09: Exercises
- 16: Derived Data Types
- 16.01: Definition
- 16.02: Declaration
- 16.03: Accessing Components
- 16.04: Example One
- 16.05: Arrays of Derived Data
- 16.06: Example Two
- 16.07: Exercises
- 17: Modules
- 17.01: Module Declaration
- 17.02: Use Statement
- 17.03: Updated Compilation Commands
- 17.04: Module Example Program
- 17.05: Exercises
- 18: Recursion
- 18.01: Recursive Subroutines
- 18.02: Recursive Print Binary Example
- 18.03: Recursive Functions
- 18.04: Recursive Factorial Example
- 18.05: Recursive Factorial Function Call Tree
- 18.06: Exercises
- 19: Character String Numeric Conversion
- 19.01: Character String to Numeric Conversion
- 19.02: Numeric to Character String Conversion
- 19.03: Exercises
- 20: System Services
- 20.01: Date and Time
- 20.02: Command Line Arguments
- 20.03: Exercises
- 21: Appendix 1 - ASCII Table
- 21.01: ASCII Table
- 22: Appendix 2 - Start-Up Instructions
- 22.01: Working Files
- 22.02: Obtaining The Compiler
- 22.03: Windows Compilation
- 22.04: MacOS Compilation
- 23: Appendix 3 - Random Number Generation
- 23.01: Initialization
- 23.02: Generating Random Number
- 23.03: Example
- 23.04: Example
- 24: Appendix 4 - Intrinsic Functions
- 24.01: Conversion Functions
- 24.02: Integer Functions
- 24.03: Real Functions
- 24.04: Character Functions
- 24.05: Complex Functions
- 24.06: Array Functions
- 24.07: System Information Functions
- 25: Appendix 5 - Visualization with GNUplot
- 25.01: Obtaining GNUplot
- 25.02: Formatting Plot Files
- 25.03: Plotting Files
- 25.04: Example
- 26: Appendix 6 - Quiz Question Answers
- 26.01: Quiz Question Answers - Chapter 1
- 26.02: Quiz Question Answers - Chapter 2
- 26.03: Quiz Question Answers - Chapter 3
- 26.04: Quiz Question Answers - Chapter 4
- 26.05: Quiz Question Answers - Chapter 5
- 26.06: Quiz Question Answers - Chapter 6
- 26.07: Quiz Question Answers - Chapter 7
- 26.08: Quiz Question Answers - Chapter 8
- 26.09: Quiz Question Answers - Chapter 9
- 26.10: Quiz Question Answers - Chapter 10
- 26.11: Quiz Question Answers - Chapter 11
- 26.12: Quiz Question Answers - Chapter 12
- 26.13: Quiz Question Answers - Chapter 13
- 26.14: Quiz Question Answers - Chapter 14
- 26.15: Quiz Question Answers - Chapter 15
- 26.16: Quiz Question Answers - Chapter 16
- 26.17: Quiz Question Answers - Chapter 17
- 26.18: Quiz Question Answers - Chapter 18
- 26.19: Quiz Question Answers - Chapter 19
- 26.20: Quiz Question Answers - Chapter 20
- 27: Appendix 7 - Fortran 95 2003 2008 Keywords
- 27.01: Fortran 95 2003 2008 Keywords