Primary Navigation
Want to create or adapt books like this? Learn more about how Pressbooks supports open publishing practices.
Book Contents Navigation
Contents
About this Book
Author Acknowledgements
Systems Development Life Cycle
Kenneth Leroy Busbee
Program Design
Program Quality
Dave Braunschweig
Pseudocode
Flowcharts
Software Testing
Integrated Development Environment
Version Control
Input and Output
Hello World
C++ Examples
C# Examples
Java Examples
JavaScript Examples
Python Examples
Swift Examples
Practice: Introduction to Programming
Constants and Variables
Identifier Names
Data Types
Integer Data Type
Floating-Point Data Type
String Data Type
Boolean Data Type
Nothing Data Type
Order of Operations
Assignment
Arithmetic Operators
Integer Division and Modulus
Unary Operations
Lvalue and Rvalue
Data Type Conversions
Input-Process-Output Model
Practice: Data and Operators
Modular Programming
Hierarchy or Structure Chart
Function Examples
Parameters and Arguments
Call by Value vs. Call by Reference
Return Statement
Void Data Type
Scope
Programming Style
Standard Libraries
Program Plan
Practice: Functions
Structured Programming
Selection Control Structures
If Then Else
Code Blocks
Relational Operators
Assignment vs Equality
Logical Operators
Nested If Then Else
Case Control Structure
Condition Examples
Practice: Conditions
Iteration Control Structures
While Loop
Do While Loop
Flag Concept
For Loop
Branching Statements
Increment and Decrement Operators
Integer Overflow
Nested For Loops
Loop Examples
Practice: Loops
Arrays and Lists
Index Notation
Displaying Array Members
Arrays and Functions
Math Statistics with Arrays
Searching Arrays
Sorting Arrays
Parallel Arrays
Multidimensional Arrays
Fixed and Dynamic Arrays
Practice: Arrays
Strings
String Functions
String Formatting
File Input and Output
Loading an Array from a Text File
Practice: Strings and Files
Exception Handling
Objects and Classes
Encapsulation
Inheritance and Polymorphism
Practice
Previous/next navigation
Programming Fundamentals Copyright © 2018 by Authors and Contributors is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License, except where otherwise noted.