Читать книгу Beginning Programming All-in-One For Dummies - Wallace Wang - Страница 3

Beginning Programming All-in-One For Dummies® To view this book's Cheat Sheet, simply go to www.dummies.com and search for “Beginning Programming All-in-One For Dummies Cheat Sheet” in the Search box. Table of Contents

Оглавление

Cover

Title Page

Copyright

Introduction About This Book Foolish Assumptions Icons Used in This Book Beyond the Book Where to Go from Here

Book 1: Getting Started with Programming Chapter 1: Getting Started Programming a Computer How Computer Programming Works The History of Computer Programming Figuring Out Programming Chapter 2: Different Methods for Writing Programs Spaghetti Programming Structured Programming Event-Driven Programming Object-Oriented Programming Using Protocol-Oriented Programming Design Patterns Chapter 3: Types of Programming Languages Your First Language Curly-Bracket Languages Artificial Intelligence Languages Scripting Languages Database Programming Languages Comparing Programming Languages Chapter 4: Programming Tools Choosing a Compiler Finding an Interpreter Compiling to a Virtual Machine Writing a Program with an Editor Fixing a Program with a Debugger Saving Time with Third-Party Components Optimizing a Program with a Profiler Managing Source Code Creating a Help File Installing a Program Dissecting Programs with a Disassembler

Book 2: Programming Basics Chapter 1: How Programs Work Using Keywords as Building Blocks Organizing a Program Dividing a Program into Subprograms Dividing a Program into Objects Creating a User Interface Chapter 2: Variables, Data Types, and Constants Declaring Variables Using Different Data Types Storing Data in a Variable Retrieving Data from a Variable Using Constant Values Defining the Scope of a Variable Chapter 3: Manipulating Data Storing Data with the Assignment Operator Using Math to Manipulate Numbers Manipulating Strings Finding Strings with Regular Expressions Using Comparison Operators Using Boolean Operators Converting Data Types Chapter 4: Making Decisions by Branching Picking One Choice with the IF-THEN Statement Picking Two Choices with the IF-THEN-ELSE Statement Picking Three or More Choices with the IF-THEN-ELSEIF Statement Playing with Multiple Boolean Operators Making Multiple Choices with the SELECT CASE Statement Chapter 5: Repeating Commands by Looping Looping a Fixed Number of Times with the FOR-NEXT Loop Looping Zero or More Times with the WHILE Loop Looping at Least Once with the DO Loop Playing with Nested Loops Prematurely Exiting from a Loop Checking Your Loops Chapter 6: Breaking a Large Program into Subprograms Creating and Using Subprograms Passing Parameters Repeating a Subprogram with Recursion Chapter 7: Breaking a Large Program into Objects How Object-Oriented Programming Works Encapsulation Isolates Data and Subprograms Sharing Code with Inheritance Polymorphism: Modifying Code without Changing Its Name Design Patterns Object-Oriented Languages Real-Life Programming Examples Chapter 8: Reading and Saving Files Storing Data in Text Files Storing Fixed-Size Data in Random-Access Files Storing Varying-Size Data in Untyped Files Using Database Files Chapter 9: Documenting Your Program Adding Comments to Source Code Writing Software Documentation Chapter 10: Principles of User Interface Design The Evolution of User Interfaces Elements of a User Interface Designing a User Interface Chapter 11: Debugging and Testing Common Types of Programming Errors Debugging with Comments and Print Statements Breakpoints, Stepping, and Watching Testing Code

Book 3: Data Structures Chapter 1: Structures and Arrays Using Structures Using an Array Working with Resizable Arrays Working with Multidimensional Arrays Using Structures with Arrays Drawbacks of Arrays Chapter 2: Sets and Linked Lists Using Sets Using Linked Lists Drawbacks of Sets and Linked Lists Chapter 3: Collections and Dictionaries Using a Collection Using Dictionaries Understanding Hash Tables Chapter 4: Stacks, Queues, and Deques Using Stacks Using Queues Using Deques Chapter 5: Graphs and Trees Understanding Graphs Creating Trees Taking Action on Trees

Book 4: Algorithms Chapter 1: Sorting Algorithms Using Bubble Sort Using Selection Sort Using Insertion Sort Using Shell Sort Using Heap Sort Using Merge Sort Using Quick Sort Comparing Sorting Algorithms Chapter 2: Searching Algorithms Sequential Search Using Indexes Adversarial Search Chapter 3: String Searching Sequential Text Search Searching with Regular Expressions Searching Phonetically Chapter 4: Data Compression Algorithms Lossless Data Compression Algorithms Lossy Data Compression Chapter 5: Encryption Algorithms How Encryption Works The Basics of Encryption Symmetric/Asymmetric Encryption Algorithms Cracking Encryption

Book 5: Web Programming Chapter 1: HyperText Markup Language The Structure of an HTML Document Adding Graphics Defining the Background Creating Hyperlinks Making Tables Chapter 2: CSS The Structure of a Stylesheet Creating Style Classes Separating Styles in Files Cascading Stylesheets Chapter 3: JavaScript The Structure of a JavaScript Program Creating Comments Declaring Variables Using Operators Branching Statements Looping Statements Creating Functions Using Arrays Designing User Interfaces Chapter 4: PHP Examining the Structure of a PHP Program Creating Comments Declaring Variables Using Operators Branching Statements Looping Statements Creating Functions Using Arrays Creating Objects Chapter 5: Ruby The Structure of a Ruby Program Creating Comments Declaring Variables Using Operators Branching Statements Looping Statements Creating Functions Using Data Structures Creating Objects

10  Book 6: Programming Language Syntax Chapter 1: C and C++ Looking at the Structure of a C/C++ Program Creating Comments Declaring Variables Using Operators Branching Statements Looping Statements Creating Functions Data Structures Using Objects Chapter 2: Java and C# Looking at the Structure of a Java/C# Program Creating Comments Declaring Variables Using Operators Branching Statements Looping Statements Creating Functions Data Structures Using Objects Chapter 3: Perl and Python Reviewing the Structure of a Perl or Python Program Creating Comments Defining Variables Using Operators Branching Statements Looping Statements Creating Functions Making Data Structures Using Objects Chapter 4: Kotlin Looking at the Structure of a Kotlin Program Creating Comments Declaring Variables Declaring Constants Using Operators Branching Statements Looping Statements Creating Functions Creating Data Structures Creating Objects Chapter 5: Swift and SwiftUI Considering the Structure of a Swift Program Creating Comments Declaring Variables Declaring Constants Using Operators Branching Statements Looping Statements Creating Functions Data Structures Creating Objects Chapter 6: Flutter and Dart Working with Flutter Understanding the Dart Language

11  Book 7: Applications Chapter 1: Database Management Understanding the Basics of Databases Manipulating Data Database Programming Chapter 2: Bioinformatics The Basics of Bioinformatics Database Searches Bioinformatics Programming Chapter 3: Computer Security Stopping Malware Stopping Hackers Secure Computing Chapter 4: Artificial Intelligence Problem Solving Machine Learning Applications of Artificial Intelligence Chapter 5: Mobile and Wearable Computing Understanding the Different Generations of Computing Giving Data to the User Getting Data from the User Tracking Motion and Location Tracking Real-Time Health Data Looking to the Future of Augmented Reality and Wearable Computers Chapter 6: Game Engines Understanding Game Engines Picking a Game Engine Programming a Game Engine Exploring the Future Uses of Game Engines Chapter 7: The Future of Computer Programming Picking a Programming Language Picking an Operating System Doing Cross-Platform Programming Defining Your Future in Programming

12  Index

13  About the Author

14  Advertisement Page

15  Connect with Dummies

16  End User License Agreement

Beginning Programming All-in-One For Dummies

Подняться наверх