Python and Algorithmic Thinking for the Complete Beginner

Unlock the power of Python with this comprehensive guide, "Python and Algorithmic Thinking for the Complete Beginner." It covers everything from computer basics to advanced decision and loop control structures. Key Features Comprehensive coverage from basic computer operations to advanced...

Full description

Bibliographic Details
Other Authors: Bouras, Aristides, author (author)
Format: eBook
Language:Inglés
Published: Birmingham : Packt Publishing, Limited 2024.
Edition:3rd revised edition
Subjects:
See on Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009835431906719
Table of Contents:
  • Intro
  • Table of Contents
  • Preface
  • About the Author
  • Acknowledgments
  • How This Book is Organized
  • Who Should Buy This Book?
  • Conventions Used in This Book
  • How to Report Errata
  • Where to Download Material About this Book
  • If you Like this Book
  • Part I Introductory Knowledge
  • Chapter 1 How a Computer Works
  • 1.1 Introduction
  • 1.2 What is Hardware?
  • 1.3 What is Software?
  • 1.4 How a Computer Executes (Runs) a Program
  • 1.5 Compilers and Interpreters
  • 1.6 What is Source Code?
  • 1.7 Review Questions: True/False
  • 1.8 Review Questions: Multiple Choice
  • Chapter 2 Python and Integrated Development Environments
  • 2.1 What is Python?
  • 2.2 What is the Difference Between a Script and a Program?
  • 2.3 Why You Should Learn Python
  • 2.4 How Python Works
  • 2.5 Integrated Development Environments
  • 2.6 IDLE
  • 2.7 Microsoft Visual Studio
  • Chapter 3 Software Packages to Install
  • 3.1 What to Install
  • Review in "Introductory Knowledge"
  • Review Crossword Puzzles
  • Review Questions
  • Part II Getting Started with Python
  • Chapter 4 Introduction to Basic Algorithmic Concepts
  • 4.1 What is an Algorithm?
  • 4.2 The Algorithm for Making a Cup of Tea
  • 4.3 Properties of an Algorithm
  • 4.4 Okay About Algorithms. But What is a Computer Program Anyway?
  • 4.5 The Three Parties!
  • 4.6 The Three Main Stages Involved in Creating an Algorithm
  • 4.7 Flowcharts
  • Exercise 4.7-1 Finding the Average Value of Three Numbers
  • 4.8 What are "Reserved Words"?
  • 4.9 What is the Difference Between a Statement and a Command?
  • 4.10 What is Structured Programming?
  • 4.11 The Three Fundamental Control Structures
  • Exercise 4.11-1 Understanding Control Structures Using Flowcharts
  • 4.12 Your First Python Program
  • 4.13 What is the Difference Between a Syntax Error, a Logic Error, and a Runtime Error?
  • 4.14 What "Debugging" Means
  • 4.15 Commenting Your Code
  • 4.16 User-Friendly Programs
  • 4.17 Review Questions: True/False
  • 4.18 Review Questions: Multiple Choice
  • Chapter 5 Variables and Constants
  • 5.1 What is a Variable?
  • 5.2 What is a Constant?
  • 5.3 How Many Types of Variables and Constants Exist?
  • 5.4 Rules and Conventions for Naming Variables and Constants in Python
  • 5.5 What Does the Phrase "Declare a Variable" Mean?
  • 5.6 How to Declare Variables in Python
  • 5.7 How to Declare Constants in Python
  • 5.8 Review Questions: True/False
  • 5.9 Review Questions: Multiple Choice
  • 5.10 Review Exercises
  • Chapter 6 Handling Input and Output
  • 6.1 How to Output Messages and Results to a User's Screen?
  • 6.2 How to Alter the Default Behavior of a print Statement?
  • 6.3 How to Prompt the User to Enter Data?
  • 6.4 Review Questions: True/False
  • 6.5 Review Questions: Multiple Choice
  • Chapter 7 Operators
  • 7.1 The Value Assignment Operator
  • 7.2 Arithmetic Operators
  • 7.3 What is the Precedence of Arithmetic Operators?