- What is Hardware?
- What is Software?
- How a Computer Executes (Runs) a Program
- Compilers and Interpreters
- What is Source Code?
- What is the Difference Between a Script and a Program?
- What is an Algorithm?
- The Algorithm for Making a Cup of Tea
- Properties of an Algorithm
- Okay About Algorithms. But What is a Computer Program Anyway?
- The Party of Three!
- The Three Main Stages Involved in Creating an Algorithm
- What is a Flowchart?
- What are ”Reserved Words”?
- What is Structured Programming?
- The Three Fundamental Control Structures
- What is the Difference Between Syntax Errors and Logic Errors?
- Commenting Your Code
- User-Friendly Programs
- What is a Variable?
- What is a Constant?
- How Many Types of Variables and Constants Exist in a Computer Language?
- Rules for Naming Variables
- Rules for Naming Constants
- What Does the Phrase “Declare a Variable” Mean?
- How to Declare Variables
- How to Declare Constants
- Which Statement Outputs Messages and Results on a User’s Screen?
- Which Statement Lets the User Enter Data?
- The Value Assignment Operator
- Arithmetic Operators
- What is the Precedence of Arithmetic Operators?
- Compound Assignment Operators
- Exercise – Which Statements are Syntactically Correct?
- Incrementing/Decrementing Operators
- String Operators
- Exercise – Concatenating Names
- What is a Trace Table?
- Exercise – Creating a Trace Table
- What is the Sequence Control Structure?
- Exercise – Calculating the Area of a Parallelogram
- Exercise – Where is the Car? Calculating Distance Traveled
- Exercise – Calculating Sales Tax
- Exercise – Calculating a Sales Discount
- Manipulating Numbers
- Exercise – Calculating the Distance Between Two Points
- Exercise – Writing a Complex Mathematical Expression in a Computer Language
- Calculating the Quotient and Remainder of Integer Division
- Exercise – Finding the Sum of Digits
- Exercise – Displaying an Elapsed Time
- Manipulating Strings
- The Position of a Character in a String
- Retrieving Individual Characters From a String
- What is a Decision Control Structure?
- What is a Boolean Expression?
- Logical Operators and Complex Boolean Expressions
- Membership Operators (only for Python)
- What is the Order of Precedence of Logical Operators?
- What is the Order of Precedence of Arithmetic, Comparison, and Logical Operators?
- How to Negate Boolean Expressions
- Exercise – Negating Boolean Expressions
- The Single-Alternative Decision Structure
- Exercise – Trace Tables and Single-Alternative Decision Structures
- The Dual-Alternative Decision Structure
- Exercise – Finding Odd and Even Numbers
- Finding Minimum and Maximum Values with Decision Control Structures
- Exercises with Series of Consecutive Ranges of Values
- The Bubble Sort Algorithm – Sorting One-Dimensional Arrays with Numeric Values
Do you like these articles?
These articles are taken from my books. If you enjoyed them, please visit my author’s page in!