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.
Table of Contents
Introduction.
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 Revisite.
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. 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.
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. Index.