Programming with Pascal: The Language Designed to Teach — From Foundations to Modern Object Pascal
The Language Designed to Teach — From Foundations to Modern Object Pascal
Start Reading →
40 chapters
~43 hours total
304 sections
1
Front Matter
5 chapters2
Part I: Foundations
9 chapters- Part I: Foundations
- Chapter 1: Why Pascal? The Language Designed to Teach Programming Right
- Chapter 2: Setting Up: Free Pascal, Lazarus, and Your First Program
- Chapter 3: Variables, Types, and Expressions: Pascal's Strong Typing is a Feature, Not a Bug
- Chapter 4: Input, Output, and Formatting — Communicating with the User
- Chapter 5: Making Decisions — IF, CASE, and Boolean Logic
- Chapter 6: Loops and Iteration: REPEAT, WHILE, and FOR
- Chapter 7: Procedures and Functions — Structuring Your Code
- Chapter 8: Scope, Parameters, and the Call Stack: How Programs Really Work
3
Part II: Data Structures in Pascal
8 chapters- Part II: Data Structures in Pascal
- Chapter 9: Arrays: Fixed Collections and Multidimensional Data
- Chapter 10: Strings — Text Processing in Pascal
- Chapter 11: Records and Variant Records — Structured Data
- Chapter 12: Sets and Enumerations: Pascal's Unique Type System
- Chapter 13: Files and I/O — Text Files, Typed Files, and Untyped Files
- Chapter 14: Pointers and Dynamic Memory — Understanding the Heap
- Chapter 15: Dynamic Data Structures: Linked Lists, Stacks, and Queues
4
Part III: Object Pascal
7 chapters- Part III: Object Pascal
- Chapter 16: Introduction to Object-Oriented Programming: Classes and Objects in Pascal
- Chapter 17: Inheritance, Polymorphism, and Virtual Methods
- Chapter 18: Interfaces, Abstract Classes, and Design Principles
- Chapter 19: Exception Handling: Writing Robust Code with TRY..EXCEPT..FINALLY
- Chapter 20: Generics: Type-Safe Reusable Code
- Chapter 21: Advanced Object Pascal: Operator Overloading, Class Helpers, and Anonymous Functions
5
Part IV: Algorithms and Problem Solving
6 chapters- Part IV: Algorithms and Problem Solving
- Chapter 22: Recursion: The Power and Peril of Self-Reference
- Chapter 23: Searching and Sorting: Classic Algorithms Implemented in Pascal
- Chapter 24: Trees and Graphs: Hierarchical and Network Data Structures
- Chapter 25: Algorithm Design Strategies: Divide and Conquer, Greedy, Dynamic Programming
- Chapter 26: Complexity Analysis: How Fast Is Your Program and Can You Make It Faster?
6
Part V: GUI Programming with Lazarus
7 chapters- Part V: GUI Programming with Lazarus
- Chapter 27: Introduction to Lazarus — The IDE, the Component Library, and Your First GUI Application
- Chapter 28: Forms, Controls, and Events — Building User Interfaces
- Chapter 29: Menus, Dialogs, and Application Structure
- Chapter 30: Drawing, Graphics, and Custom Controls
- Chapter 31: Database Programming — Connecting to SQLite, PostgreSQL, and MySQL
- Chapter 32: Deploying Your Application — Compilation, Packaging, and Cross-Platform Considerations
7
Part VI: Systems and Advanced Topics
6 chapters- Part VI: Systems and Advanced Topics
- Chapter 33: Units, Packages, and Modular Design: Organizing Large Programs
- Chapter 34: File Formats and Serialization: JSON, XML, INI, and Custom Binary Formats
- Chapter 35: Networking and Internet Programming: Sockets, HTTP, and REST Clients
- Chapter 36: Multithreading and Concurrent Programming in Pascal
- Chapter 37: Interfacing with the Operating System: OS APIs, Processes, and Platform-Specific Code
8
Part VII: Capstone and the Pascal Ecosystem
4 chapters- Part VII: Capstone and the Pascal Ecosystem
- Chapter 38: Capstone Project: A Complete Cross-Platform Application from Design to Deployment
- Chapter 39: The Pascal Ecosystem: Free Pascal, Delphi, Lazarus, Libraries, and Community
- Chapter 40: Pascal's Legacy and Future: From Wirth to Modern Object Pascal and Beyond
9
Appendices
11 chapters- Appendix A: Pascal Language Quick Reference
- Appendix B: Free Pascal and Lazarus Installation Guide
- Appendix C: ASCII and Character Set Reference
- Appendix D: Common Compiler Errors and Fixes
- Appendix E: Free Pascal vs. Delphi Dialect Differences
- Appendix F: Pascal Reserved Words and Operators
- Appendix G: Lazarus Component Reference
- Appendix H: Glossary
- Appendix I: Answers to Selected Exercises
- Appendix J: Bibliography
- Appendix K: Index
Explore Related Books
More open-access textbooks from our library
Advanced COBOL 40 chapters · ~67h Advanced Data Science 39 chapters · ~57h AI Ethics 39 chapters · ~82h AI Literacy 21 chapters · ~27h AI & ML for Business 40 chapters · ~80h AI Engineering 40 chapters · ~53h Algorithmic Addiction 40 chapters · ~71h American Government 40 chapters · ~77h Applied Psychology 40 chapters · ~52h Assembly Language 40 chapters · ~27h Blockchain & Crypto 40 chapters · ~68h Calculus 40 chapters · ~51h Automotive Sales 40 chapters · ~73h College Football Analytics 28 chapters · ~18h Creator Economy 41 chapters · ~57h Pattern Recognition 43 chapters · ~92h Cybersecurity 40 chapters · ~84h Digital Forensics 40 chapters · ~69h Data & Society 40 chapters · ~72h Data Viz with Python 35 chapters · ~52h Discrete Mathematics 40 chapters · ~75h Ethical Hacking 41 chapters · ~58h Fandom 44 chapters · ~70h Forensic Science 40 chapters · ~74h Grant Writing 35 chapters · ~36h History of Appalachia 42 chapters · ~69h How Humans Get Stuck 40 chapters · ~36h Handling Confrontation 40 chapters · ~80h How to Learn Anything 38 chapters · ~54h How Your House Works 40 chapters · ~66h IBM DB2 37 chapters · ~53h Insurance Underwriting 40 chapters · ~71h Intermediate COBOL 54 chapters · ~44h Intermediate Data Science 36 chapters · ~39h Intro CS Python 27 chapters · ~28h Intro to Data Science 36 chapters · ~55h Introductory Economics 40 chapters · ~28h Introductory Statistics 28 chapters · ~48h Learning COBOL 42 chapters · ~64h Prediction Markets 42 chapters · ~60h Linear Algebra 40 chapters · ~60h Metacognition 28 chapters · ~52h Media Literacy 41 chapters · ~80h Music Production 40 chapters · ~84h NFL Analytics 28 chapters · ~16h Nuclear Physics 35 chapters · ~60h Organic Chemistry 40 chapters · ~43h Photography 40 chapters · ~85h Physics of Music 48 chapters · ~75h Political Analytics 41 chapters · ~67h Popular Psychology 40 chapters · ~21h Practical Philosophy 38 chapters · ~63h Basketball Analytics 31 chapters · ~30h Soccer Analytics 30 chapters · ~43h Propaganda 40 chapters · ~80h Python for Business 40 chapters · ~40h Quantum Mechanics 40 chapters · ~66h RegTech 40 chapters · ~59h The Science of Cooking 40 chapters · ~70h Science of Seduction 45 chapters · ~60h Sports Betting 42 chapters · ~63h Database Fundamentals 40 chapters · ~34h Technical Writing 40 chapters · ~70h Architecture of Surveillance 40 chapters · ~54h Science of Luck 40 chapters · ~72h Eastern Cultures 40 chapters · ~47h Western Culture 40 chapters · ~30h Vibe Coding 42 chapters · ~58h Video Game Design 40 chapters · ~77h Why They Watch 40 chapters · ~48h Working with AI 42 chapters · ~58h