CITATION

Sway, Julie. Must Know High School Computer Programming. New York: McGraw-Hill Education, 2019.

Must Know High School Computer Programming

Authors:

Published:  December 2019 Pages: 400

eISBN: 9781260458473 | ISBN: 9781260458466
  • Cover
  • Title Page
  • Copyright Page
  • Contents
  • Introduction
  • The Flashcard App
  • Author’s Note
  • 1 Hardware and Software
  • 2 A Computer’s Favorite Language – Binary!
  • Place Value
  • Binary Numbers Place Value
  • Converting Decimal Numbers to Binary
  • Converting Binary Numbers to Decimal
  • 3 Getting Started
  • Iterative Software Development
  • 4 Designing a Programming Solution: Algorithms
  • 5 Pseudocode and Flowcharts
  • Pseudocode
  • Flowcharts
  • 6 Writing and Commenting Our First Program
  • Let’s Write Our First Program
  • Saving Our Program
  • Comments
  • 7 Debugging and Testing
  • Testing
  • 8 Variables and Assignment Statements
  • Assignment Statements
  • Variables in Assignment Statements
  • More Printing Options
  • 9 Data Types
  • Converting Data Types, or “Casting”
  • How to Verify a Data Type
  • 10 Math Symbols
  • Mathematical Operations
  • Modulus Math
  • Order of Operations
  • 11 Strings
  • Index and Length
  • Concatenation
  • Immutable
  • Slicing
  • String Comparisons
  • String Built-in Functions
  • 12 Input
  • User Input
  • Validate User Input
  • Reading and Writing Files
  • 13 Three Types of Statements
  • Sequential Statements
  • Selection Statements
  • Repetitive Statements
  • 14 Selection Statements
  • Boolean Values
  • Relational Operators
  • Format of the Selection Statement Condition
  • What Happens When the Condition Is False?
  • Multiple Possibilities—Nesting
  • 15 Logical Operators
  • Logical Operator: and
  • Logical Operator: or
  • Logical Operator: not
  • Combining Logical Operators
  • 16 Lists
  • How to Reference an Item in a List
  • Lists: Length
  • Concatenation
  • Slicing
  • Processing Lists
  • Lists: Frequently Used Built-in Functions
  • 17 Repetitive Statements: while Loops
  • while Loops
  • while Loops: What Can Go Wrong?
  • while Loops: What Else Could Go Wrong?
  • while Loops: Stopping in the Middle of an Iteration
  • while Loops: Continuing in the Middle of an Iteration
  • 18 Repetitive Statements: for Loops
  • Strings and for Loops
  • for Loops and Lists
  • 19 Functions
  • Built-In Functions
  • Functions You Create
  • Parameters and Arguments
  • Global and Local Variables
  • Functions: The return Statement
  • 20 Libraries and APIs
  • View Available Modules, Keywords, Symbols, and Topics
  • Modules Available with Python
  • How to Find or Create Modules to Share
  • Libraries and APIs
  • 21 Projects
  • Project 1: Crazy Talk!
  • Project 2: Rock, Paper, Scissors
  • Project 3: Guess a Number
  • Project 4: Guessing Game Reboot!
  • Project 5: The Challenge Game
  • 22 Micro:bit
  • Getting Started
  • Programming the Micro:bit
  • A Closer Look
  • Micro:bit Images
  • Making Your Own Images
  • Animating Images
  • Buttons on the Micro:bit
  • Micro:bit Pins
  • Micro:bit’s Accelerometer
  • Micro:bit Gestures
  • Micro:bit Compass
  • Random Numbers
  • Words of Wisdom Game
  • Temperature Program
  • Starlight Program
  • Guess the Number Game
  • Catch the Falling Stars Game
  • Make Your Own Music
  • Follow the Leader Game
  • Answer Key