Synopses & Reviews
Sams Teach Yourself Beginning Programming in 24 Hours, Second Edition explains the basics of programming in the successful 24-Hours format. The book begins with the absolute basics of programming: Why program? What tools to use? How does a program tell the computer what to do? It teaches readers how to program the computer and then moves on by exploring the some most popular programming languages in use. The author starts by introducing the reader to the Basic language and finishes with basic programming techniques for Java, C++, and others.
An introduction of the basics of programming, designed for those new to the subject. It presents core programming concepts in the BASIC language and then extends those concepts to other languages. The accompanying CD includes all the tools that the reader needs to get started.
About the Author
Greg Perry is a speaker and writer on both the programming and the application sides of computing. He is known for his skills at bringing advanced computer topics down to the novice's level. Perry has been a programmer and trainer since the early 1980s. He received his first degree in computer science and a master's degree in corporate finance. Perry's books have sold more than 2 million copies worldwide. He has authored bestselling books that include Sams Teach Yourself Office XP in 24 Hours, Absolute Beginner's Guide to C, Teach Yourself Visual Basic 6 in 21 Days, and Sams Teach Yourself Windows XP in 24 Hours. He has written about rental-property management and loves to travel. His favorite place to be when away from home is either at New York's Patsy's or in Italy because he wants to practice his fractured, broken Italian (if a foreign language were as easy as a computer language, he'd be fluent by now).
Table of Contents
(NOTE: Each chapter concludes with a Summary, Q&A, and Workshop.
I. START PROGRAMMING TODAY. Hour 1. Hands-on Programming with Liberty BASIC.
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. Remarkable Remarks. Loading a Sample Program. Entering Your Own Program. Hour 2. Process and Techniques,
Understanding the Need for Programs. .Programs, Programs, Everywhere. Programs as Directions. Hour 3. Designing a Program.
The Need for Design. User-Programmer Agreement. Steps to Design. Hour 4. Getting Input and Displaying Output.
The Print Statement. Clearing the Output Window. Advanced Printing. Storing Data. Assigning Values. Getting Keyboard Data with Input. Printing to Your Printer. Hour 5. Data Processing with Numbers and Words.
Strings Revisited. Performing Math with Liberty BASIC. How Computers Really Do Math. Using the ASCII Table. Overview of Functions. Hour 6. Controlling Your Programs.
Comparing Data with If. Writing the Relational Test. Looping Statements. Hour 7. Debugging Tools.
The First Bug. Accuracy Is Everything. Write Clear Programs. Practice Debugging with Liberty BASIC. Liberty BASIC's Error Log. Debugging with Liberty BASIC. Advanced Debugging Tools.
II. PROGRAMMING FUNDAMENTALS. Hour 8. Structured Techniques.
Structured Programming. Testing the Program. Profiling Code. Getting Back to Programming. Hour 9. Programming Algorithms.
Counters and Accumulators. Array Variables. Accumulators for Total. Swapping Values. Sorting. Searching Arrays. Subroutines. Nested Loops. Hour 10. Having Fun with Liberty BASIC.
Introduction to Graphics. Coloring Windows. Erasing the Graphics Window. Putting Down the Pen. Drawing Boxes. Drawing Lines. Drawing Circles and Ellipses. Placing Bitmaps on your Output. Sprite Animation. Hour 11. Advanced Programming Issues.
Working with Windows. Adding Controls to Your Windows.
III. STEPPING UP TO JAVA. Hour 12. Programming with Java.
Introducing Java. Java Provides Executable Content. Seamless Execution. Multi-Platform Executable Content. Java Usage Summary. You'll Start with Standalone Java. Java's Interface. Security Issues. Give Java a Spin. Java Language Specifics. Get Ready to Begin. Hour 13. Java's Details.
Defining Java Data. Operators. Programming Control. From Details to High-Level. Hour 14. Java Has Class.
Using Forte to Run Java Programs. Going GUI. Java and OOP. Overview of Classes. Do You Understand OOP? Methods Do the Work in Classes. Hour 15. Applets and Web Pages.
About Writing Java Applets. Creating a Java Applet. Placing the Applet Inside the Web Page. Viewing the Applet Inside the Web Page.
IV. OTHER PROGRAMMING LANGUAGES. Hour 16. Programming with Visual Basic.
Reviewing the Visual Basic Screen. The Visual Basic Programming Wizard. Creating a Simple Application from Scratch. Other Visual Basic Programming Considerations. Your Next Step. Hour 17. Programming with C and C++.
Introducing C. What You Need for C and C++ Programming. Looking at C. C Data. Declaring Variables. C Functions. C Operators. C Control Statements Mimic Java's. Learning C++. Object Terminology. Fundamental Differences Between C and C++. Introducing C++ Objects. Things to Come. Hour 18. Web Pages with HTML.
DHTML Complements HTML Code. Looking at a DHTML-Based Page. The Technology Behind DHTML. The Rollover Effect. XML and Its Impact. Multiple Platforms. A Complete XML Example. Hour 21. .NET—The Future of Online Programming.
Understand What .NET Is. The .NET Approach. .NET's Operating Environment. ASP.NET is a Better ASP. .NET's Framework Ties It All Together.
V. THE BUSINESS OF PROGRAMMING. Hour 22. How Companies Program.
Data Processing and Other Departments. Computer Jobs. Job Titles. Structured Walkthroughs. Putting a Program into Production. Consulting. Hour 23. Distributing Applications.
Issues Surrounding Software Distribution. Windows Application Distribution. Your First Step: Compilation. Deploying Your Application. After Generating the Setup. Uninstalling the Application. Hour 24. The Future of Programming.
Some Helpful Tools. Will Programming Go Away? Your Training Needs.
VI. APPENDIXES. Appendix A. Glossary.
Appendix B. Quiz Answers.
Appendix C. ASCII Table.