Home Page Icon
Home Page
Table of Contents for
Part I: Start Programming Today
Close
Part I: Start Programming Today
by Dean Miller, Greg Perry
Sams Teach Yourself Beginning Programming in 24 Hours, 4th Edition
Cover Page
About This E-Book
Title Page
Copyright Page
Contents at a Glance
Table of Contents
About the Author
Dedication
Acknowledgments
We Want to Hear from You
Register Your Book
Introduction
Who Should Use This Book?
What This Book Will Do for You
Can This Book Really Teach Programming in 24 Hours?
Conventions Used in This Book
Part I: Start Programming Today
Hour 1. Hands-On Programming
Get Ready to Program
What a Computer Program Does
Common Programming Misconceptions
Many Programs Already Exist
Programmers Are in Demand
The Real Value of Programs
Users Generally Don’t Own Programs
Giving Computers Programs
Your First Program
Clarifying Comments
Entering Your Own Program
Summary
Q&A
Workshop
Hour 2. Process and Techniques
Understanding the Need for Programs
Programs, Programs Everywhere
Programs as Directions
Summary
Q&A
Workshop
Hour 3. Designing a Program
The Need for Design
User–Programmer Agreement
Steps to Design
Summary
Q&A
Workshop
Hour 4. Getting Input and Displaying Output
Printing to the Screen with Python
Storing Data
Assigning Values
Getting Keyboard Data with input()
Summary
Q&A
Workshop
Hour 5. Data Processing with Numbers and Words
Strings Revisited
Performing Math with Python
How Computers Really Do Math
Using Unicode Characters
Overview of Functions
Summary
Q&A
Workshop
Part II: Programming Fundamentals
Hour 6. Controlling Your Programs
Comparing Data with if
Writing the Relational Test
Looping Statements
Summary
Q&A
Workshop
Hour 7. Debugging Tools
The First Bug
Accuracy Is Everything
Write Clear Programs
Additional Debugging Techniques
Summary
Q&A
Workshop
Hour 8. Structured Techniques
Structured Programming
Packaging Your Python Code into Functions
Testing the Program
Profiling Code
Getting Back to Programming
Summary
Q&A
Workshop
Hour 9. Programming Algorithms
Counters and Accumulators
Python Lists
Accumulators for Total
Swapping Values
Sorting
Searching Lists
Taking Functions Further
Nested Loops
Summary
Q&A
Workshop
Part III: Java and Object-Oriented Programming
Hour 10. Programming with Java
Introducing Java
Java Provides Executable Content
Seamless Execution
Multi-Platform Executable Content
Java Usage Summary
Start with Standalone Java
Java’s Interface
Security Issues
Java as a Game-Development Language
Java Language Specifics
Get Ready to Begin
Summary
Q&A
Workshop
Hour 11. Java’s Details
Defining Java Data
Operators
Programming Control
From Details to High Level
Summary
Q&A
Workshop
Hour 12. Java Has Class
Using NetBeans to Run a Java Program
Going GUI
Java and OOP
Overview of Classes
Do You Understand OOP?
Methods Do the Work in Classes
Summary
Q&A
Workshop
Part IV: Web Development with HTML and JavaScript
Hour 13. HTML5 and CSS3
HTML Programming
A Simpler Example
A Quick HTML Primer
Using CSS to Control How Your Text Looks
Including Graphics in a Website with HTML
Summary
Q&A
Workshop
Hour 14. JavaScript
Getting Started with JavaScript
Using Comments in JavaScript
Entering Your First JavaScript Program
Printing to the Screen with JavaScript
Variables in JavaScript
Getting Keyboard Data with prompt
Comparing Data with if
Looping Statements
Summary
Q&A
Workshop
Hour 15. Having Fun with JavaScript
Rotating Images on a Page
Capturing the Position of the Mouse
Adding a Repeating News Ticker to Your Website
Summary
Q&A
Workshop
Hour 16. JavaScript and AJAX
Introducing AJAX
Using XMLHttpRequest
Creating a Simple AJAX Library
Creating an AJAX Quiz Using the Library
Summary
Q&A
Workshop
Part V: Other Programming Languages
Hour 17. SQL
Relational Databases
Basic SQL Queries
Retrieving Records from a Database
Inserting and Updating Database Records
Deleting Records from a Database
Adding, Deleting, or Modifying the Fields in an Existing Table
Summary
Q&A
Workshop
Hour 18. Scripting with PHP
What You Need for PHP Programming
Basic Structures in PHP Scripts
Looping
The Building Blocks of PHP: Variables, Data Types, and Operators
Using and Creating Functions in PHP
Working with Objects in PHP
Common Uses of PHP
Summary
Q&A
Workshop
Hour 19. Programming with C and C++
Introducing C
What You Need for C and C++ Programming
Looking at C
C Data
C Functions
C Operators
C Control Statements Mimic Python
Learning C++
Object Terminology
Fundamental Differences Between C and C++
Introducing C++ Objects
Things to Come
Summary
Q&A
Workshop
Hour 20. Programming with Visual Basic 2019
Reviewing the Visual Basic Screen
Creating a Simple Application from Scratch
Other Visual Basic Programming Considerations
Your Next Step
Summary
Q&A
Workshop
Hour 21. C# and the .NET Core
Understanding the Purpose of .NET
The Common Language Runtime
The Framework Class Library
Parallel Computing Platform
Dynamic Language Runtime
The C# Language
Summary
Q&A
Workshop
Part VI: The Business of Programming
Hour 22. How Companies Program
Data Processing and Information Technology Departments
Computer-Related Jobs
Job Titles
Structured Walkthroughs
Putting a Program into Production
Consulting
Summary
Q&A
Workshop
Hour 23. Distributing Applications
Issues Surrounding Software Distribution
Using Version Control
Summary
Q&A
Workshop
Hour 24. The Future of Programming
Some Helpful Tools
Will Programming Go Away?
Your Ongoing Training Needs
Summary
Q&A
Workshop
Appendix A. Installing Python
Downloading Python from the Python Software Foundation
Installing Anaconda
Other Python Environments
Index
Appendix B. Using the NetBeans Integrated Development Environment
Installing NetBeans
Creating a New Project
Creating a New Java Class
Running the Application
Fixing Errors
Appendix C. Glossary
Code Snippets
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Introduction
Next
Next Chapter
Hour 1. Hands-On Programming
Part I
Start Programming Today
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset