Home > Store

Sams Teach Yourself Beginning Programming in 24 Hours, 2nd Edition

Register your product to gain access to bonus material or receive a coupon.

Sams Teach Yourself Beginning Programming in 24 Hours, 2nd Edition


  • Sorry, this book is no longer in print.
Not for Sale


  • Copyright 2002
  • Edition: 2nd
  • Book
  • ISBN-10: 0-672-32307-9
  • ISBN-13: 978-0-672-32307-2

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.

Sample Content

Online Sample Chapter

Beginning Programming: Designing a Program

Table of Contents

(NOTE: Each chapter concludes with a Summary, Q&A, and Workshop.)



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.


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.


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.


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.

HTML Programming. A Simpler Example. A Quick HTML Primer. Simple HTML Graphics.

Hour 19. Scripting with JavaScript.

JavaScript's Actions. Reviewing JavaScript's Objects. JavaScript's Events and Handlers. JavaScript's Language Is Complete.

Hour 20. Dynamic HTML and XML.

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.


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.


Appendix A. Glossary.
Appendix B. Quiz Answers.
Appendix C. ASCII Table.


Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership