Programming Basics: Getting Started with Java, C#, and Python 1st ed. Edition
معرفی کتاب «Programming Basics: Getting Started with Java, C#, and Python 1st ed. Edition» نوشتهٔ Robert Ciesla (auth.)، منتشرشده توسط نشر Apress : Imprint: Apress در سال 2021. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.
Explore the basics of the three most popular programming languages: C#, Java, and Python and see what it's like to function in today's world from the perspective of a programmer. This book's uses is highly practical approach with numerous code listings aimed at bringing generations together through the intricacies of technology. You'll learn how understanding the basics of coding benefits non-programmers working with software developers. Those in the gaming/media industry will also benefit from understanding a programmer's point of view. The same applies to software testers and even company executives, who might have an education in business instead of computer science.**What You'll Learn** * Think and read code-listings like a programmer * Gain a basic working proficiency in three popular programming languages * Communicate more efficiently with programmers of all experience levels in a work-based environment * Review advanced OOP concepts such as exceptions and error handling * Set up your programming environments for Windows, MacOS, and Linux **Who This Book Is For**Those looking to discover programming, including beginners in all fields, and professionals looking to understand how code works. Contents 5 About the Author 6 Chapter 1: Wet Toes: The Very Basics of Programming 7 What Is Programming Anyway? 7 Basic Hardware Rundown 8 1. Central Processing Unit (CPU) 8 2. Hard Drives (a.k.a. Hard Disks) 9 3. Video Card 9 4. Random Access Memory (RAM) 10 5. Motherboard 11 The Three Requirements of Becoming a Decent Programmer 11 A Novice Programmer’s Glossary 12 Input/Output 12 Algorithm 13 Flowchart 13 Source Code 14 Syntax 14 Routine 15 File Formats 15 ASCII 15 Boilerplate Code 16 Software Framework 16 Full Stack 16 In Closing 17 Chapter 2: Java, C#, and Python 101 18 Java 18 C# 19 Python 19 Ones, Zeros, and You 19 Compiling and Interpreting Code 20 The Magic of Variables 21 Variables in Python 22 Trying Out Python 22 Manipulating Variables 23 Typecasting in Python 24 Variable Comparisons 24 Variable Declarations in Java and C# 25 Trying Out Java and C# 26 On Curly Brackets, Variable Scope, and Code Blocks 26 First Adventures in Java 27 Once More with C# 28 On Classes and Object-Oriented Programming 29 The Basics of Flow Control: Loops 30 The While-Loop 31 The For-Loop in Detail 31 Looping in Python 31 In Closing 32 Chapter 3: Setting Up Your Programming Environments 33 On Computing Architecture 33 Bit-Derived Units Explained 35 Multitasking in 64 Bits 36 Identifying Your Operating System Architecture 36 Installing Eclipse for Java Development 36 Installing Eclipse for Linux 38 Eclipse First Launch 38 Great IDEs for C# Development 39 Setting Up Visual Studio for Windows and Mac 39 Starting a New Project in Visual Studio 40 Console vs. GUI Applications 40 C# in Linux: Introducing MonoDevelop 41 PyCharm for Python Development 41 Installing PyCharm for Linux 42 Software Vermin: Bugs 43 On Debugging and Testing 43 Debugging: Essential Approaches 44 In Closing 45 Chapter 4: Object-Oriented Programming (OOP) 47 Procedural vs. Object-Oriented Paradigms 47 Classes, Inheritance, and UML 48 Encapsulation 50 Your (Potentially) First Java Object 51 Java Alphabet Soup: JDK, JVM, and JRE 52 Objects in C# 52 Static and Public Methods in Java and OOP 53 Constructor Methods 54 Overloading Methods 55 Access Modifiers in More Detail 57 Why Access Modifiers Matter 57 The C# Assembly and Access Modifiers 58 Accessing Classes with C# 59 Once More, with UML 60 Protected Access: Java vs. C# 61 Python and OOP 61 Inheritance in Python 63 Attribute Binding in Python 64 In Closing 66 Chapter 5: File Operations, Multithreading, and Other Wonders of Java 67 Multithreading: Cores and Threads 67 Implementing Multithreading in Java 69 Thread Synchronization 71 Synchronizing Blocks 72 On Fairness and Starvation 72 Locks in Java 72 Some Essential Thread Methods at a Glance 73 The Try-Catch Block 74 Finally: More Fun with Try-Catch Blocks 75 Throw: Your Custom Error Message 76 Checked and Unchecked Exceptions 77 Basic File Operations in Java 78 Creating Text Files in Java 79 More Adventures in Java File Operations 81 Java Dating 82 More on Dating: Leap Years and Time Travel 83 Calendars in Java 84 Customizing Your Calendar 85 Internationalization and Localization in Java 87 In Closing 88 Chapter 6: And Now for Something Completely Different: Advanced Python 89 Python File Operations 90 File Attributes in Python 91 Practical File Access 91 Directory Operations in Python 92 File Name Pattern Matching 92 File Searching with Glob? 93 Dates in Python 93 The Majesty of Regular Expressions 94 Metacharacters 95 More Merriment with Regular Expressions 97 Concurrency and Parallelism in Python 98 Multiprocessing vs. Multithreading 99 Implementing Multithreading in Python 99 Implementing Multiprocessing in Python 101 Iterators, Generators, and Coroutines 102 Asyncio: The Odd One Out? 102 The Asynchronous Event Loop 103 Concurrency in Python: A Recap 104 Python Lambda Functions 105 Zipping in Python 106 More on Zipping 106 Working with the Other ZIP 107 In Closing 109 Chapter 7: Calendars, Culture, and Multithreading in C# 110 Dates in C# 110 The System.Globalization Namespace 112 Working with World Calendars 112 The CultureInfo Class 113 The File Class in C# 115 The FileInfo Class 117 File vs. FileInfo: What’s the Difference? 120 Garbage Collection in C# 122 Native vs. Managed Heap 122 Multithreading in C# 122 Locks and Attributes in C# Threads 124 Sleep vs. Yield 125 Join 126 Going Asynchronous in C# 127 In Closing 130 Chapter 8: Graduation Day: Slightly Larger Programming Projects 131 The Universal Chatting Simulator for Python 132 Part One: Setting Up the Project 132 Part Two: Displaying Highscores 134 Part Three: The Indomitable Main Loop 135 Capitalization and Delays 136 Part Four: Game Over 137 Thread Racer for C# 139 Jolly Quiz for C# 141 A Recipe Book in Java 143 A Stopwatch in Java 144 In Closing 146 Chapter 9: UML Class Diagrams 147 Visualizing the Object-Oriented Paradigm 147 The Categories of UML Diagrams 148 Getting Back to UML: Class Diagrams 149 Tree-Based Inheritance in UML 150 Figure 9-2 in Java 152 Figure 9-2 in C# 153 Figure 9-2 in Python 154 A UML Bicycle 156 A Bicycle in Python 156 A Personal Computer in UML 158 Realization and Dependency in UML 160 Reflexive Association 161 UML Class Diagrams: The Basic Elements 161 The UML Use Case 162 More on Use Cases 164 Tools for UML 165 UMLet and UMLetino by UMLet Team 165 Diagrams.net by Diagrams.net Team 166 Umbrello by Paul Hensgen and Umbrello UML Modeler Authors 166 In Closing 167 Afterword 167 Index 168 rom the Back Cover Programming Basics offers the fundamentals of what it's like to function in today's world from the perspective of a programmer. The approach is highly practical with numerous small code listings for C#, Java, and Python included. The reigning programming paradigm of object-oriented programming (OOP) is a part of all of these languages and its basics are explained in this book as well.Knowing the basics of coding is beneficial for those working close to, but not quite as one of the programmers in a team of software developers. Many people working in the audiovisual fields in the gaming/media industry would benefit from learning more of the programmers' points of view. The same applies to software testers and even company executives, who might have an education in business instead of computer science. What You'll Learn Gain a basic understanding of three popular programming languages, namely C#, Java, and Python Think and read code-listings like a programmer The basics of Unified Modeling Language (UML) class diagrams Communicate more efficiently with programmers of all experience levels in a work-based environment The core concepts related to the object-oriented programming (OOP) How to set up your programming environments for Windows, MacOS, and Linux Who This Book Is ForThose looking to discover programming, including beginners in all fields, and professionals looking to understand how basic coding processes work. Programming Basics offers the fundamentals of what it's like to function in today's world from the perspective of a programmer. The approach is highly practical with numerous small code listings for C#, Java, and Python included. The reigning programming paradigm of object-oriented programming (OOP) is a part of all of these languages - and its basics are explained in this book as well. Knowing the basics of coding is beneficial for those working close to, but not quite as one of the programmers in a team of software developers. Many people working in the audiovisual fields in the gaming/media industry would benefit from learning more of the programmers' points of view. The same applies to software testers and even company executives, who might have an education in business instead of computer science. What You'll Learn • Gain a basic understanding of three popular programming languages, namely C#, Java, and Python • Think and read code-listings like a programmer • The basics of Unified Modeling Language (UML) class diagrams • Communicate more efficiently with programmers of all experience levels in a work-based environment • The core concepts related to the object-oriented programming (OOP) • How to set up your programming environments for Windows, MacOS, and Linux Who This Book Is For Those looking to discover programming, including beginners in all fields, and professionals looking to understand how basic coding processes work Programming Basics offers the fundamentals of what it's like to function in today's world from the perspective of a programmer. The approach is highly practical with numerous small code listings for C#, Java, and Python included. The reigning programming paradigm of object-oriented programming (OOP) is a part of all of these languages and its basics are explained in this book as well. Knowing the basics of coding is beneficial for those working close to, but not quite as one of the programmers in a team of software developers. Many people working in the audiovisual fields in the gaming/media industry would benefit from learning more of the programmers' points of view. The same applies to software testers and even company executives, who might have an education in business instead of computer science. What you'll learn: think and read code-listings like a programmer; gain a basic understanding of three popular programming languages, namely C#, Java, and Python; the basics of Unified Modeling Language (UML) class diagrams; communicate more efficiently with programmers of all experience levels in a work-based environment; the core concepts related to the object-oriented programming (OOP); and how to set up your programming environments for Windows, MacOS, and Linux. Who this book is for: those looking to discover programming, including beginners in all fields, and professionals looking to understand how basic coding processes work Explore the basics of the three most popular programming languages: C#, Java, and Python and see what it's like to function in today's world from the perspective of a programmer. This book's uses is highly practical approach with numerous code listings aimed at bringing generations together through the intricacies of technology. You'll learn how understanding the basics of coding benefits non-programmers working with software developers. Those in the gaming/media industry will also benefit from understanding a programmer's point of view. The same applies to software testers and even company executives, who might have an education in business instead of computer science. What You'll Learn Think and read code-listings like a programmer Gain a basic working proficiency in three popular programming languages Communicate more efficiently with programmers of all experience levels in a work-based environment Review advanced OOP concepts such as exceptions and error handling Set up your programming environments for Windows, MacOS, and Linux Who This Book Is For Those looking to discover programming, including beginners in all fields, and professionals looking to understand how code works.
دانلود کتاب Programming Basics: Getting Started with Java, C#, and Python 1st ed. Edition